
/* ============================================
   CHECK STATUS PAGE - REDESIGNED
   Modern & Classic Design
   Colors: Gold #D2AE6D, Navy Blue #004790
   Fonts: Toroka Wide (headings), Toroka Normal (body)
============================================ */

:root {
    --gold: #D2AE6D;
    --navy: #004790;
    --navy-dark: #003366;
    --navy-light: #2A6BB0;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    
    --heading-font: 'Toroka Wide', serif;
    --body-font: 'Toroka Normal', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --shadow-gold: 0 4px 20px rgba(210, 174, 109, 0.3);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Status Colors */
    --status-pending: #F59E0B;
    --status-under-review: #3B82F6;
    --status-approved: #10B981;
    --status-rejected: #EF4444;
    --status-on-hold: #6B7280;
}

/* Hero Section */
.status-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.status-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--navy-light), var(--gold));
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(210, 174, 109, 0.15);
    color: var(--gold);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(210, 174, 109, 0.3);
}

.hero-badge svg {
    width: 20px;
    height: 20px;
}

.status-hero h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white), rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Messages */
.message-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.message-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid;
    font-family: var(--body-font);
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--status-rejected);
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--status-approved);
}

.warning-message {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--status-pending);
}

/* Status Form */
.status-form-section {
    padding: 6rem 0;
    background: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--off-white);
    border-radius: var(--radius-xl);
    padding: 4rem;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.form-header h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--medium-gray);
    font-size: 1.125rem;
    line-height: 1.6;
}

.status-form {
    margin-top: 2rem;
}

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

.form-label {
    display: block;
    font-family: var(--body-font);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--dark-gray);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(210, 174, 109, 0.1);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--gold) 0%, #C19A5B 100%);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: var(--radius-md);
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.submit-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.form-note {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-top: 1rem;
    text-align: center;
}

/* Status Results */
.status-results {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.results-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 4rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.status-header h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--status-pending);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.under-review {
    background: rgba(59, 130, 246, 0.1);
    color: var(--status-under-review);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.approved {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-approved);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: var(--status-rejected);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.on-hold {
    background: rgba(107, 114, 128, 0.1);
    color: var(--status-on-hold);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 3rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--navy));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.timeline-date {
    font-family: var(--body-font);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.timeline-content {
    color: var(--medium-gray);
    line-height: 1.6;
}

/* Status Message */
.status-message {
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    text-align: center;
    border: 1px solid;
}

.status-message.pending {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--status-pending);
}

.status-message.under-review {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--status-under-review);
}

.status-message.approved {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--status-approved);
}

.status-message.rejected {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--status-rejected);
}

.status-message.on-hold {
    background: rgba(107, 114, 128, 0.05);
    border-color: rgba(107, 114, 128, 0.2);
    color: var(--status-on-hold);
}

.status-message p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

/* Applicant Info */
.applicant-info {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border: 1px solid var(--light-gray);
}

.applicant-info h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-family: var(--body-font);
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-family: var(--body-font);
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
}

/* Details Cards */
.details-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
    border-left: 4px solid;
}

.approved-details {
    background: rgba(16, 185, 129, 0.05);
    border-left-color: var(--status-approved);
}

.reviewer-notes {
    background: rgba(210, 174, 109, 0.05);
    border-left-color: var(--gold);
}

.details-card h3 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.details-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* Action Buttons */
.actions-panel {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    flex: 1;
    min-width: 200px;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #C19A5B 100%);
    color: var(--white);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-emerald {
    background: linear-gradient(135deg, var(--status-approved) 0%, #0D966B 100%);
    color: var(--white);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.action-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Status Definitions */
.status-definitions {
    padding: 6rem 0;
    background: var(--white);
}

.definitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.definition-card {
    background: var(--off-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.definition-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.definition-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.definition-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.definition-icon.pending {
    background: linear-gradient(135deg, var(--status-pending) 0%, #D97706 100%);
}

.definition-icon.under-review {
    background: linear-gradient(135deg, var(--status-under-review) 0%, #2563EB 100%);
}

.definition-icon.approved {
    background: linear-gradient(135deg, var(--status-approved) 0%, #059669 100%);
}

.definition-icon.rejected {
    background: linear-gradient(135deg, var(--status-rejected) 0%, #DC2626 100%);
}

.definition-icon.on-hold {
    background: linear-gradient(135deg, var(--status-on-hold) 0%, #4B5563 100%);
}

.definition-header h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 0;
}

.definition-content {
    color: var(--medium-gray);
    line-height: 1.6;
}

.definition-content ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.definition-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Application Journey */
.journey-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
}

.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--navy-light));
    transform: translateX(-50%);
    border-radius: 2px;
}

.journey-step {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding: 2rem;
}

.journey-step:nth-child(odd) {
    margin-left: auto;
    text-align: left;
}

.journey-step:nth-child(even) {
    margin-right: auto;
    text-align: right;
}

.step-marker {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.journey-step:nth-child(odd) .step-marker {
    left: -30px;
}

.journey-step:nth-child(even) .step-marker {
    right: -30px;
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.step-content h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: var(--heading-font);
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Help Section */
.help-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
}

.help-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-lg);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

.help-card h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--medium-gray);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .status-hero h1 {
        font-size: 3rem;
    }
    
    .journey-timeline {
        padding: 0 1rem;
    }
    
    .journey-step:nth-child(odd) .step-marker {
        left: -25px;
    }
    
    .journey-step:nth-child(even) .step-marker {
        right: -25px;
    }
}

@media (max-width: 768px) {
    .status-hero {
        padding: 6rem 0 4rem;
    }
    
    .status-hero h1 {
        font-size: 2.5rem;
    }
    
    .form-container,
    .results-container {
        padding: 3rem 2rem;
    }
    
    .status-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .journey-timeline::before {
        left: 0;
    }
    
    .journey-step {
        width: 100%;
        margin-left: 0 !important;
        text-align: left !important;
        padding-left: 3rem;
    }
    
    .journey-step:nth-child(odd) .step-marker,
    .journey-step:nth-child(even) .step-marker {
        left: -15px;
        right: auto;
    }
    
    .actions-panel {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .help-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .status-hero h1 {
        font-size: 2rem;
    }
    
    .form-container,
    .results-container {
        padding: 2rem 1.5rem;
    }
    
    .form-header h2,
    .status-header h2 {
        font-size: 2rem;
    }
    
    .definitions-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


/* ────────────────────────────────────────────────
   FIX: Header covering messages – tune ONLY these values
──────────────────────────────────────────────── */
.page-status.has-top-message {
    padding-top: 80px !important;     /* Desktop – safe starting point for most 2025/26 designs */
}

@media (max-width: 992px) {
    .page-status.has-top-message {
        padding-top: 60px !important;
    }
}

@media (max-width: 768px) {
    .page-status.has-top-message {
        padding-top: 40px !important;     /* Mobile – collapsed header usually fits here */
    }
}

/* Optional: extra safety if header has thick shadow or announcement bar */
.page-status.has-top-message .message-container:first-child {
    margin-top: 1.0rem;   /* breathing room above first message */
}


/* 2026 dedicated status composition */
.page-status{--status-ink:#082a47;--status-blue:#004790;--status-deep:#03223e;--status-gold:#d2ae6d;--status-paper:#f4f1e8;--status-line:#d5dfe5;color:#465d70;background:var(--status-paper)}.page-status .status-hero{padding:calc(var(--fog-header-h,76px) + 80px) 0 115px;text-align:left;background:var(--status-deep)}.page-status .status-hero .hero-content{max-width:820px;margin:0;text-align:left}.page-status .hero-badge{padding:0;color:#efd58b;background:none;border:0;letter-spacing:.14em}.page-status .status-hero h1{margin:22px 0;color:#fff;background:none;-webkit-text-fill-color:currentColor;font-size:clamp(3.2rem,6.6vw,6.2rem);letter-spacing:-.055em;line-height:.94}.page-status .hero-subtitle{max-width:670px;margin:0;color:#c5d4df}.page-status .status-form-section{padding:0 0 95px}.page-status .form-container{position:relative;z-index:2;max-width:900px;margin:-55px auto 0;padding:clamp(28px,5vw,50px);border:1px solid #d8d1c4;border-radius:0;background:#fff;box-shadow:0 25px 70px rgba(8,42,71,.1)}.page-status .form-header{text-align:left}.page-status .form-icon{color:var(--status-deep);background:var(--status-gold)}.page-status .status-form{max-width:none}.page-status .input-wrapper{display:grid;grid-template-columns:1fr auto;gap:9px}.page-status .form-input{border-radius:3px}.page-status .submit-btn{margin:0;border-radius:3px;color:#fff;background:var(--status-blue)}.page-status .status-results{padding:95px 0}.page-status .results-container{border-radius:0;box-shadow:none;border:1px solid var(--status-line)}.page-status .status-definitions{padding:100px 0;background:#fff}.page-status .definitions-grid{grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--status-line);border-left:1px solid var(--status-line)}.page-status .definition-card{padding:27px;border:0;border-right:1px solid var(--status-line);border-bottom:1px solid var(--status-line);border-radius:0;box-shadow:none}.page-status .definition-icon .fog-i{width:22px}.page-status .journey-section{padding:100px 0;background:var(--status-deep)}.page-status .journey-section .section-title{color:#fff}.page-status .journey-section .section-subtitle{color:#bdced9}.page-status .help-card{border-radius:0}.page-status :focus-visible{outline:3px solid var(--status-gold);outline-offset:3px}@media(max-width:900px){.page-status .definitions-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.page-status .status-hero{padding:calc(var(--fog-header-h,66px) + 52px) 0 95px}.page-status .status-hero h1{font-size:clamp(2.7rem,13vw,4.2rem)}.page-status .form-container{margin:-40px 14px 0}.page-status .input-wrapper,.page-status .definitions-grid{grid-template-columns:1fr}}
