/* Citizen Specific Styles */
.report-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.reports-list {
    display: grid;
    gap: 1rem;
}

.report-item {
    background: var(--white);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.report-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

/* New Report Form Styles */
.report-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
}

.header-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(13, 143, 114, 0.15);
}

.welcome-badge {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.title-area h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-card .user-name {
    font-weight: 600;
}

.user-card .user-role {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.form-header {
    padding: 2rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.form-header h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-header h2 i {
    color: var(--secondary);
}

.form-header p {
    color: var(--gray);
}

.form-body {
    padding: 2.5rem;
}

.row-2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fcfcfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
}

.error-message {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.upload-text {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--gray);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.image-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Button Group */
.button-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.25rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 143, 114, 0.2);
}

.btn-clear {
    background: var(--light);
    color: var(--gray);
    border: 2px solid var(--border);
    padding: 1.25rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-clear:hover {
    background: #eee;
    color: var(--dark);
}

/* Responsive */
@media (max-width: 768px) {
    .row-2cols {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        grid-template-columns: 1fr;
    }
    
    .header-section {
        padding: 1.5rem;
    }
    
    .welcome-badge {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Report Card Styles for attractive design */
.report-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.report-thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    background: #f0f0f0;
    flex-shrink: 0;
}

.report-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 2rem;
    flex-shrink: 0;
}

.report-content {
    flex-grow: 1;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.report-id {
    font-family: inherit;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

.report-location {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.report-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.report-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.report-points {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #FFF9E6;
    color: #D97706;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #FEF3C7;
}

.report-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Priority status overrides for badges */
.status-badge.status-verified { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.status-badge.priority-high { background: #fee2e2; color: #ef4444; }
.status-badge.priority-medium { background: #fef3c7; color: #d97706; }
.status-badge.priority-low { background: #d1fae5; color: #10b981; }
.status-badge.priority-urgent { background: #7f1d1d; color: #ffffff; }

@media (max-width: 576px) {
    .report-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .report-thumb, .report-placeholder {
        width: 100%;
        height: 150px;
    }
    
    .report-points {
        position: static;
        margin-top: 1rem;
        width: fit-content;
    }
}
