:root {
    --lsfl-primary: #003B7A;
    --lsfl-primary-dark: #002952;
    --lsfl-primary-light: #0a4d96;
    --lsfl-gold: #D4AF37;
    --lsfl-gold-dark: #b8962e;
    --lsfl-white: #FFFFFF;
    --lsfl-light: #F8F9FA;
    --lsfl-text: #1F2937;
    --lsfl-muted: #6B7280;
    --lsfl-border: #E5E7EB;
    --lsfl-shadow: 0 12px 40px rgba(0, 59, 122, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, sans-serif;
    color: var(--lsfl-text);
    background: var(--lsfl-white);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, .navbar-brand, .section-eyebrow {
    font-family: Poppins, Inter, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.topbar {
    background: var(--lsfl-primary-dark);
    color: #dbe7f5;
    font-size: 0.85rem;
}

.topbar a {
    color: #fff;
}

.topbar a:hover {
    color: var(--lsfl-gold);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--lsfl-border);
    transition: box-shadow 0.25s ease, padding 0.25s ease;
    overflow: visible;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(0, 59, 122, 0.12);
}

.site-header .navbar {
    position: relative;
}

.navbar-brand {
    font-weight: 700;
    color: var(--lsfl-primary) !important;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    max-width: 280px;
}

img.brand-logo {
    height: 56px;
    max-height: 56px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: #fff;
    padding: 8px 10px;
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        max-width: calc(100% - 72px);
        overflow: hidden;
    }

    img.brand-logo {
        height: 72px;
        max-height: 72px;
        max-width: 100%;
        display: block;
    }
}

@media (max-width: 420px) {
    img.brand-logo {
        height: 64px;
        max-height: 64px;
    }
}

.navbar-nav .nav-link {
    color: var(--lsfl-text);
    font-weight: 500;
    padding: 0.7rem 0.85rem !important;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-nav .nav-link .lsfl-icon {
    flex-shrink: 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--lsfl-primary);
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--lsfl-gold);
}

.btn-gold {
    background: var(--lsfl-gold);
    color: var(--lsfl-primary-dark);
    font-weight: 600;
    border: 0;
    border-radius: 4px;
    padding: 0.7rem 1.4rem;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.navbar .btn-gold {
    white-space: nowrap;
}

.btn-gold:hover {
    background: var(--lsfl-gold-dark);
    color: #fff;
}

.btn-navy {
    background: var(--lsfl-primary);
    color: #fff;
    font-weight: 600;
    border: 0;
    border-radius: 4px;
    padding: 0.7rem 1.4rem;
    position: relative;
    overflow: hidden;
}

.btn-navy:hover {
    background: var(--lsfl-primary-dark);
    color: #fff;
}

/* Public Login button — brand blue, white text, soft rectangle */
.btn-login {
    background: var(--lsfl-primary);
    color: #fff !important;
    font-weight: 600;
    border: 0;
    border-radius: 8px;
    padding: 0.62rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    box-shadow: 0 8px 20px rgba(0, 59, 122, 0.22);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover,
.btn-login:focus,
.btn-login.show {
    background: var(--lsfl-primary-dark);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 59, 122, 0.3);
    transform: translateY(-1px);
}

.btn-login-sm {
    padding: 0.55rem 1.05rem;
    font-size: 0.95rem;
    border-radius: 8px;
    min-height: 42px;
}

.btn-login-icon {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 10px;
    gap: 0;
}

.btn-login-icon .lsfl-panel-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 991.98px) {
    .btn-login-sm {
        padding: 0.65rem 1.15rem;
        font-size: 1rem;
        min-height: 46px;
        gap: 0.5rem;
    }

    .btn-login-sm .lsfl-panel-icon {
        width: 18px;
        height: 18px;
    }

    .btn-login-icon {
        width: 46px;
        height: 46px;
        min-height: 46px;
        border-radius: 10px;
    }

    .btn-login-icon .lsfl-panel-icon {
        width: 20px;
        height: 20px;
    }

    .lsfl-mobile-tools {
        gap: 0.65rem;
    }
}

.lsfl-nav-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lsfl-mobile-tools {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.lsfl-drawer-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.lsfl-account-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-navy {
    border: 1px solid #fff;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.7rem 1.4rem;
}

.btn-outline-navy:hover {
    background: #fff;
    color: var(--lsfl-primary);
}

.btn-outline-navy-light {
    border: 1px solid var(--lsfl-border);
    color: var(--lsfl-primary);
    background: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-outline-navy-light:hover {
    border-color: var(--lsfl-primary);
    background: rgba(0, 59, 122, 0.05);
    color: var(--lsfl-primary);
}

.btn-ripple span.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background: rgba(255, 255, 255, 0.45);
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.page-hero,
.home-hero {
    background: linear-gradient(120deg, #002952 0%, #003B7A 55%, #0a4d96 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.home-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
}

.home-hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border: 80px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    right: -120px;
    top: -80px;
    pointer-events: none;
}

.hero-kicker {
    color: var(--lsfl-gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 600;
}

.gold-line {
    width: 72px;
    height: 3px;
    background: var(--lsfl-gold);
    margin: 1rem 0 1.25rem;
}

.gold-line.center {
    margin-left: auto;
    margin-right: auto;
}

.section-padding {
    padding: 5rem 0;
}

.section-eyebrow {
    color: var(--lsfl-gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
}

.section-title {
    color: var(--lsfl-primary);
    font-weight: 700;
}

.bg-soft {
    background: var(--lsfl-light);
}

.lsfl-card {
    background: #fff;
    border: 1px solid var(--lsfl-border);
    border-radius: 12px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.lsfl-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lsfl-shadow);
    border-color: rgba(212, 175, 55, 0.6);
}

.lsfl-contact-side {
    display: grid;
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
}

.lsfl-contact-info {
    min-width: 0;
    height: auto;
}

.lsfl-contact-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.lsfl-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.lsfl-contact-ico {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    background: rgba(212, 175, 55, 0.16);
    color: var(--lsfl-gold-dark);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lsfl-contact-list strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lsfl-muted);
    margin-bottom: 0.15rem;
}

.lsfl-contact-list p {
    margin: 0;
    color: var(--lsfl-text);
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

.lsfl-contact-list a {
    color: var(--lsfl-primary);
    font-weight: 600;
    word-break: break-word;
}

.lsfl-map-card {
    width: 100%;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--lsfl-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    background: #fff;
}

.lsfl-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 220px;
    background: #e8eef5;
}

.lsfl-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 575.98px) {
    .lsfl-contact-info.lsfl-card {
        padding: 1.25rem;
    }

    .lsfl-map-frame {
        aspect-ratio: 4 / 3;
        min-height: 240px;
    }
}

.icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 59, 122, 0.08);
    color: var(--lsfl-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-badge.gold {
    background: rgba(212, 175, 55, 0.16);
    color: var(--lsfl-gold-dark);
}

.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(212, 175, 55, 0.5);
}

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

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lsfl-gold);
    border: 3px solid var(--lsfl-primary);
}

.breadcrumb-wrap {
    background: var(--lsfl-light);
    border-bottom: 1px solid var(--lsfl-border);
}

.breadcrumb-item a {
    color: var(--lsfl-primary);
}

.site-footer {
    background: #001c3d;
    color: #c9d6e5;
    padding-top: 4rem;
}

.site-footer h5 {
    color: #fff;
    font-weight: 600;
}

.site-footer a {
    color: #c9d6e5;
}

.site-footer a:hover {
    color: var(--lsfl-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2.5rem;
    padding: 1.1rem 0;
    font-size: 0.9rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    display: inline-grid;
    place-items: center;
    color: var(--lsfl-gold) !important;
}

.floating-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-size: 1.35rem;
}

.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--lsfl-primary); }
.float-btn.top {
    background: var(--lsfl-gold);
    color: var(--lsfl-primary-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.float-btn.top.show {
    opacity: 1;
    pointer-events: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.stat-box {
    border-left: 3px solid var(--lsfl-gold);
    padding-left: 1rem;
}

.form-control, .form-select {
    border-radius: 6px;
    padding: 0.75rem 0.9rem;
    border-color: #d1d5db;
}

.form-control:focus, .form-select:focus {
    border-color: var(--lsfl-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 59, 122, 0.15);
}

.table-compare thead {
    background: var(--lsfl-primary);
    color: #fff;
}

.table-compare td, .table-compare th {
    vertical-align: middle;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.03);
    filter: brightness(0.92);
}

.gallery-filters .btn {
    border-radius: 999px;
    margin: 0.2rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 20, 40, 0.92);
    display: none;
    place-items: center;
    z-index: 2000;
    padding: 2rem;
}

.lightbox.open {
    display: grid;
}

.lightbox img {
    max-width: min(1000px, 92vw);
    max-height: 82vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    color: #fff;
    font-size: 2rem;
    background: none;
    border: 0;
}

.blog-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.blog-cover-lg {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 59, 122, 0.06);
    color: var(--lsfl-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--lsfl-gold);
}

.calc-card {
    background: #fff;
    border-top: 4px solid var(--lsfl-gold);
}

.error-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 4rem 1rem;
}

.lsfl-burger {
    width: 46px;
    height: 46px;
    border: 1px solid var(--lsfl-border);
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
}

.lsfl-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--lsfl-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lsfl-burger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.lsfl-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.lsfl-burger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.lsfl-burger span:nth-child(2) {
    background: var(--lsfl-gold);
}

.navbar-nav button.nav-link {
    background: transparent;
    border: 0;
    cursor: pointer;
}

@media (min-width: 992px) {
    .dropdown-mega {
        position: static;
    }

    .site-header .navbar,
    .site-header .container,
    .site-header .navbar-collapse,
    .site-header .navbar-nav {
        overflow: visible;
    }

    .navbar-nav .nav-link {
        z-index: 2;
    }

    /* Fill the gap between the nav label and the full-width panel so hover/click is not lost. */
    .dropdown-mega:hover::after,
    .dropdown-mega:focus-within::after,
    .dropdown-mega.is-open::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 100%;
        z-index: 1;
    }

    .dropdown-menu.mega-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 1.6rem 0 1.8rem;
        border: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 20px 50px rgba(0, 59, 122, 0.14);
        border-top: 3px solid var(--lsfl-gold);
        z-index: 1055;
        pointer-events: auto;
    }

    .dropdown-menu.mega-menu::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -28px;
        height: 28px;
        z-index: 0;
    }

    .dropdown-mega:hover > .mega-menu,
    .dropdown-mega:focus-within > .mega-menu,
    .dropdown-mega.is-open > .mega-menu {
        display: block !important;
    }

    .mega-item {
        position: relative;
        z-index: 2;
        cursor: pointer;
        transform: none !important;
        pointer-events: auto;
    }

    .mega-item:hover,
    .mega-item.is-active {
        transform: none !important;
    }
}

.mega-intro {
    background: linear-gradient(160deg, #003B7A, #002952);
    color: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
}

.mega-intro p {
    color: #d7e4f2;
}

.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.95rem;
    border: 1px solid var(--lsfl-border);
    border-radius: 12px;
    height: 100%;
    color: var(--lsfl-text);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mega-item:hover,
.mega-item.is-active {
    transform: translateY(-3px);
    border-color: var(--lsfl-gold);
    box-shadow: var(--lsfl-shadow);
    color: var(--lsfl-primary);
}

.mega-item strong {
    display: block;
    font-family: Poppins, Inter, sans-serif;
    font-size: 0.95rem;
}

.mega-item small {
    display: block;
    color: var(--lsfl-muted);
    line-height: 1.4;
}

.mega-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 59, 122, 0.07);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.lsfl-drawer {
    width: min(360px, 92vw);
    z-index: 1200 !important;
}

.lsfl-drawer.offcanvas-end {
    top: 0;
    height: 100%;
}

.offcanvas-backdrop {
    z-index: 1190 !important;
}

.lsfl-auth-modal {
    z-index: 1300 !important;
}

.modal-backdrop {
    z-index: 1290 !important;
}

.lsfl-drawer .offcanvas-header {
    background: var(--lsfl-primary);
    color: #fff;
}

.lsfl-drawer .btn-close {
    filter: invert(1);
}

.mobile-nav {
    padding: 0.5rem 0 1rem;
}

.mobile-link,
.mobile-sub {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    color: var(--lsfl-text);
    background: transparent;
    border: 0;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--lsfl-border);
}

.mobile-sub {
    padding-left: 1.4rem;
    font-weight: 500;
    background: var(--lsfl-light);
}

.mobile-link.is-active,
.mobile-sub.is-active {
    color: var(--lsfl-primary);
    background: rgba(212, 175, 55, 0.12);
}

.mobile-toggle .bi-chevron-down {
    transition: transform 0.2s ease;
}

.mobile-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

/* Auth modal — modern branded popup */
.lsfl-auth-modal .modal-dialog {
    max-width: 920px;
}

.lsfl-auth-shell {
    border: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 41, 82, 0.28);
    background: transparent;
}

.lsfl-auth-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 5;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--lsfl-primary-dark);
    font-size: 1.4rem;
    line-height: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.lsfl-auth-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 540px;
    background: #fff;
}

.lsfl-auth-brand {
    position: relative;
    overflow: hidden;
    padding: 2.4rem 2rem;
    color: #fff;
    background:
        radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.28), transparent 42%),
        linear-gradient(160deg, #002952 0%, #003B7A 55%, #0a4d96 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lsfl-auth-brand-glow {
    position: absolute;
    inset: auto -20% -30% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.16);
    filter: blur(10px);
}

.lsfl-auth-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 1rem;
    padding: 0.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1;
}

.lsfl-auth-kicker {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lsfl-gold);
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.lsfl-auth-headline {
    position: relative;
    z-index: 1;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.lsfl-auth-copy {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
    max-width: 28ch;
}

.lsfl-auth-points {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.lsfl-auth-points li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92);
}

.lsfl-auth-panel {
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.lsfl-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    background: #eef3f9;
    border-radius: 999px;
    padding: 0.3rem;
    margin-bottom: 1.35rem;
}

.lsfl-auth-tab {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0.55rem 0.75rem;
    font-weight: 600;
    color: var(--lsfl-muted);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.lsfl-auth-tab.is-active {
    background: #fff;
    color: var(--lsfl-primary);
    box-shadow: 0 6px 16px rgba(0, 59, 122, 0.12);
}

.lsfl-auth-title {
    font-family: Poppins, Inter, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--lsfl-primary-dark);
    margin-bottom: 0.25rem;
}

.lsfl-auth-sub {
    color: var(--lsfl-muted);
    margin-bottom: 1.15rem;
}

.lsfl-field {
    margin-bottom: 0.95rem;
}

.lsfl-field-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--lsfl-text);
    margin-bottom: 0.35rem;
}

.lsfl-field-label span {
    color: var(--lsfl-muted);
    font-weight: 500;
}

.lsfl-field-control {
    position: relative;
    display: flex;
    align-items: center;
}

.lsfl-field-icon {
    position: absolute;
    left: 0.8rem;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 1;
}

.lsfl-field-control .form-control {
    border-radius: 0.8rem;
    border: 1px solid #d7e0ec;
    padding: 0.78rem 2.6rem 0.78rem 2.55rem;
    background: #f8fbff;
}

.lsfl-field-control .form-control:focus {
    border-color: var(--lsfl-primary);
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 59, 122, 0.12);
}

.lsfl-toggle-password {
    position: absolute;
    right: 0.45rem;
    border: 0;
    background: transparent;
    color: var(--lsfl-muted);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
}

.lsfl-toggle-password:hover {
    color: var(--lsfl-primary);
    background: rgba(0, 59, 122, 0.06);
}

.lsfl-auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.lsfl-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--lsfl-text);
    cursor: pointer;
}

.lsfl-check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--lsfl-primary);
}

.lsfl-auth-submit {
    margin-top: 0.25rem;
    min-height: 2.85rem;
    border-radius: 8px !important;
}

.lsfl-phone-control {
    display: flex;
    align-items: stretch;
    border: 1px solid #d7e0ec;
    border-radius: 0.8rem;
    overflow: hidden;
    background: #f8fbff;
}

.lsfl-phone-control:focus-within {
    border-color: var(--lsfl-primary);
    background: #fff;
    box-shadow: 0 0 0 0.2rem rgba(0, 59, 122, 0.12);
}

.lsfl-phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.85rem;
    background: rgba(0, 59, 122, 0.06);
    color: var(--lsfl-primary-dark);
    font-weight: 700;
    white-space: nowrap;
    border-right: 1px solid #d7e0ec;
}

.lsfl-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lsfl-phone-control .form-control {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding-left: 0.85rem;
}

.lsfl-captcha-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.55rem;
    align-items: center;
}

.lsfl-captcha-sum {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 5.5rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #003B7A, #0a4d96);
    color: #fff;
    font-weight: 700;
    font-family: Poppins, Inter, sans-serif;
}

.lsfl-captcha-input {
    border-radius: 0.8rem !important;
    border: 1px solid #d7e0ec;
    background: #f8fbff;
    min-height: 2.7rem;
}

.lsfl-captcha-refresh {
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid #d7e0ec;
    border-radius: 0.8rem;
    background: #fff;
    color: var(--lsfl-primary);
    display: grid;
    place-items: center;
}

.lsfl-captcha-refresh:hover {
    background: rgba(0, 59, 122, 0.06);
    border-color: var(--lsfl-primary);
}

.lsfl-auth-foot {
    text-align: center;
    margin: 1.1rem 0 0;
    color: var(--lsfl-muted);
    font-size: 0.92rem;
}

.lsfl-auth-foot .lsfl-auth-switch {
    border: 0;
    background: transparent;
    color: var(--lsfl-primary);
    font-weight: 700;
    padding: 0;
}

.lsfl-auth-foot .lsfl-auth-switch:hover {
    color: var(--lsfl-gold-dark);
}

.lsfl-auth-form {
    animation: lsflAuthIn 0.28s ease;
}

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

/* Role dashboards — modern branded panel */
.lsfl-panel-body {
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%),
        linear-gradient(180deg, #eef3f9 0%, #f7f9fc 40%, #eef3f9 100%);
    min-height: 100vh;
    font-family: "DM Sans", Inter, system-ui, sans-serif;
}

.lsfl-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.lsfl-panel-sidebar {
    background:
        radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.22), transparent 35%),
        linear-gradient(180deg, #002952 0%, #003B7A 55%, #0a4d96 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 30;
}

.lsfl-panel-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lsfl-panel-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.15rem 1rem;
    color: #fff;
    flex: 1;
    min-width: 0;
    border-bottom: 0;
}

.lsfl-panel-close {
    margin-right: 0.75rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
}

.lsfl-panel-backdrop {
    display: none;
}

.lsfl-panel-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 59, 122, 0.14);
    border-radius: 10px;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
}

.lsfl-panel-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #003B7A;
}

.lsfl-panel-top-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.lsfl-panel-top-logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 2px 6px;
    border: 1px solid rgba(0, 59, 122, 0.08);
}

.lsfl-panel-nav-label {
    margin: 0.85rem 0.55rem 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.lsfl-panel-brand img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.lsfl-panel-brand strong {
    display: block;
    font-family: Poppins, Inter, sans-serif;
    letter-spacing: 0.04em;
}

.lsfl-panel-brand small {
    color: rgba(255, 255, 255, 0.7);
}

.lsfl-panel-user {
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lsfl-panel-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--lsfl-gold);
    color: var(--lsfl-primary-dark);
    font-weight: 700;
    flex-shrink: 0;
}

.lsfl-panel-user strong {
    display: block;
    font-size: 0.95rem;
}

.lsfl-role-pill {
    display: inline-flex;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.lsfl-role-admin { background: rgba(212, 175, 55, 0.28); color: #ffe9a8; }
.lsfl-role-staff { background: rgba(120, 190, 255, 0.22); color: #d7ecff; }
.lsfl-role-user { background: rgba(255, 255, 255, 0.16); }

.lsfl-panel-nav {
    display: flex;
    flex-direction: column;
    padding: 0.85rem;
    gap: 0.3rem;
    overflow: auto;
}

.lsfl-panel-nav a {
    color: #e8f0fa;
    padding: 0.78rem 0.85rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lsfl-nav-ico {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.lsfl-panel-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lsfl-panel-nav a.is-active {
    background: rgba(212, 175, 55, 0.2);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.35);
}

.lsfl-panel-nav a.is-active .lsfl-nav-ico {
    background: rgba(212, 175, 55, 0.28);
}

.lsfl-panel-side-foot {
    margin-top: auto;
    padding: 0.85rem;
    display: grid;
    gap: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lsfl-panel-web,
.lsfl-panel-logout {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    border: 0;
    border-radius: 0.8rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 500;
    text-align: left;
}

.lsfl-panel-logout:hover,
.lsfl-panel-web:hover {
    background: rgba(212, 175, 55, 0.22);
    color: #fff;
}

.lsfl-panel-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lsfl-panel-topbar {
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border-bottom: 1px solid rgba(0, 59, 122, 0.08);
    box-shadow: 0 10px 28px rgba(0, 41, 82, 0.05);
    padding: 0.85rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.lsfl-panel-topbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #003B7A 0%, #D4AF37 55%, #003B7A 100%);
}

.lsfl-panel-top-titles {
    min-width: 0;
}

.lsfl-panel-top-brand-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.15rem;
}

.lsfl-panel-top-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 59, 122, 0.08);
    color: #003B7A;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lsfl-panel-top-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D4AF37;
}

.lsfl-panel-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lsfl-muted);
    font-weight: 600;
}

.lsfl-panel-heading {
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    color: #002952;
    letter-spacing: -0.02em;
}

.lsfl-panel-top-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.lsfl-panel-top-brand-chip {
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 59, 122, 0.1);
    background: #fff;
    box-shadow: 0 6px 16px rgba(0, 41, 82, 0.06);
}

.lsfl-panel-top-brand-chip img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 999px;
    background: #f4f7fb;
    padding: 3px;
}

.lsfl-panel-top-brand-chip strong {
    display: block;
    font-size: 0.78rem;
    color: #002952;
    line-height: 1.15;
}

.lsfl-panel-top-brand-chip small {
    display: block;
    font-size: 0.68rem;
    color: #6b7c90;
}

.lsfl-panel-top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 59, 122, 0.14);
    background: #fff;
    color: #003B7A !important;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lsfl-panel-top-link:hover {
    background: rgba(0, 59, 122, 0.05);
    border-color: rgba(0, 59, 122, 0.28);
    color: #002952 !important;
    box-shadow: 0 8px 18px rgba(0, 41, 82, 0.08);
}

.lsfl-panel-top-user {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0.55rem 0.25rem 0.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 59, 122, 0.06), rgba(212, 175, 55, 0.12));
    border: 1px solid rgba(0, 59, 122, 0.1);
}

.lsfl-panel-top-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #003B7A, #0a4d96);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
}

.lsfl-panel-top-user-meta {
    padding-right: 0.25rem;
}

.lsfl-panel-top-user-meta strong {
    font-size: 0.8rem;
    color: #002952;
    line-height: 1.1;
}

.lsfl-panel-top-user-meta small {
    font-size: 0.68rem;
    color: #6b7c90;
}

.lsfl-panel-top-logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 2px 6px;
    border: 1px solid rgba(0, 59, 122, 0.08);
}

.lsfl-panel-content {
    padding: 1.5rem;
}

.lsfl-panel-alert {
    border-radius: 0.85rem;
}

.lsfl-welcome-banner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
    border-radius: 1.2rem;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(212, 175, 55, 0.35), transparent 35%),
        linear-gradient(120deg, #002952, #003B7A 55%, #0a4d96);
    box-shadow: 0 18px 40px rgba(0, 59, 122, 0.18);
    animation: lsflAuthIn 0.35s ease;
}

.lsfl-welcome-banner .eyebrow {
    color: var(--lsfl-gold);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.lsfl-welcome-banner h2 {
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    margin-bottom: 0.35rem;
}

.lsfl-welcome-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    max-width: 42ch;
}

.lsfl-welcome-mark {
    width: 72px;
    height: 72px;
    border-radius: 1.1rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
}

.lsfl-panel-card,
.lsfl-stat-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 1.1rem;
    padding: 1.25rem;
    box-shadow: 0 14px 32px rgba(0, 59, 122, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lsfl-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 59, 122, 0.12);
}

.lsfl-stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(0, 59, 122, 0.08), rgba(212, 175, 55, 0.18));
    margin-bottom: 0.85rem;
}

.lsfl-stat-icon--sm {
    width: 2.35rem;
    height: 2.35rem;
    margin-bottom: 0;
    border-radius: 0.7rem;
}

.lsfl-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.lsfl-stat-card .eyebrow {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lsfl-muted);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.lsfl-stat-card .display-6 {
    color: var(--lsfl-primary);
    font-family: Poppins, Inter, sans-serif;
    font-weight: 700;
    font-size: 2rem;
}

.lsfl-inline-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--lsfl-primary);
}

.lsfl-table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lsfl-muted);
    border-bottom-width: 1px;
}

.lsfl-link {
    color: var(--lsfl-primary);
    font-weight: 600;
}

.lsfl-link:hover {
    color: var(--lsfl-gold-dark);
}

@media (max-width: 991.98px) {
    .home-hero {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .navbar-nav .nav-link.active::after {
        display: none;
    }

    .lsfl-auth-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .lsfl-auth-brand {
        padding: 1.5rem 1.35rem 1.25rem;
    }

    .lsfl-auth-copy,
    .lsfl-auth-points {
        display: none;
    }

    .lsfl-auth-panel {
        padding: 1.35rem 1.2rem 1.4rem;
    }

    .lsfl-panel {
        grid-template-columns: 1fr;
    }

    .lsfl-panel-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: min(300px, 88vw);
        height: 100vh;
        height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
        box-shadow: 18px 0 40px rgba(0, 25, 52, 0.28);
    }

    .lsfl-panel.is-sidebar-open .lsfl-panel-sidebar {
        transform: translateX(0);
    }

    .lsfl-panel-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 25;
        background: rgba(0, 20, 40, 0.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    .lsfl-panel.is-sidebar-open .lsfl-panel-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    body.lsfl-panel-nav-open {
        overflow: hidden;
    }

    .lsfl-panel-topbar {
        padding: 0.75rem 0.9rem;
        position: relative;
    }

    .lsfl-welcome-banner {
        align-items: flex-start;
    }
}

/* ===== Homepage centered hero slider (peek sides) ===== */
.lsfl-hero-slider-section {
    padding: 1rem 0 0;
    background: #eef1f5;
    overflow: hidden;
}

.lsfl-hero-slider-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.lsfl-hero-swiper {
    overflow: hidden;
    padding: 0 0 1.35rem;
}

.lsfl-hero-swiper .swiper-wrapper {
    align-items: stretch;
}

.lsfl-hero-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
    opacity: 0.78;
    transition: opacity 0.4s ease;
}

.lsfl-hero-swiper .swiper-slide-active {
    opacity: 1;
    z-index: 2;
}

.lsfl-slide-card {
    position: relative;
    min-height: clamp(200px, 36vw, 420px);
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 35, 65, 0.12);
    display: block;
    width: 100%;
    background: #dfe5ee;
    transition: box-shadow 0.4s ease;
}

.lsfl-hero-swiper .swiper-slide-active .lsfl-slide-card {
    box-shadow: 0 16px 40px rgba(15, 35, 65, 0.18);
}

.lsfl-slide-card.has-image,
.lsfl-slide-card.image-only {
    /* Recommended upload: 800×400 (2:1) */
    aspect-ratio: 2 / 1;
    min-height: 160px;
    height: auto;
    background: #dfe5ee;
}

.lsfl-slide-media--photo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #dfe5ee;
}

.lsfl-slide-media--photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.lsfl-slide-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* Desktop with text overlay: fill card, mild crop ok */
@media (min-width: 768px) {
    .lsfl-slide-card:not(.has-image) {
        min-height: clamp(340px, 42vw, 460px);
    }

    .lsfl-slide-card.has-image.has-content {
        min-height: clamp(360px, 42vw, 460px);
    }

    .lsfl-slide-card.has-image.has-content .lsfl-slide-media--photo {
        position: absolute;
        inset: 0;
    }

    .lsfl-slide-card.has-image.has-content .lsfl-slide-media--photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.lsfl-slide-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(0, 25, 52, 0.92) 0%, rgba(0, 59, 122, 0.72) 48%, rgba(0, 59, 122, 0.35) 100%);
}

.lsfl-slide-media--photo::after {
    display: none;
}

.lsfl-slide-card.has-image.has-content .lsfl-slide-media--photo::after {
    display: block;
    background:
        linear-gradient(105deg, rgba(0, 25, 52, 0.88) 0%, rgba(0, 59, 122, 0.55) 48%, rgba(0, 59, 122, 0.2) 100%);
}

.lsfl-slide-card.image-only .lsfl-slide-media--photo::after {
    display: none;
}

.lsfl-slide-welcome .lsfl-slide-media {
    background-image:
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.35), transparent 28%),
        linear-gradient(135deg, #002952, #003B7A 55%, #0a4d96);
}

.lsfl-slide-business .lsfl-slide-media {
    background-image:
        radial-gradient(circle at 85% 70%, rgba(212, 175, 55, 0.28), transparent 32%),
        linear-gradient(140deg, #001a36, #003B7A 50%, #145a9c);
}

.lsfl-slide-personal .lsfl-slide-media {
    background-image:
        radial-gradient(circle at 78% 25%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(145deg, #002447, #0a4d96 60%, #1d6fb0);
}

.lsfl-slide-vehicle .lsfl-slide-media {
    background-image:
        radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.22), transparent 34%),
        linear-gradient(150deg, #001529, #002952 45%, #003B7A);
}

.lsfl-slide-content {
    position: relative;
    z-index: 1;
    padding: clamp(1.4rem, 3.5vw, 2.6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
}

.lsfl-slide-card.has-image.has-content .lsfl-slide-content {
    position: absolute;
    inset: 0;
    justify-content: flex-end;
    max-width: none;
    padding: clamp(1.2rem, 3vw, 2.2rem);
}

.lsfl-slide-brand {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--lsfl-gold);
}

.lsfl-slide-kicker {
    margin: 0 0 0.55rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.lsfl-slide-content h2 {
    font-family: Poppins, Inter, sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 3.4vw, 2.55rem);
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: #fff;
}

.lsfl-slide-text {
    margin: 0 0 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.95rem, 1.5vw, 1.08rem);
    max-width: 38ch;
}

.lsfl-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}

.lsfl-slide-actions .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.65rem 1.2rem;
}

.lsfl-slide-actions .btn-outline-light:hover {
    background: #fff;
    color: var(--lsfl-primary-dark);
}

.lsfl-slide-actions .btn-gold {
    border-radius: 8px;
}

.lsfl-slide-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
}

.lsfl-slide-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
}

.lsfl-slide-trust i {
    color: var(--lsfl-gold);
}

.lsfl-hero-pagination {
    bottom: 0 !important;
}

.lsfl-hero-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    background: #c8d0db;
    opacity: 1;
    margin: 0 5px !important;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lsfl-hero-pagination .swiper-pagination-bullet-active {
    background: #c9a227;
    width: 8px;
    border-radius: 999px;
    transform: scale(1.15);
}

.lsfl-hero-nav {
    display: none;
}

@media (max-width: 767.98px) {
    .lsfl-hero-slider-section {
        padding: 0.85rem 0 1.5rem;
        background: #eef1f5;
    }

    .lsfl-hero-slider-inner {
        padding: 0;
    }

    .lsfl-hero-swiper {
        overflow: hidden;
        padding: 0 0 1.5rem;
    }

    .lsfl-hero-swiper .swiper-slide {
        opacity: 0.75;
    }

    .lsfl-hero-swiper .swiper-slide-active {
        opacity: 1;
    }

    .lsfl-slide-card {
        border-radius: 14px;
        box-shadow: 0 8px 22px rgba(15, 35, 65, 0.12);
    }

    .lsfl-slide-card:not(.has-image) {
        min-height: 240px;
        aspect-ratio: auto;
    }

    .lsfl-slide-card.has-image,
    .lsfl-slide-card.image-only {
        aspect-ratio: 2 / 1;
        min-height: 140px;
    }

    .lsfl-slide-card.has-image .lsfl-slide-media--photo,
    .lsfl-slide-card.has-image.has-content .lsfl-slide-media--photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: #dfe5ee;
    }

    .lsfl-slide-card.has-image .lsfl-slide-media--photo img,
    .lsfl-slide-card.has-image.has-content .lsfl-slide-media--photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .lsfl-slide-card.has-image.has-content .lsfl-slide-content {
        position: relative;
        background: linear-gradient(180deg, rgba(0, 25, 52, 0.92), rgba(0, 59, 122, 0.96));
        max-width: none;
        padding: 1.1rem 1.15rem 1.25rem;
    }

    .lsfl-slide-card.has-image.has-content .lsfl-slide-media--photo::after {
        display: none;
    }

    .lsfl-slide-trust {
        gap: 0.45rem 0.85rem;
    }
}

/* Branded loan category strip (after homepage slider) */
.lsfl-loan-cats {
    padding: 0.15rem 0 1.5rem;
    background:
        linear-gradient(180deg, #eef1f5 0%, #ffffff 42%);
}

.lsfl-loan-cats-head {
    text-align: center;
    margin-bottom: 1rem;
}

.lsfl-loan-cats-eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b8922a;
}

.lsfl-loan-cats-title {
    margin: 0;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    font-weight: 700;
    color: #002952;
    letter-spacing: -0.02em;
}

.lsfl-loan-cats-rule {
    width: 42px;
    height: 3px;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #003B7A, #D4AF37);
}

.lsfl-loan-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    justify-items: center;
}

.lsfl-loan-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 124px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease;
}

.lsfl-loan-cat:hover {
    color: inherit;
    transform: translateY(-4px);
}

.lsfl-loan-cat-tile {
    width: 100%;
    aspect-ratio: 1;
    max-width: 92px;
    border-radius: 22px;
    border: 1px solid rgba(0, 59, 122, 0.1);
    background:
        radial-gradient(circle at 28% 22%, rgba(212, 175, 55, 0.16), transparent 48%),
        linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
    box-shadow:
        0 10px 24px rgba(0, 41, 82, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: grid;
    place-items: center;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.lsfl-loan-cat:hover .lsfl-loan-cat-tile {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow:
        0 16px 32px rgba(0, 41, 82, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.lsfl-loan-cat-tile--business,
.lsfl-loan-cat-tile--personal,
.lsfl-loan-cat-tile--vehicle,
.lsfl-loan-cat-tile--housing,
.lsfl-loan-cat-tile--all {
    color: #003B7A;
}

.lsfl-loan-cat-tile--all {
    background:
        radial-gradient(circle at 30% 25%, rgba(212, 175, 55, 0.28), transparent 52%),
        linear-gradient(160deg, #002952, #003B7A 60%, #0a4d96);
    border-color: rgba(0, 59, 122, 0.35);
}

.lsfl-loan-cat-label {
    margin-top: 0.2rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #002952;
    text-align: center;
    line-height: 1.2;
}

.lsfl-loan-cat-hint {
    font-size: 0.7rem;
    color: #6b7c90;
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 575.98px) {
    .lsfl-loan-cats {
        padding: 0.1rem 0 1.2rem;
    }

    .lsfl-loan-cats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.55rem 0.35rem;
        max-width: none;
    }

    .lsfl-loan-cat {
        max-width: none;
    }

    .lsfl-loan-cat-tile {
        max-width: 74px;
        border-radius: 18px;
    }

    .lsfl-loan-cat-label {
        font-size: 0.72rem;
    }

    .lsfl-loan-cat-hint {
        display: none;
    }
}

.lsfl-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lsfl-slide-link:hover {
    color: inherit;
}

.lsfl-slide-custom .lsfl-slide-media {
    background-image:
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.28), transparent 30%),
        linear-gradient(135deg, #002952, #003B7A 55%, #0a4d96);
}

.lsfl-slide-thumb {
    width: 96px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.lsfl-slide-thumb--empty {
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    color: #fff;
    background: linear-gradient(135deg, #003B7A, #0a4d96);
}

.lsfl-slide-preview {
    width: min(100%, 320px);
    height: auto;
    max-height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--lsfl-border);
}

.lsfl-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lsfl-slide-link:hover {
    color: inherit;
}

/* Admin modern action buttons */
.lsfl-admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.lsfl-action-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lsfl-action-group form {
    display: inline;
    margin: 0;
}

.lsfl-action-btn {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 600;
    font-family: "DM Sans", Inter, system-ui, sans-serif;
    border-radius: 10px;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
    cursor: pointer;
    line-height: 1.1;
    white-space: nowrap;
}

.lsfl-action-btn--md {
    min-height: 42px;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
}

.lsfl-action-btn--sm {
    min-height: 34px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    border-radius: 9px;
}

.lsfl-action-btn__icon {
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
}

.lsfl-action-btn--sm .lsfl-action-btn__icon {
    width: 1.1rem;
    height: 1.1rem;
}

.lsfl-action-btn--primary {
    background: linear-gradient(135deg, #003B7A, #0a4d96);
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(0, 59, 122, 0.22);
}

.lsfl-action-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(0, 59, 122, 0.28);
    color: #fff !important;
}

.lsfl-action-btn--gold {
    background: linear-gradient(135deg, #D4AF37, #b8962e);
    color: #002952 !important;
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.28);
}

.lsfl-action-btn--gold:hover {
    transform: translateY(-1px);
    color: #002952 !important;
}

.lsfl-action-btn--soft {
    background: rgba(0, 59, 122, 0.08);
    color: #003B7A !important;
    border: 1px solid rgba(0, 59, 122, 0.12);
}

.lsfl-action-btn--soft:hover {
    background: rgba(0, 59, 122, 0.14);
    color: #002952 !important;
}

.lsfl-action-btn--danger {
    background: linear-gradient(135deg, #c0392b, #a93226);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(192, 57, 43, 0.22);
}

.lsfl-action-btn--danger:hover {
    transform: translateY(-1px);
    color: #fff !important;
}

.lsfl-action-btn--ghost {
    background: #fff;
    color: #003B7A !important;
    border: 1px solid #d7e0ec;
}

.lsfl-action-btn--ghost:hover {
    border-color: #003B7A;
    background: rgba(0, 59, 122, 0.04);
    color: #002952 !important;
}

.lsfl-slide-preview {
    width: min(100%, 420px);
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

/* Admin people / branding */
.lsfl-panel-content .lsfl-role-pill {
    color: #003B7A;
    background: rgba(0, 59, 122, 0.1);
}

.lsfl-panel-content .lsfl-role-admin {
    background: rgba(212, 175, 55, 0.28);
    color: #7a5f0f;
}

.lsfl-panel-content .lsfl-role-staff {
    background: rgba(10, 108, 255, 0.14);
    color: #0a4d96;
}

.lsfl-panel-content .lsfl-role-user {
    background: rgba(15, 39, 68, 0.08);
    color: #1a2b3c;
}

.lsfl-user-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lsfl-user-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #d7e0ec;
    background: #fff;
    color: #003B7A;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
}

.lsfl-user-tab span {
    display: inline-grid;
    place-items: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(0, 59, 122, 0.08);
    font-size: 0.75rem;
}

.lsfl-user-tab.is-active {
    background: #003B7A;
    border-color: #003B7A;
    color: #fff;
}

.lsfl-user-tab.is-active span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.lsfl-user-filters {
    padding: 1rem 1.15rem;
}

.lsfl-access-card {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: 0 10px 28px rgba(15, 35, 65, 0.05);
}

.lsfl-access-card h3 {
    margin: 0.75rem 0 0.4rem;
    font-size: 1.35rem;
    color: #0f2744;
}

.lsfl-access-card p {
    color: #6b7c90;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.lsfl-branding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.lsfl-brand-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    padding: 1rem;
    align-items: start;
}

.lsfl-brand-preview {
    width: 96px;
    height: 96px;
    border-radius: 14px;
    border: 1px solid #e4ebf3;
    background: #f5f8fb;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.lsfl-brand-preview img {
    max-width: 84%;
    max-height: 84%;
    object-fit: contain;
}

.lsfl-branding-actions {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
}

.lsfl-form-card {
    padding: 1.35rem 1.4rem 1.5rem;
}

@media (max-width: 575.98px) {
    .lsfl-brand-card {
        grid-template-columns: 1fr;
    }

    .lsfl-brand-preview {
        width: 100%;
        height: 120px;
    }
}

.lsfl-perm-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.lsfl-perm-legend li {
    color: #4a5d73;
    font-size: 0.92rem;
}

.lsfl-perm-legend code {
    font-size: 0.78rem;
    color: #0f4c81;
    background: #eef5fb;
    padding: 0.12rem 0.4rem;
    border-radius: 6px;
}

.lsfl-access-member-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.lsfl-perm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.55rem 1rem;
}

.lsfl-perm-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid #e4ebf3;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    font-size: 0.9rem;
    color: #243447;
    margin: 0;
}

.lsfl-perm-check input {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.lsfl-perm-check.is-locked {
    opacity: 0.7;
    cursor: not-allowed;
}

.lsfl-perm-grid--readonly .lsfl-perm-check {
    cursor: default;
}

/* ===== Home Loan landing ===== */
.hl-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 3.25rem 0 3.5rem;
    background: linear-gradient(135deg, #002952 0%, #003B7A 48%, #0a5a4a 100%);
}

.hl-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.22), transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(120, 220, 180, 0.18), transparent 36%),
        radial-gradient(circle at 70% 90%, rgba(0, 20, 50, 0.35), transparent 45%);
    pointer-events: none;
}

.hl-hero-inner { position: relative; z-index: 1; }

.hl-hero-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4AF37;
    font-weight: 600;
}

.hl-hero-title {
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.hl-hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34rem;
    margin-bottom: 1.25rem;
}

.hl-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.hl-hero-points li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.45rem;
    color: rgba(255, 255, 255, 0.92);
}

.hl-hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #D4AF37;
}

.hl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hl-hero-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.hl-emi-card {
    background: #fff;
    color: #1a2b3c;
    border-radius: 18px;
    padding: 1.35rem 1.4rem 1.25rem;
    box-shadow: 0 22px 48px rgba(0, 20, 50, 0.28);
}

.hl-emi-card--light {
    box-shadow: 0 12px 28px rgba(0, 41, 82, 0.08);
    border: 1px solid rgba(0, 59, 122, 0.08);
}

.hl-emi-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #002952;
    margin: 0 0 1rem;
}

.hl-emi-field { margin-bottom: 0.9rem; }

.hl-emi-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4a5d73;
    margin-bottom: 0.35rem;
}

.hl-input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
}

.hl-input-wrap input,
.hl-emi-field > input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    color: #002952;
    outline: none;
}

.hl-emi-field > input {
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #f8fafc;
}

.hl-prefix,
.hl-suffix {
    padding: 0 0.75rem;
    color: #6b7c90;
    font-weight: 600;
    white-space: nowrap;
}

.hl-tenure-toggle {
    display: inline-flex;
    border: 1px solid #d7e0ea;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.hl-tenure-toggle button {
    border: 0;
    background: transparent;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7c90;
}

.hl-tenure-toggle button.is-active {
    background: #003B7A;
    color: #fff;
}

.hl-emi-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    margin: 0.35rem 0 1rem;
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
    font-size: 0.95rem;
    color: #4a5d73;
}

.hl-emi-result strong {
    font-size: 1.35rem;
    color: #002952;
    font-weight: 700;
}

.hl-emi-disclaimer {
    margin-top: 0.65rem;
    font-size: 0.72rem;
    color: #7a8b9c;
    text-align: center;
}

.hl-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid #e4ebf3;
    box-shadow: 0 4px 14px rgba(0, 41, 82, 0.04);
}

.hl-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
}

.hl-sticky-links {
    display: flex;
    gap: 0.15rem 1.1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.65rem 0;
}

.hl-sticky-links::-webkit-scrollbar { display: none; }

.hl-sticky-links a {
    white-space: nowrap;
    text-decoration: none;
    color: #4a5d73;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.hl-sticky-links a:hover,
.hl-sticky-links a.is-active {
    color: #003B7A;
    border-bottom-color: #D4AF37;
}

.hl-sticky-cta { flex-shrink: 0; }

.hl-section { padding: 3rem 0; }

.hl-panel {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 59, 122, 0.08);
    box-shadow: 0 14px 36px rgba(0, 41, 82, 0.06);
    overflow: hidden;
}

.hl-panel-title {
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 700;
    color: #002952;
    padding: 1.75rem 1.75rem 0.75rem;
    margin: 0;
}

.hl-panel-title strong { color: #003B7A; }

.hl-panel-copy {
    padding: 0 1.75rem 1.5rem;
    margin: 0;
    color: #4a5d73;
    max-width: 46rem;
    line-height: 1.65;
}

.hl-feature-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: linear-gradient(90deg, #002952, #003B7A);
    color: #fff;
}

.hl-feature-bar > div {
    padding: 1.1rem 1.4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hl-feature-bar > div:last-child {
    border-right: 0;
    display: flex;
    align-items: center;
}

.hl-feature-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.hl-feature-bar strong {
    font-size: 1.05rem;
    font-weight: 700;
}

.hl-feature-link {
    color: #D4AF37;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hl-doc-card {
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    height: 100%;
    box-shadow: 0 8px 20px rgba(0, 41, 82, 0.04);
}

.hl-doc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(212, 175, 55, 0.15);
    color: #003B7A;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.hl-doc-card ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: #4a5d73;
}

.hl-rates-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4ebf3;
}

.hl-rates-table thead {
    background: #f4f7fb;
}

.hl-apply-list {
    padding-left: 1.1rem;
    color: #4a5d73;
}

.hl-apply-form { margin-top: 0.25rem; }

@media (max-width: 991.98px) {
    .hl-hero { padding: 2.4rem 0 2.6rem; }
    .hl-sticky-cta { display: none; }
    .hl-feature-bar { grid-template-columns: 1fr; }
    .hl-feature-bar > div {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    .hl-feature-bar > div:last-child { border-bottom: 0; }
}

@media (max-width: 575.98px) {
    .hl-emi-card { padding: 1.15rem 1.05rem; }
    .hl-panel-title,
    .hl-panel-copy { padding-left: 1.2rem; padding-right: 1.2rem; }
}

/* ===== Home Loan widgets / modal / CTA ===== */
.hl-widgets {
    margin-top: -1.1rem;
    position: relative;
    z-index: 5;
    padding: 0 0 0.35rem;
}

.hl-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 18px;
    padding: 0.85rem;
    box-shadow: 0 16px 36px rgba(0, 41, 82, 0.08);
}

.hl-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    background: #f7f9fc;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    font: inherit;
    cursor: pointer;
}

.hl-widget:hover {
    color: inherit;
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 10px 22px rgba(0, 41, 82, 0.08);
}

.hl-widget--apply {
    background: linear-gradient(160deg, #002952, #003B7A);
    color: #fff;
}

.hl-widget--apply:hover { color: #fff; }

.hl-widget-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(0, 59, 122, 0.08);
    color: #003B7A;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.hl-widget--apply .hl-widget-icon {
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
}

.hl-widget-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #002952;
}

.hl-widget--apply .hl-widget-label { color: #fff; }

.hl-widget-hint {
    font-size: 0.75rem;
    color: #6b7c90;
    line-height: 1.3;
}

.hl-widget--apply .hl-widget-hint { color: rgba(255, 255, 255, 0.72); }

.hl-calc-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 18px;
    padding: 1.6rem 1.75rem;
    box-shadow: 0 12px 28px rgba(0, 41, 82, 0.05);
}

.hl-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: linear-gradient(105deg, #002952, #003B7A 55%, #0a5a4a);
    border-radius: 18px;
    padding: 1.6rem 1.75rem;
}

.hl-emi-modal .modal-content {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 48px rgba(0, 20, 50, 0.22);
}

.hl-emi-modal .modal-body {
    padding: 0.5rem 1.35rem 1.35rem;
}

.hl-emi-stat {
    background: #f4f7fb;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
}

.hl-emi-stat small {
    display: block;
    color: #6b7c90;
    font-size: 0.72rem;
}

.hl-emi-stat strong {
    color: #002952;
    font-size: 0.95rem;
}

.hl-apply-side-card {
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 14px;
    padding: 1.1rem 1.15rem;
}

.hl-slider-section { margin-bottom: 0; }

@media (max-width: 991.98px) {
    .hl-widgets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hl-widgets {
        margin-top: -0.5rem;
        padding: 0 0 0.5rem;
    }
    .hl-widgets-grid {
        gap: 0.55rem;
        padding: 0.65rem;
        border-radius: 14px;
    }
    .hl-widget { padding: 0.8rem 0.75rem; }
    .hl-calc-teaser,
    .hl-cta-band {
        padding: 1.25rem 1.1rem;
    }
}

/* ===== Home Loan tabbed page ===== */
.hl-page {
    background:
        radial-gradient(circle at 12% 0%, rgba(212, 175, 55, 0.08), transparent 28%),
        linear-gradient(180deg, #eef3f8 0%, #f7f9fc 40%, #ffffff 100%);
    padding-bottom: 2.5rem;
}

.hl-tab-stage {
    padding: 1.25rem 0 0.5rem;
    min-height: 28rem;
}

.hl-tab-panel[hidden],
.hl-tab-panel:not(.is-active) {
    display: none !important;
}

.hl-tab-panel.is-active {
    display: block;
    animation: hlFadeIn 0.28s ease;
}

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

.hl-shell {
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 22px;
    padding: 1.75rem 1.75rem 1.85rem;
    box-shadow: 0 18px 40px rgba(0, 41, 82, 0.06);
}

.hl-shell-eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #D4AF37;
}

.hl-shell-title {
    margin: 0 0 0.65rem;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.45rem, 3vw, 1.95rem);
    font-weight: 700;
    color: #002952;
    letter-spacing: -0.02em;
}

.hl-shell-lead {
    margin: 0;
    max-width: 40rem;
    color: #5a6d82;
    line-height: 1.65;
}

.hl-shell-head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #e8eef5;
}

.hl-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.hl-stat {
    background: linear-gradient(160deg, #f7f9fc, #eef3f8);
    border: 1px solid rgba(0, 59, 122, 0.06);
    border-radius: 14px;
    padding: 0.95rem 1rem;
}

.hl-stat span {
    display: block;
    font-size: 0.75rem;
    color: #6b7c90;
    margin-bottom: 0.25rem;
}

.hl-stat strong {
    color: #002952;
    font-size: 1.02rem;
}

.hl-overview-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1rem;
}

.hl-info-card {
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 1.2rem 1.25rem;
    background: #fbfcfe;
}

.hl-info-card h3 {
    font-size: 1.05rem;
    color: #002952;
    margin: 0 0 0.75rem;
}

.hl-info-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: #4a5d73;
}

.hl-info-card li { margin-bottom: 0.4rem; }

.hl-info-card--accent {
    background: linear-gradient(165deg, #002952, #003B7A);
    border-color: transparent;
    color: #fff;
}

.hl-info-card--accent h3 { color: #fff; }
.hl-info-card--accent p { color: rgba(255,255,255,.82); margin: 0 0 1rem; }

.hl-info-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hl-doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.hl-rates-card {
    border: 1px solid #e4ebf3;
    border-radius: 14px;
    overflow: hidden;
}

.hl-rates-card thead { background: #f4f7fb; }
.hl-rates-card th,
.hl-rates-card td { padding: 0.85rem 1rem; }

.hl-footnote {
    margin: 0.85rem 0 0;
    font-size: 0.8rem;
    color: #7a8b9c;
}

.hl-calc-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.25rem;
    align-items: stretch;
}

.hl-calc-form {
    background: #f7f9fc;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 1.25rem;
}

.hl-calc-result {
    background: linear-gradient(165deg, #002952, #003B7A 70%, #0a4d96);
    border-radius: 16px;
    padding: 1.35rem 1.3rem;
    color: #fff;
}

.hl-calc-result-label {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,.72);
}

.hl-calc-result-value {
    margin: 0.25rem 0 1rem;
    font-family: Poppins, Inter, sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hl-calc-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.hl-calc-breakdown > div {
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 0.7rem 0.75rem;
}

.hl-calc-breakdown span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,.65);
}

.hl-calc-breakdown strong {
    font-size: 0.95rem;
    color: #fff;
}

.hl-calc-result .btn-navy {
    background: #D4AF37;
    border-color: #D4AF37;
    color: #002952;
}

.hl-calc-result .btn-navy:hover {
    background: #e0c054;
    border-color: #e0c054;
    color: #002952;
}

.hl-calc-result .hl-emi-disclaimer {
    color: rgba(255,255,255,.6);
}

.hl-sticky-links button {
    white-space: nowrap;
    text-decoration: none;
    color: #4a5d73;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-family: inherit;
}

.hl-sticky-links button:hover,
.hl-sticky-links button.is-active {
    color: #003B7A;
    border-bottom-color: #D4AF37;
}

.hl-cta-wrap {
    padding: 1.5rem 0 0;
}

@media (max-width: 991.98px) {
    .hl-stat-row,
    .hl-overview-grid,
    .hl-doc-grid,
    .hl-calc-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .hl-shell {
        padding: 1.25rem 1.05rem 1.35rem;
        border-radius: 16px;
    }
    .hl-tab-stage { min-height: 0; }
}

/* ===== Home Loan multi-step apply wizard ===== */
.hl-wizard-section {
    background:
        radial-gradient(ellipse 80% 50% at 10% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
        linear-gradient(180deg, #eef3f9 0%, #f7f9fc 40%, #fff 100%);
}

.hl-wizard {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 22px;
    padding: 1.75rem 1.85rem 1.5rem;
    box-shadow: 0 22px 48px rgba(0, 41, 82, 0.08);
}

.hl-wizard-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-bottom: 1.75rem;
}

.hl-wizard-step {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
    border: 1px solid #e4ebf3;
    background: #f7f9fc;
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    color: #6b7c90;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hl-wizard-step.is-active {
    background: linear-gradient(145deg, #002952, #003B7A);
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 41, 82, 0.18);
}

.hl-wizard-step.is-done {
    border-color: rgba(212, 175, 55, 0.55);
    background: #fffdf6;
    color: #002952;
}

.hl-wizard-step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(0, 59, 122, 0.08);
    color: inherit;
    flex-shrink: 0;
}

.hl-wizard-step.is-active .hl-wizard-step-num {
    background: rgba(212, 175, 55, 0.25);
    color: #D4AF37;
}

.hl-wizard-step-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.hl-wizard-step-copy strong { font-size: 0.92rem; }
.hl-wizard-step-copy small { font-size: 0.72rem; opacity: 0.8; }

.hl-wizard-panel { animation: hlWizardIn 0.35s ease; }
.hl-wizard-panel[hidden] { display: none !important; }

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

.hl-wizard-panel-head {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eef2f7;
}

.hl-wizard-alert { border-radius: 12px; }

.hl-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hl-choice {
    flex: 1 1 auto;
    min-width: 7rem;
    cursor: pointer;
}

.hl-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hl-choice span {
    display: block;
    text-align: center;
    border: 1px solid #d9e3ef;
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    background: #f7f9fc;
    color: #002952;
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hl-choice input:checked + span {
    border-color: #003B7A;
    background: rgba(0, 59, 122, 0.06);
    box-shadow: inset 0 0 0 1px #003B7A;
}

.hl-choice--wide { min-width: 11rem; }

.hl-doc-field {
    background: #f7f9fc;
    border: 1px dashed #c9d6e6;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    height: 100%;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hl-doc-field.is-invalid,
.hl-doc-field.has-file { border-style: solid; }

.hl-doc-field.has-file {
    border-color: rgba(10, 90, 74, 0.35);
    background: #f3faf7;
}

.hl-doc-field.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.hl-doc-field-head {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.7rem;
}

.hl-doc-label {
    font-weight: 700;
    color: #002952;
    font-size: 0.92rem;
    margin: 0;
}

.hl-doc-hint,
.hl-tamil {
    display: block;
    font-size: 0.78rem;
    color: #6b7c90;
    font-weight: 500;
}

.hl-doc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.hl-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(0, 59, 122, 0.18);
    background: #fff;
    color: #003B7A;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
}

.hl-doc-btn--capture {
    border-color: rgba(212, 175, 55, 0.55);
    color: #8a6d12;
}

.hl-doc-filename {
    font-size: 0.75rem;
    color: #6b7c90;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hl-doc-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.hl-doc-group-title {
    font-weight: 700;
    color: #002952;
    margin-top: 0.35rem;
}

.hl-loan-box {
    background: linear-gradient(165deg, #f4f7fb, #fff 55%);
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 1.2rem 1.25rem 1.35rem;
}

.hl-loan-amount-display {
    font-size: 1.35rem;
    color: #002952;
    letter-spacing: -0.02em;
}

.hl-amount-range { accent-color: #003B7A; }

.hl-tenure-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.hl-unit-toggle {
    display: inline-flex;
    border: 1px solid #d9e3ef;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.hl-unit-btn {
    border: 0;
    background: transparent;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7c90;
}

.hl-unit-btn.is-active {
    background: #003B7A;
    color: #fff;
}

.hl-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f7;
    flex-wrap: wrap;
}

.hl-wizard-nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .hl-wizard {
        padding: 1.25rem 1.05rem 1.15rem;
        border-radius: 18px;
    }
    .hl-wizard-progress { gap: 0.4rem; }
    .hl-wizard-step { padding: 0.65rem 0.5rem; gap: 0.45rem; }
    .hl-wizard-step-copy small { display: none; }
    .hl-wizard-step-copy strong { font-size: 0.78rem; }
    .hl-tenure-wrap { grid-template-columns: 1fr; }
}

/* Customer application list rows */
.lsfl-app-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0, 59, 122, 0.08);
    transition: background 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.lsfl-app-row.is-last,
.lsfl-app-row:last-child {
    border-bottom: 0;
}

.lsfl-app-row:hover,
.lsfl-app-row:focus-visible {
    background: linear-gradient(90deg, rgba(0, 59, 122, 0.05), rgba(212, 175, 55, 0.08));
    color: inherit;
    outline: none;
}

.lsfl-app-row-main {
    min-width: 0;
}

.lsfl-app-row-ref {
    font-weight: 700;
    font-size: 1.05rem;
    color: #002952;
    letter-spacing: 0.02em;
    text-decoration: underline;
    text-decoration-color: rgba(0, 59, 122, 0.25);
    text-underline-offset: 3px;
}

.lsfl-app-row:hover .lsfl-app-row-ref {
    color: #003B7A;
    text-decoration-color: #D4AF37;
}

.lsfl-app-row-meta {
    font-size: 0.82rem;
    color: #6b7c90;
    margin-top: 0.2rem;
}

.lsfl-app-row-alert {
    font-size: 0.8rem;
    color: #b02a37;
    margin-top: 0.35rem;
    font-weight: 600;
}

.lsfl-app-row-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

.lsfl-app-row-cta {
    font-size: 0.82rem;
    font-weight: 700;
    color: #003B7A;
}

.lsfl-app-row:hover .lsfl-app-row-cta {
    color: #002952;
}

@media (max-width: 575.98px) {
    .lsfl-app-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .lsfl-app-row-side {
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
}

/* Application / document status pills */
.lsfl-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.lsfl-status--new {
    background: rgba(0, 59, 122, 0.12);
    color: #003B7A;
}

.lsfl-status--review {
    background: rgba(13, 110, 253, 0.12);
    color: #0a58ca;
}

.lsfl-status--docs {
    background: rgba(255, 193, 7, 0.22);
    color: #8a6d00;
}

.lsfl-status--ok {
    background: rgba(25, 135, 84, 0.14);
    color: #146c43;
}

.lsfl-status--bad {
    background: rgba(220, 53, 69, 0.14);
    color: #b02a37;
}

.lsfl-status--muted {
    background: #eef2f7;
    color: #5c6b7a;
}

.lsfl-app-row-status-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.lsfl-app-row-status-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7c90;
}

.lsfl-status-hero {
    border-radius: 1.1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid transparent;
    box-shadow: 0 14px 32px rgba(0, 59, 122, 0.07);
}

.lsfl-status-hero.lsfl-status--new {
    background: linear-gradient(135deg, #eef4fb, #f8fbff);
    border-color: rgba(0, 59, 122, 0.12);
    color: #002952;
}

.lsfl-status-hero.lsfl-status--review {
    background: linear-gradient(135deg, #eaf2ff, #f7faff);
    border-color: rgba(13, 110, 253, 0.18);
    color: #052c65;
}

.lsfl-status-hero.lsfl-status--docs {
    background: linear-gradient(135deg, #fff8e6, #fffdf7);
    border-color: rgba(255, 193, 7, 0.35);
    color: #664d03;
}

.lsfl-status-hero.lsfl-status--ok {
    background: linear-gradient(135deg, #e8f7ef, #f6fcf8);
    border-color: rgba(25, 135, 84, 0.2);
    color: #0f5132;
}

.lsfl-status-hero.lsfl-status--bad,
.lsfl-status-hero.lsfl-status--muted {
    background: linear-gradient(135deg, #f8f9fb, #fff);
    border-color: rgba(0, 59, 122, 0.1);
    color: #002952;
}

.lsfl-status-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.lsfl-status-hero-pill {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0.55rem 0.85rem;
    min-width: 9rem;
}

.lsfl-status-tracker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.lsfl-status-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7c90;
}

.lsfl-status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #c5d0dc;
}

.lsfl-status-step.is-done {
    color: #146c43;
}

.lsfl-status-step.is-done .lsfl-status-dot {
    background: #198754;
}

.lsfl-status-step.is-current {
    color: #002952;
    border-color: rgba(0, 59, 122, 0.25);
    background: #fff;
}

.lsfl-status-step.is-current .lsfl-status-dot {
    background: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

/* Document view / download actions (panel light backgrounds) */
.lsfl-doc-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lsfl-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid transparent;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lsfl-doc-btn:hover {
    transform: translateY(-1px);
}

.lsfl-doc-btn--view {
    background: #fff;
    color: #003B7A;
    border-color: rgba(0, 59, 122, 0.28);
}

.lsfl-doc-btn--view:hover {
    background: #f0f5fb;
    color: #002952;
}

.lsfl-doc-btn--download {
    background: #003B7A;
    color: #fff !important;
    border-color: #003B7A;
    box-shadow: 0 6px 14px rgba(0, 59, 122, 0.2);
}

.lsfl-doc-btn--download:hover {
    background: #002952;
    color: #fff !important;
}

/* ===== Admin home loan application review ===== */
.hl-admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hl-admin-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #5c6b7a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.hl-admin-back:hover { color: #003B7A; }

.hl-admin-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hl-admin-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212, 175, 55, 0.18), transparent 55%),
        linear-gradient(135deg, #002952 0%, #003B7A 55%, #0a4f6e 100%);
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 18px 40px rgba(0, 41, 82, 0.22);
}

.hl-admin-hero-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.95);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hl-admin-ref {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hl-admin-applicant {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.92);
}

.hl-admin-applicant a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
}

.hl-admin-applicant a:hover { text-decoration: underline; }

.hl-admin-meta {
    margin-top: 0.55rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.68);
}

.hl-admin-hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.hl-admin-metric {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    backdrop-filter: blur(6px);
}

.hl-admin-metric span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.2rem;
}

.hl-admin-metric strong {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.hl-admin-mini-stat {
    background: #fff;
    border: 1px solid rgba(0, 59, 122, 0.08);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    box-shadow: 0 10px 24px rgba(0, 41, 82, 0.05);
}

.hl-admin-mini-stat span {
    display: block;
    font-size: 0.75rem;
    color: #6b7c90;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.hl-admin-mini-stat strong {
    font-size: 1.45rem;
    color: #002952;
}

.hl-admin-mini-stat.is-ok strong { color: #146c43; }
.hl-admin-mini-stat.is-warn strong { color: #8a6d00; }
.hl-admin-mini-stat.is-bad strong { color: #b02a37; }

.hl-admin-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f7;
}

.hl-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hl-admin-field {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
}

.hl-admin-field--wide { grid-column: 1 / -1; }

.hl-admin-field span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7c90;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hl-admin-field strong {
    font-size: 0.95rem;
    color: #002952;
    font-weight: 600;
    word-break: break-word;
}

.hl-admin-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hl-admin-doc {
    border: 1px solid rgba(0, 59, 122, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hl-admin-doc:hover {
    border-color: rgba(0, 59, 122, 0.22);
    box-shadow: 0 12px 28px rgba(0, 41, 82, 0.08);
}

.hl-admin-doc.is-approved {
    border-color: rgba(25, 135, 84, 0.35);
}

.hl-admin-doc.is-reupload {
    border-color: rgba(220, 53, 69, 0.4);
}

.hl-admin-doc-preview {
    height: 150px;
    background: #eef3f9;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hl-admin-doc-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hl-admin-doc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #003B7A;
    font-weight: 700;
}

.hl-admin-doc-placeholder i { font-size: 1.8rem; }
.hl-admin-doc-placeholder.is-empty { color: #8a97a8; }

.hl-admin-doc-body {
    padding: 0.95rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hl-admin-doc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #002952;
    margin: 0;
}

.hl-admin-doc-file {
    font-size: 0.75rem;
    color: #6b7c90;
    margin-top: 0.15rem;
    word-break: break-all;
}

.hl-admin-doc-note {
    margin-top: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: #fff5f5;
    color: #842029;
    font-size: 0.8rem;
}

.hl-admin-doc-review {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem;
}

.hl-admin-approve {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: #198754;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
}

.hl-admin-approve:disabled {
    background: #a3cfbb;
    cursor: default;
}

.hl-admin-reupload summary {
    list-style: none;
    cursor: pointer;
    color: #b02a37;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hl-admin-reupload summary::-webkit-details-marker { display: none; }

.hl-admin-sticky {
    position: sticky;
    top: 1rem;
}

.hl-admin-side-help {
    background: #f7f9fc;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    border: 1px solid #e4ebf3;
}

.hl-admin-timeline {
    position: relative;
    padding-left: 0.25rem;
}

.hl-admin-timeline-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 0.75rem;
    padding-bottom: 1.15rem;
    position: relative;
}

.hl-admin-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 14px;
    bottom: 0;
    width: 2px;
    background: #e4ebf3;
}

.hl-admin-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D4AF37;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(0, 59, 122, 0.2);
    margin-top: 4px;
}

.hl-admin-timeline-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    font-size: 0.82rem;
    color: #003B7A;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .hl-admin-hero {
        grid-template-columns: 1fr;
    }
    .hl-admin-sticky { position: static; }
}

@media (max-width: 767.98px) {
    .hl-admin-doc-grid,
    .hl-admin-grid,
    .hl-admin-hero-metrics {
        grid-template-columns: 1fr;
    }
    .hl-admin-hero { padding: 1.2rem; }
    .hl-admin-ref { font-size: 1.3rem; }
}
