/* ===================================================
   Official Visa Application Tracking System Stylesheet
   Faithfully inspired by the reference website design
=================================================== */

:root {
    --ref-bg: #eff2ec;
    --ref-primary-blue: #1a56db;
    --ref-blue-line: #2563eb;
    --ref-btn-blue: #8fa8d6;
    --ref-btn-blue-hover: #7696cc;
    --ref-text-dark: #1f2937;
    --ref-text-muted: #4b5563;
    --ref-border: #d1d5db;
    --ref-footer-bg: #2e353c;
    --ref-font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--ref-font);
    background-color: var(--ref-bg);
    color: var(--ref-text-dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===================================================
   Top Panoramic Hero Banner
=================================================== */
.ref-hero-banner {
    height: 165px;
    position: relative;
    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%),
                url('../images/header-banner.jpg') no-repeat right center / cover;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.ref-lang-btn {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 5px 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.ref-lang-btn:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
}

/* ===================================================
   Breadcrumbs
=================================================== */
.ref-breadcrumb-wrapper {
    padding: 20px 0 14px 0;
}

.ref-breadcrumb {
    font-size: 13px;
    color: #4b5563;
    font-weight: 400;
}

.ref-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 150px !important;
    padding-right: 150px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (max-width: 1400px) {
    .ref-container {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

@media (max-width: 992px) {
    .ref-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}

@media (max-width: 576px) {
    .ref-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ===================================================
   Main Form Card
=================================================== */
.ref-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 26px 32px 30px 32px;
    margin-bottom: 26px;
}

.ref-card-title {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--ref-primary-blue);
    margin-bottom: 4px;
    letter-spacing: -0.1px;
}

.ref-card-subtitle {
    font-size: 13.5px;
    color: var(--ref-text-muted);
    margin-bottom: 14px;
}

.ref-blue-divider {
    border-bottom: 2px solid var(--ref-blue-line);
    margin-bottom: 24px;
    width: 100%;
}

.ref-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}

.ref-input {
    font-size: 13.5px;
    padding: 9px 13px;
    border-radius: 6px;
    border: 1px solid var(--ref-border);
    color: #111827;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ref-input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.ref-input:focus {
    border-color: var(--ref-blue-line);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ref-btn-proceed {
    background-color: #1a56db !important;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 24px;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ref-btn-proceed:hover:not(:disabled) {
    background-color: #1646b5 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
}

.ref-btn-proceed:disabled,
.ref-btn-proceed.disabled {
    background-color: #8fa8d6 !important;
    color: #ffffff !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.ref-btn-clear {
    background-color: transparent;
    color: #6b7280;
    border-radius: 6px;
    font-size: 13px;
    padding: 8px 16px;
    border: 1px solid #e5e7eb;
}

.ref-btn-clear:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* ===================================================
   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: 10px;
    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: 12px 18px;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.88rem;
}

.details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    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: 10px;
    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;
}

/* ===================================================
   Footer
=================================================== */
.ref-footer {
    background-color: var(--ref-footer-bg);
    padding: 18px 0;
    color: #d1d5db;
    font-size: 13px;
    margin-top: auto;
}

.ref-copyright {
    color: #d1d5db;
    font-size: 13px;
}

.ref-footer-links a {
    color: #d1d5db;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.ref-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===================================================
   Language Dropdown Card
=================================================== */
.custom-lang-menu {
    border-radius: 12px;
    border: 1px solid #eef2f6;
    padding: 8px 6px;
    min-width: 175px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12) !important;
}

.custom-lang-menu .lang-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.15s ease;
}

.custom-lang-menu .lang-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.custom-lang-menu .lang-item.active {
    background-color: #f5f3ff !important;
    color: #6366f1 !important;
    font-weight: 600;
}

.custom-lang-menu .lang-item .check-icon {
    font-size: 1.05rem;
    color: #6366f1;
    display: none;
}

.custom-lang-menu .lang-item.active .check-icon {
    display: inline-block;
}

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

body {
    top: 0px !important;
    position: static !important;
}

.skiptranslate:not(.custom-lang-dropdown) {
    display: none !important;
    visibility: hidden !important;
}

#google_translate_element {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

@media (max-width: 576px) {
    .ref-hero-banner {
        height: 130px;
    }
    .ref-hero-title {
        font-size: 24px;
    }
    .ref-card {
        padding: 20px 18px;
    }
    .ref-btn-proceed,
    .ref-btn-clear {
        width: 100%;
    }
}

/* ===================================================
   Policy & Legal Content Pages (Matching Screenshot)
=================================================== */
.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;
}
