/* Report page specific styles */
.report-header {
    background: linear-gradient(135deg, #87ceeb 0%, #ffffff 50%, #87ceeb 100%);
    padding: 120px 0 80px;
    text-align: center;
}

.report-header h1 {
    font-size: 3rem;
    color: #1976d2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.report-header p {
    font-size: 1.3rem;
    color: #666;
}

.report-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.report-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

/* Report Info */
.report-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.report-info h2 {
    color: #1976d2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.8rem;
}

.report-info > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateX(-5px);
}

.info-card i {
    font-size: 2rem;
    color: #1976d2;
    width: 40px;
    text-align: center;
}

.info-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.contact-info h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    color: #1976d2;
    margin-left: 1rem;
    font-size: 1.2rem;
    width: 20px;
}

.report-info .social-links {
    margin-top: 1.5rem;
}

.report-info .social-links a {
    display: inline-block;
    background: #1976d2;
    color: white;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    margin-left: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.report-info .social-links a:hover {
    transform: translateY(-3px);
    background: #1565c0;
}

/* Report Form */
.report-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.report-form h3 {
    color: #1976d2;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.required {
    color: #f44336;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.help-text {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.file-upload:hover {
    border-color: #1976d2;
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    padding: 0;
}

.file-upload-label {
    cursor: pointer;
    color: #666;
    font-weight: 500;
}

.file-upload-label i {
    font-size: 2rem;
    color: #1976d2;
    margin-bottom: 1rem;
    display: block;
}

.image-preview {
    margin-top: 1rem;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.6;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #1976d2;
    border-color: #1976d2;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #1976d2;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(25, 118, 210, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    position: relative;
}

.modal-header i {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.modal-header h3 {
    color: #333;
    margin: 0;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.modal-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body h4 {
    color: #333;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.modal-body ul {
    text-align: right;
    color: #666;
    line-height: 1.8;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

/* Active nav link */
.nav-link.active {
    color: #1976d2;
    background: rgba(25, 118, 210, 0.1);
}

/* Form validation */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #f44336;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: #4caf50;
}

/* Loading state */
.btn-submit.loading {
    pointer-events: none;
}

.btn-submit.loading::after {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .report-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .report-header h1 {
        font-size: 2rem;
    }
    
    .report-header p {
        font-size: 1.1rem;
    }
    
    .report-info,
    .report-form {
        padding: 2rem;
    }
    
    .info-cards {
        gap: 1rem;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .info-card i {
        margin-bottom: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .report-header {
        padding: 100px 0 60px;
    }
    
    .report-form-section {
        padding: 60px 0;
    }
    
    .report-info,
    .report-form {
        padding: 1.5rem;
    }
    
    .file-upload {
        padding: 1.5rem;
    }
    
    .btn-submit {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
}
