/* Complaint Page Specific Styles */
.complaint-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.complaint-form-container {
    max-width: 1200px;
    margin: 0 auto;
}

.complaint-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
}

.complaint-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px;
    text-align: center;
}

.complaint-header h2 {
    margin: 0;
    font-weight: 700;
    font-size: 2.2rem;
}

.complaint-header i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.complaint-body {
    padding: 40px;
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.1);
    background: white;
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Captcha Styles */
.captcha-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px dashed #dee2e6;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-width: 120px;
    text-align: center;
    border: none !important;
}

#refreshCaptcha {
    border: 2px solid #6c757d;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

#refreshCaptcha:hover {
    background: #6c757d;
    color: white;
    transform: rotate(180deg);
}

/* Privacy Notice */
.privacy-notice {
    background: linear-gradient(135deg, #f8f9ff, #e3f2fd);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.privacy-notice i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(26, 35, 126, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Process Info */
.process-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.process-info h5 {
    color: #0c5460;
    font-weight: 700;
}

.process-info p {
    color: #0c5460;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Map Styles */
.map-container {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.map-responsive {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Validation Styles */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
}

.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.1) !important;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

/* Responsive Design for Complaint Page */
@media (max-width: 768px) {
    .complaint-body {
        padding: 25px;
    }
    
    .captcha-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .captcha-code {
        min-width: 100px;
        font-size: 1.2rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 15px 20px;
    }
    
    .map-responsive {
        height: 300px;
    }
    
    .map-responsive iframe {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .complaint-body {
        padding: 20px 15px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .captcha-code {
        font-size: 1.1rem;
        min-width: 90px;
    }
    
    .map-responsive {
        height: 250px;
    }
    
    .map-responsive iframe {
        height: 250px;
    }
    
    .privacy-notice {
        padding: 15px;
    }
}