/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #3b4b58;  /* Solid background color */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== MAIN CARD ===== */
.whistleblower-card {
    background: white;  /* Card background is white, not dark */
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
}

/* ===== HEADER SECTION ===== */
.fairsure-header {
    background: white;
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.fairsure-logo-img {
    max-width: 280px;
    height: auto;
    margin-bottom: 0.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header-subtitle {
    color: #4a627a;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header-subtitle i {
    color: #dac7ae;
    margin-right: 0.5rem;
}

/* ===== PRIVACY SHIELD ===== */
.privacy-shield {
    background: #f0f7fa;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border-left: 6px solid #2c3a44;
    border-bottom: 1px solid #e2e8f0;
}

.shield-icon {
    background: #dac7ae;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #2c3a44;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.shield-text h2 {
    color: #2c3a44;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.shield-text h2 i {
    color: #dac7ae;
}

.shield-text p {
    color: #4a627a;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.highlight-list li {
    background: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3a44;
    border: 1px solid #dac7ae;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.highlight-list li i {
    color: #dac7ae;
}

/* ===== FORM AREA ===== */
.form-area, .success-area {
    padding: 2.5rem;
    background: white;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3a44;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-title i {
    color: #dac7ae;
    font-size: 2rem;
}

.subheading {
    color: #64748b;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
}

.subheading i {
    color: #dac7ae;
    margin-right: 0.5rem;
}

/* ===== FORM FIELDS ===== */
.form-row {
    margin-bottom: 1.8rem;
}

.form-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3a44;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-row label i {
    color: #dac7ae;
    width: 1.2rem;
}

.field-required {
    color: #dc2626;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: normal;
}

.field-optional {
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: normal;
    font-style: italic;
}

input, select, textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #ffffff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2c3a44;
    box-shadow: 0 0 0 3px rgba(218, 199, 174, 0.2);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.field-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field-note i {
    color: #dac7ae;
}

/* ===== FILE UPLOAD ===== */
.file-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    transition: all 0.2s;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #2c3a44;
    background: #f1f5f9;
}

.file-upload-area i {
    font-size: 2.5rem;
    color: #dac7ae;
    margin-bottom: 0.5rem;
}

.file-upload-area p {
    color: #2c3a44;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-info {
    color: #64748b;
    font-size: 0.8rem;
}

.file-name {
    margin-top: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #2c3a44;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#fileInput {
    display: none;
}

/* ===== CONSENT CHECKBOX ===== */
.consent-checkbox {
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #e2e8f0;
}

.consent-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.consent-checkbox label {
    font-size: 0.95rem;
    color: #2c3a44;
    line-height: 1.4;
}

/* ===== BUTTONS ===== */
.button-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-submit {
    background: #2c3a44;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.2s;
    border: 2px solid #dac7ae;
    flex: 1;
    min-width: 220px;
}

.btn-submit:hover {
    background: #1f2a32;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.btn-submit i {
    color: #dac7ae;
}

.btn-followup {
    background: #dac7ae;
    color: #2c3a44;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.2s;
    border: 2px solid #2c3a44;
    flex: 1;
    min-width: 220px;
    text-decoration: none;
}

.btn-followup:hover {
    background: #c9b69c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.btn-followup i {
    color: #2c3a44;
}

/* ===== SUCCESS AREA ===== */
.success-area {
    text-align: center;
    padding: 3rem 2.5rem;
}

.success-icon {
    font-size: 5rem;
    color: #2b6a4e;
    margin-bottom: 1rem;
}

.success-area h2 {
    color: #2c3a44;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-area p {
    color: #4a627a;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.reference-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid #dac7ae;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.reference-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reference-id {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3a44;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid #e2e8f0;
}

.btn-copy {
    background: white;
    border: 2px solid #2c3a44;
    color: #2c3a44;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.btn-copy:hover {
    background: #dac7ae;
    border-color: #dac7ae;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    border: 2px solid #2c3a44;
    color: #2c3a44;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #dac7ae;
    border-color: #dac7ae;
}

.warning-note {
    background: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

/* ===== FOOTER LINKS ===== */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 2rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.footer-links a {
    color: #4a627a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #2c3a44;
}

.footer-links i {
    color: #dac7ae;
    font-size: 0.9rem;
}

/* ===== LOADING STATE ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #dac7ae;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== BRAND STRIP ===== */
.brand-strip {
    background: linear-gradient(90deg, #2c3a44 0%, #1f2a32 100%);
    height: 4px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .privacy-shield {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .shield-text h2 {
        justify-content: center;
    }
    
    .highlight-list {
        justify-content: center;
    }
    
    .form-area, .success-area {
        padding: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn-submit, .btn-followup {
        width: 100%;
        min-width: auto;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .reference-id {
        font-size: 1.5rem;
        word-break: break-all;
    }
}

@media (max-width: 480px) {
    .form-title {
        font-size: 1.5rem;
    }
    
    .consent-checkbox {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-upload-area {
        padding: 1.5rem;
    }
}