/* ===================================================
   Official Visa Application Tracking System Stylesheet
   Faithfully matching the demo website inspection
=================================================== */

:root {
    --ref-bg: #f1f5eb;
    --krsp-bg-color: #f8fbf5;
    --krsp-primary: #0a58ca;
    --krsp-primary-dark: #003fa3;
    --krsp-text-dark: #212529;
    --krsp-text-hover: #0052cc;
    --krsp-brand: #003366;
    --krsp-white: #ffffff;
    --krsp-secondary: #15b6e5;
    --ref-blue-line: #0d6efd;
    --ref-btn-blue: #8ba6d6;
    --ref-btn-blue-hover: #7696cc;
    --ref-border: #dee2e6;
    --ref-footer-bg: #38454c;
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f1f5eb !important;
    font-family: var(--font-primary) !important;
    color: var(--krsp-text-dark);
    margin: 0 auto;
    overflow-x: hidden;
}

#root {
    width: 100%;
    background-color: #f1f5eb;
}

.visa-app {
    padding-bottom: 30px;
}

/* ===================================================
   Top Panoramic Hero Banner (Matching inspected .banner)
=================================================== */
section.banner {
    height: 150px;
    min-height: 150px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(18, 22, 28, 0.95) 0%, rgba(18, 22, 28, 0.84) 26%, rgba(18, 22, 28, 0.3) 60%, rgba(18, 22, 28, 0.05) 100%);
    pointer-events: none;
}

section.banner .container,
section.banner .container-xl {
    position: relative;
    z-index: 2;
    width: 80% !important;
    max-width: 1400px !important;
    padding-left: 0;
    padding-right: 0;
}

section.banner h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Container Width Matching Inspected .w-80 */
.w-80 {
    width: 80% !important;
    max-width: 1400px !important;
}

@media (max-width: 1200px) {
    .w-80,
    section.banner .container,
    section.banner .container-xl {
        width: 90% !important;
    }
}

@media (max-width: 768px) {
    .w-80,
    section.banner .container,
    section.banner .container-xl {
        width: 95% !important;
        padding-left: 12px;
        padding-right: 12px;
    }
    section.banner {
        height: 130px;
        min-height: 130px;
    }
    section.banner h2 {
        font-size: 22px;
        margin-bottom: 4px;
    }
    .panel {
        border-radius: 10px !important;
    }
    .panel.p-4 {
        padding: 16px !important;
    }
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================
   Breadcrumbs
=================================================== */
.small.text-muted {
    font-size: 14px;
    color: rgba(33, 37, 41, 0.75) !important;
}

/* ===================================================
   Form Panel & Card (Matching inspected .panel)
=================================================== */
.panel {
    background: #ffffff;
    border-radius: 1rem !important; /* rounded-4 */
    box-shadow: none !important;
    border: 1px solid #e7ecef;
}

.panel-head1 {
    border-bottom: 1px solid #0d6efd;
    padding-bottom: 12px;
    margin-bottom: 0px;
}

.panel-head1 h6 {
    font-size: 16px;
    font-weight: 700;
    line-height: 19.2px;
    color: #0e3eb7;
    margin-bottom: 0px;
}

.panel-head1 .text-muted {
    font-size: 14px;
    font-weight: 500;
    color: rgba(33, 37, 41, 0.75) !important;
    margin-bottom: 8px;
}

.form-label5 {
    font-size: 14px;
    font-weight: 400;
    color: #444444;
    margin-bottom: 0px;
    display: block;
}

.visa-app .form-control,
.form-control,
.form-control.uniform-input {
    font-size: 12px;
    padding: 6px 12px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    color: #212529;
    background-color: #ffffff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control::placeholder {
    color: #6c757d;
    font-size: 12px;
}

.form-control:focus,
.form-control.uniform-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    outline: none;
}

/* Submit Proceed Button (Matching inspected .submit-btn) */
.submit-btn {
    background-color: var(--krsp-primary-dark, #003fa3) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    border: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.submit-btn:hover:not(:disabled) {
    background-color: var(--krsp-text-hover, #0052cc) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 63, 163, 0.25);
}

.submit-btn:disabled,
.submit-btn.disabled,
.submit-btn[disabled] {
    background-color: #8ba6d6 !important;
    color: #e0e6f5 !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* Clear / Back button (matching reference .back-btn) */
.visa-app .back-btn {
    border: 1px solid #094cae !important;
    color: #094cae !important;
    background-color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.18s ease;
}

.visa-app .back-btn:hover {
    background-color: #eef2ff !important;
    border-color: #1a56db !important;
    color: #1a56db !important;
}

/* ===================================================
   Appointment Result Card (Matching reference .appointment-card1)
=================================================== */
.appointment-card1 {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

/* Appointment Table (Matching reference .appointment-table) */
.appointment-table thead.table-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e9ef;
}

.appointment-table thead th {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 12px;
    color: #3a3541;
    border: none;
}

.appointment-table tbody td {
    vertical-align: middle;
    padding: 14px 20px;
    border: none;
}

/* Shaded row (reference .appointment-row) */
.appointment-row {
    border-radius: 4px;
    background-color: #f2f2f2 !important;
}

/* Status text inside table (reference .ref-top) */
.ref-top {
    color: #111827;
    font-size: 12px;
    letter-spacing: 0.2px;
}

/* Error / support notice (reference .errormess) */
.errormess {
    font-size: 12px;
    color: #6c757d;
}

.errormess .text-danger {
    color: #dc2626 !important;
    font-size: 12px;
}

/* ===================================================
   Language Switcher (Exact CSS from inspected code)
=================================================== */
.lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    z-index: 9999;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    white-space: nowrap;
    user-select: none;
}

.lang-switcher-btn:hover {
    border-color: #c7d2fe;
    background: #f8faff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}

.lang-switcher-btn .lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-switcher-btn .lang-code {
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.lang-switcher-btn .lang-chevron {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.lang-switcher-btn.open .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 160px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    animation: langDropIn 0.15s ease;
    z-index: 9999;
}

@keyframes langDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    transition: background 0.12s ease;
}

.lang-option:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.lang-option.active {
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
}

.lang-option .opt-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-option .opt-label {
    flex: 1;
}

.lang-option .opt-check {
    color: #6366f1;
    font-size: 14px;
}

/* ===================================================
   Footer (Matching inspected .footer-wrap)
=================================================== */
.footer-wrap {
    background: #38454c;
    color: #e9eef2;
    position: relative;
    overflow: hidden;
}

.footer-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/footerImg-1YTrIDbe.png') center/contain no-repeat;
    pointer-events: none;
}

.footer-wrap .container-xl {
    position: relative;
    z-index: 1;
}

.text-muted-60 {
    color: #e9eef299 !important;
    font-size: 0.875rem;
}

.footer-link {
    color: #e9eef2e6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.18s ease;
}

.footer-link.muted {
    color: #e9eef2b3;
}

.footer-link:hover,
.footer-link.muted:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .footer-wrap {
        text-align: center;
    }
    .footer-wrap .text-muted-60 {
        margin-bottom: 2px;
    }
    .footer-wrap .small.d-flex.flex-wrap {
        justify-content: center !important;
        gap: 12px 18px !important;
    }
}

@media (max-width: 576px) {
    .footer-wrap {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
    .footer-wrap .small.d-flex.flex-wrap {
        font-size: 12px;
        gap: 8px 14px !important;
    }
    .footer-wrap .text-muted-60 {
        font-size: 12px;
    }
    .footer-wrap .footer-link {
        font-size: 12px;
    }
}

/* ===================================================
   Result Display Cards
=================================================== */
.result-container {
    animation: fadeIn 0.35s ease-out;
    margin-bottom: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.details-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.details-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 20px;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.88rem;
}

.details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.details-row:last-child {
    border-bottom: none;
}

.details-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

.details-value {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}

.status-display-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 24px;
}

.status-badge-lg {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
}

/* Soft Badges */
.badge-soft-primary {
    background-color: #eff6ff !important;
    color: #1e40af !important;
    border: 1px solid #bfdbfe !important;
}
.badge-soft-success {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}
.badge-soft-warning {
    background-color: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}
.badge-soft-danger {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}
.badge-soft-info {
    background-color: #f0fdfa !important;
    color: #0f766e !important;
    border: 1px solid #99f6e4 !important;
}
.badge-soft-secondary {
    background-color: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

.status-message-box {
    background: #f8fafc;
    border-left: 3px solid var(--ref-primary-blue);
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin: 16px 0;
    font-size: 0.88rem;
    color: #1e293b;
    line-height: 1.6;
}

/* Stepper */
.tracker-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 24px 10px 10px;
}

.tracker-stepper::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.tracker-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.tracker-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.tracker-step.active .step-circle {
    background: var(--ref-primary-blue);
    border-color: var(--ref-primary-blue);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.2);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.tracker-step.completed .step-label,
.tracker-step.active .step-label {
    color: #0f172a;
}

/* ===================================================
   COMPLETE WHITE-LABEL GOOGLE TRANSLATE SUPPRESSION
=================================================== */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-balloon-frame iframe,
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt,
.goog-text-highlight,
.goog-te-spinner-pos {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
}

#google_translate_element,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-gadget-icon,
.goog-te-combo,
.goog-logo-link {
    display: none !important;
    visibility: hidden !important;
}

.goog-logo-link,
.goog-te-gadget span,
.goog-te-gadget-simple img {
    display: none !important;
}

.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
iframe[id^=":"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Prevent Google Translate from shifting page */
body {
    top: 0px !important;
    transform: none !important;
}

html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ===================================================
   Policy & Legal Content Pages
=================================================== */
.policy-card-wrapper {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 35px;
}

.policy-card-header {
    background-color: #15b6e5;
    padding: 14px 24px;
    color: #ffffff;
}

.policy-header-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px 0;
    color: #ffffff;
}

.policy-header-subtitle {
    font-size: 13px;
    font-weight: 400;
    margin: 0;
    color: #ffffff;
    opacity: 0.95;
}

.policy-card-body {
    padding: 24px;
    background-color: #ffffff;
}

.policy-inner-box {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 26px 28px;
    background-color: #ffffff;
}

.policy-h1 {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-top: 24px;
    margin-bottom: 10px;
}

.policy-h1:first-child {
    margin-top: 0;
}

.policy-h2 {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 18px;
    margin-bottom: 8px;
}

.policy-p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 12px;
}

.policy-list {
    margin-bottom: 14px;
    padding-left: 24px;
}

.policy-list li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 6px;
}

.policy-list li strong {
    color: #1f2937;
}

.policy-link {
    color: #1a56db;
    text-decoration: underline;
    font-weight: 500;
}

.policy-link:hover {
    color: #1646b5;
}
