/* ==========================================================================
   MPBMC portal theme  (plain CSS - no build step needed)
   Palette: navy sidebar, clean light canvas, blue primary, BMC yellow accent
   ========================================================================== */

:root {
    --t-navy-900: #0b2239;
    --t-navy-800: #0f2d4a;
    --t-navy-700: #163a5f;
    --t-navy-600: #1f4b78;
    --t-primary: #1e6fd9;
    --t-primary-dark: #1859b0;
    --t-primary-soft: #e8f1fd;
    --t-accent: #f5b301;
    --t-bg: #f1f5fa;
    --t-card: #ffffff;
    --t-border: #e3e9f1;
    --t-text: #1c2b3a;
    --t-muted: #64748b;
    --t-radius: 14px;
    --t-shadow: 0 1px 2px rgba(15, 45, 74, .06), 0 4px 14px rgba(15, 45, 74, .06);
}

/* ---------- Base canvas ---------- */
html, body.t-body {
    background: var(--t-bg) !important;
}
body.t-body {
    color: var(--t-text);
    font-family: 'Figtree', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
}
.t-shell {
    min-height: 100vh;
    background:
        radial-gradient(900px 400px at 100% 0%, rgba(30, 111, 217, .08), transparent 60%),
        radial-gradient(700px 360px at 0% 100%, rgba(245, 179, 1, .07), transparent 60%),
        var(--t-bg);
}

/* ---------- Top navbar ---------- */
.t-nav {
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--t-border);
    box-shadow: 0 1px 0 rgba(15, 45, 74, .03);
}
.t-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-right: 8px;
    white-space: nowrap;
}
.t-pill--role { background: var(--t-primary-soft); color: var(--t-primary-dark); }
.t-pill--info { background: #eaf7ef; color: #1b7a43; }
.t-pill--warn { background: #fff6dc; color: #8a6200; }
.t-clock { color: var(--t-navy-700); font-weight: 600; font-size: 13px; padding: 0 16px; }

/* ---------- Sidebar ---------- */
.t-sidebar {
    background: linear-gradient(180deg, var(--t-navy-800) 0%, var(--t-navy-900) 100%);
    color: #cfdcec;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(11, 34, 57, .25);
}
.t-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    margin: 12px 12px 4px;
    padding: 10px;
    border-radius: 14px;
}
.t-brand img { max-height: 76px; width: auto; }
.t-menu { padding: 10px 8px 16px; }
.t-menu-label {
    padding: 14px 14px 6px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7f98b5;
    font-weight: 700;
}
.t-item,
.t-dd-btn {
    display: flex;
    align-items: center;
    width: calc(100% - 8px);
    margin: 3px 4px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #cfdcec;
    font-weight: 600;
    font-size: 14.5px;
    text-align: left;
    transition: background .15s ease, color .15s ease;
    border-left: 3px solid transparent;
}
.t-item:hover,
.t-dd-btn:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.t-item.is-active,
.t-dd-btn.is-active {
    background: rgba(30, 111, 217, .28);
    color: #fff;
    border-left-color: var(--t-accent);
}
.t-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    margin-right: 10px;
    font-size: 19px;
    color: #8fb4de;
}
.t-item.is-active .t-ico,
.t-dd-btn.is-active .t-ico { color: var(--t-accent); }
.t-chev { margin-left: auto; font-size: 18px; opacity: .7; }
.t-sub { margin: 2px 4px 6px 26px; padding-left: 12px; border-left: 1px dashed rgba(255, 255, 255, .15); }
.t-subitem {
    display: block;
    margin: 2px 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #aebfd4;
    transition: background .15s ease, color .15s ease;
}
.t-subitem:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.t-subitem.is-active { color: var(--t-accent); font-weight: 700; background: rgba(255, 255, 255, .05); }

/* ---------- Content area ---------- */
.t-main { padding: 24px; }
.t-card {
    background: var(--t-card);
    border: 1px solid var(--t-border);
    border-radius: var(--t-radius);
    box-shadow: var(--t-shadow);
}

/* ---------- Filament tables ---------- */
.fi-ta-ctn {
    background: var(--t-card) !important;
    border: 1px solid var(--t-border) !important;
    border-radius: var(--t-radius) !important;
    box-shadow: var(--t-shadow) !important;
    overflow: hidden;
    --tw-ring-shadow: 0 0 #0000 !important;
    --tw-ring-color: transparent !important;
}
.fi-ta-header-ctn { border-bottom: 1px solid var(--t-border) !important; }
.fi-ta-header-heading {
    color: var(--t-navy-800) !important;
    font-weight: 800 !important;
    letter-spacing: -.01em;
}
.fi-ta-table thead tr,
.fi-ta-header-cell {
    background: #f4f8fd !important;
}
.fi-ta-header-cell {
    color: var(--t-navy-700) !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700 !important;
}
.fi-ta-table tbody tr { transition: background .12s ease; }
.fi-ta-table tbody tr:nth-child(even) { background: #fafcff; }
.fi-ta-table tbody tr:hover { background: var(--t-primary-soft) !important; }
.fi-ta-cell { border-color: var(--t-border) !important; color: var(--t-text); }
.fi-ta-header-toolbar,
.fi-ta-content-ctn { border-color: var(--t-border) !important; }

/* Filament buttons & links pick up the primary colour via FilamentColor,
   these just soften the shape. */
.fi-btn { border-radius: 10px !important; font-weight: 600 !important; }
.fi-input-wrp { border-radius: 10px !important; }
.fi-modal-window { border-radius: 16px !important; }

/* ---------- Footer ---------- */
.t-footer { color: var(--t-muted); font-size: 13px; padding: 10px 0 14px; }

/* ==========================================================================
   Login page
   ========================================================================== */
body.t-auth {
    min-height: 100vh;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(30, 111, 217, .35), transparent 60%),
        radial-gradient(800px 420px at 0% 110%, rgba(245, 179, 1, .25), transparent 60%),
        linear-gradient(135deg, var(--t-navy-900), var(--t-navy-700)) !important;
}
.t-login {
    display: flex;
    width: 100%;
    max-width: 960px;
    margin: 24px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 70px rgba(5, 18, 33, .45);
}
.t-login__hero {
    display: none;
    position: relative;
    width: 46%;
    padding: 48px 36px;
    color: #fff;
    background:
        linear-gradient(160deg, rgba(11, 34, 57, .92), rgba(24, 89, 176, .88)),
        url('../bg-image.jpg') center / cover no-repeat;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.t-login__hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--t-accent), #ffd966);
}
.t-login__logo {
    background: #fff;
    padding: 12px 18px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}
.t-login__logo img { height: 84px; width: auto; display: block; }
.t-login__hero h2 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.t-login__hero p { font-size: 14.5px; line-height: 1.6; color: #d4e3f6; margin: 0; }
.t-login__form { width: 100%; padding: 48px 36px; display: flex; flex-direction: column; justify-content: center; }
.t-login__form h3 { font-size: 28px; font-weight: 800; color: var(--t-navy-800); margin: 0 0 6px; }
.t-login__form .t-sub-text { color: var(--t-muted); font-size: 14px; margin-bottom: 26px; }
.t-field { margin-bottom: 18px; }
.t-field label { display: block; font-size: 13px; font-weight: 700; color: var(--t-navy-700); margin-bottom: 6px; }
.t-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--t-border);
    background: #f8fafd;
    color: var(--t-text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.t-input:focus {
    border-color: var(--t-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 111, 217, .15);
}
.t-input-wrap { position: relative; }
.t-input-wrap .t-eye {
    position: absolute; top: 0; bottom: 0; right: 12px;
    display: flex; align-items: center;
    color: #94a3b8; cursor: pointer; background: none; border: 0;
}
.t-input-wrap .t-eye:hover { color: var(--t-primary); }
.t-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.t-link { font-size: 12.5px; font-weight: 700; color: var(--t-primary); }
.t-link:hover { color: var(--t-primary-dark); text-decoration: underline; }
.t-error { color: #dc2626; font-size: 13px; margin-top: 5px; }
.t-btn {
    width: 100%;
    margin-top: 6px;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--t-primary), var(--t-primary-dark));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(30, 111, 217, .35);
    transition: transform .12s ease, box-shadow .12s ease;
}
.t-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(30, 111, 217, .42); }

@media (min-width: 768px) {
    .t-login__hero { display: flex; }
    .t-login__form { width: 54%; }
}
@media (max-width: 767px) {
    .t-login { margin: 16px; }
    .t-login__form { padding: 32px 22px; }
}
body.t-auth footer, body.t-auth footer * { color: #cfe0f5 !important; }
body.t-auth footer a { color: var(--t-accent) !important; }

/* ---------- Dark mode (toggle sets .dark on <html>) ---------- */
.dark body.t-body, .dark .t-shell { background: #0e1a28 !important; color: #e2e8f0; }
.dark .t-nav { background: rgba(15, 29, 46, .92) !important; border-color: #1f3248; }
.dark .t-card, .dark .fi-ta-ctn { background: #132235 !important; border-color: #1f3248 !important; }
.dark .fi-ta-header-cell, .dark .fi-ta-table thead tr { background: #172b42 !important; }
.dark .fi-ta-table tbody tr:nth-child(even) { background: #112031; }
.dark .fi-ta-table tbody tr:hover { background: #1a3350 !important; }

/* ==========================================================================
   Find ward & zone by lat/long popup (Wards page)
   ========================================================================== */
.t-locator-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.t-locator-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border: 0; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, var(--t-primary), var(--t-primary-dark));
    color: #fff; font-weight: 700; font-size: 14px;
    box-shadow: 0 6px 16px rgba(30, 111, 217, .30);
    transition: transform .12s ease, box-shadow .12s ease;
}
.t-locator-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(30, 111, 217, .38); }
.t-locator-btn .mdi { font-size: 18px; }

.t-modal-backdrop {
    position: fixed; inset: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(11, 34, 57, .55); backdrop-filter: blur(2px);
}
.t-modal {
    width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto;
    background: #fff; border-radius: 18px;
    box-shadow: 0 30px 70px rgba(5, 18, 33, .45);
}
.t-modal__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--t-border);
}
.t-modal__head h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--t-navy-800); }
.t-modal__close { border: 0; background: none; font-size: 26px; line-height: 1; color: #94a3b8; cursor: pointer; }
.t-modal__close:hover { color: var(--t-navy-800); }
.t-modal__body { padding: 18px 20px; }
.t-modal__hint { margin: 0 0 14px; font-size: 13.5px; color: var(--t-muted); }
.t-modal__form .t-field { margin-bottom: 14px; }
.t-modal__foot { display: flex; justify-content: flex-end; padding: 12px 20px 16px; border-top: 1px solid var(--t-border); }
.t-modal__btn-light {
    padding: 9px 18px; border-radius: 10px; border: 1.5px solid var(--t-border);
    background: #fff; color: var(--t-navy-700); font-weight: 700; cursor: pointer;
}
.t-modal__btn-light:hover { background: var(--t-primary-soft); }

.t-result { margin-top: 18px; padding: 14px 16px; border-radius: 14px; }
.t-result--ok  { background: #effaf3; border: 1px solid #b9e6c9; }
.t-result--bad { background: #fff1f1; border: 1px solid #f3c1c1; }
.t-result__title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.t-result--ok  .t-result__title { color: #1b7a43; }
.t-result--bad .t-result__title { color: #b42318; }
.t-result__sub { margin: 4px 0 10px; font-size: 13px; color: var(--t-muted); }
.t-result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 10px; }
.t-result__grid dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--t-muted); font-weight: 700; }
.t-result__grid dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--t-navy-800); }
.t-result__note { margin: 0 0 8px; font-size: 12.5px; color: #8a6200; background: #fff6dc; padding: 6px 10px; border-radius: 8px; }
.dark .t-modal { background: #132235; }
.dark .t-modal__head h3, .dark .t-result__grid dd { color: #e2e8f0; }

.t-match { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid #cfe9d8; }
.t-match__badge { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--t-primary-soft); color: var(--t-primary-dark); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.t-modal__body { max-height: 70vh; overflow-y: auto; }
.dark .t-match { background: #172b42; border-color: #1f3248; }

/* ==========================================================================
   Spot Fine ticket view page
   ========================================================================== */
.t-view { max-width: 1200px; margin: 0 auto; }
.t-view__top { margin-bottom: 16px; }
.t-view__back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--t-primary); }
.t-view__back:hover { text-decoration: underline; }
.t-view__title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.t-view__title h2 { margin: 0; font-size: 26px; font-weight: 800; color: var(--t-navy-800); }
.t-view__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.t-badge { display: inline-flex; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.t-badge--status { background: var(--t-primary-soft); color: var(--t-primary-dark); }
.t-badge--ok { background: #e6f7ee; color: #1b7a43; }
.t-badge--warn { background: #fff3d6; color: #8a6200; }
.t-view__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.t-view__card { padding: 18px 20px; }
.t-view__card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--t-navy-800); display: flex; align-items: center; gap: 8px; }
.t-view__card h3 .mdi { color: var(--t-primary); font-size: 19px; }
.t-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 0; }
.t-dl dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--t-muted); font-weight: 700; }
.t-dl dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 600; color: var(--t-text); overflow-wrap: anywhere; }
.t-dl__wide { grid-column: 1 / -1; }
.t-dl__big { font-size: 20px !important; font-weight: 800 !important; color: var(--t-navy-800); }
.t-muted { color: var(--t-muted); font-size: 13.5px; margin: 0; }
.t-view__full { margin-bottom: 12px; }
.t-view__tablewrap { overflow-x: auto; border: 1px solid var(--t-border); border-radius: 12px; }
.t-view__table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t-view__table th { background: #f4f8fd; color: var(--t-navy-700); text-align: left; padding: 9px 12px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.t-view__table td { padding: 9px 12px; border-top: 1px solid var(--t-border); white-space: nowrap; }
.t-view__foot { text-align: right; margin-top: 4px; }
@media (max-width: 800px) {
    .t-view__grid { grid-template-columns: 1fr; }
    .t-dl { grid-template-columns: 1fr; }
}
.dark .t-dl dd, .dark .t-dl__big, .dark .t-view__title h2, .dark .t-view__card h3 { color: #e2e8f0; }

/* ==========================================================================
   Dashboard stat cards
   ========================================================================== */
.t-dash { max-width: 1200px; margin: 0 auto; }
.t-dash__head { margin-bottom: 18px; }
.t-dash__head h2 { margin: 0; font-size: 26px; font-weight: 800; color: var(--t-navy-800); }
.t-dash__head p { margin: 2px 0 0; color: var(--t-muted); font-size: 14px; }
.t-dash__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.t-stat {
    display: flex; align-items: center; gap: 16px;
    padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--t-border);
    box-shadow: var(--t-shadow); position: relative; overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.t-stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--t-primary)); }
.t-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 45, 74, .14); }
.t-stat__icon {
    flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    color: var(--c, var(--t-primary)); background: color-mix(in srgb, var(--c, var(--t-primary)) 14%, white);
}
.t-stat__label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--t-muted); }
.t-stat__value { margin-top: 2px; font-size: 28px; font-weight: 800; color: var(--t-navy-800); line-height: 1.15; overflow-wrap: anywhere; }
.t-stat__hint { margin-top: 2px; font-size: 12.5px; color: var(--t-muted); }
.t-stat--blue   { --c: #1e6fd9; }
.t-stat--green  { --c: #16a34a; }
.t-stat--amber  { --c: #d99100; }
.t-stat--purple { --c: #7c3aed; }
@media (max-width: 1100px) { .t-dash__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .t-dash__grid { grid-template-columns: 1fr; } }
.dark .t-stat { background: #132235; border-color: #1f3248; }
.dark .t-stat__value, .dark .t-dash__head h2 { color: #e2e8f0; }

.t-dash__recent { margin-top: 22px; padding: 18px 20px; }
.t-dash__recent-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.t-dash__recent-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--t-navy-800); display: flex; align-items: center; gap: 8px; }
.t-dash__recent-head h3 .mdi { color: var(--t-primary); font-size: 20px; }
.dark .t-dash__recent-head h3 { color: #e2e8f0; }

/* ==========================================================================
   Profile page
   ========================================================================== */
.t-profile__head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.t-profile__avatar {
    width: 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--t-primary), var(--t-navy-700));
}
.t-profile__head h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--t-navy-800); }
.t-profile__head p { margin: 2px 0 0; font-size: 13.5px; color: var(--t-muted); }
.t-profile__head .t-badge { margin-left: auto; }
.t-profile__form { padding: 16px; border: 1px solid var(--t-border); border-radius: 14px; background: #f8fafd; }
.t-profile__edit { font-weight: 600; color: var(--t-primary); font-size: 12px; }
.t-profile__actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.t-btn--auto { width: auto; margin-top: 0; padding: 10px 26px; }
.t-profile__sub { margin: 22px 0 10px; font-size: 15px; font-weight: 800; color: var(--t-navy-800); }
.t-profile__sub span { font-weight: 600; font-size: 12px; color: var(--t-muted); }
.t-profile__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px; border: 1px solid var(--t-border); border-radius: 14px; background: #fff; }
@media (max-width: 800px) { .t-profile__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .t-profile__grid { grid-template-columns: 1fr; } }
.dark .t-profile__head h2, .dark .t-profile__sub { color: #e2e8f0; }
.dark .t-profile__form, .dark .t-profile__grid { background: #132235; border-color: #1f3248; }

/* ==========================================================================
   Login page - polished version
   ========================================================================== */
body.t-auth { position: relative; overflow-x: hidden; }
body.t-auth::before, body.t-auth::after {
    content: ''; position: fixed; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
}
body.t-auth::before { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, #3b8cff 0%, transparent 70%); animation: t-float 14s ease-in-out infinite; }
body.t-auth::after  { width: 460px; height: 460px; bottom: -160px; left: -120px; background: radial-gradient(circle, #f5b301 0%, transparent 70%); animation: t-float 18s ease-in-out infinite reverse; opacity: .35; }
body.t-auth > div { position: relative; z-index: 1; }
@keyframes t-float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-18px) scale(1.06); } }
@keyframes t-rise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.t-login--pro { max-width: 1020px; min-height: 600px; border-radius: 28px; animation: t-rise .55s ease both; box-shadow: 0 40px 90px rgba(3, 12, 24, .55), 0 0 0 1px rgba(255,255,255,.06); }
.t-login--pro .t-login__hero {
    width: 48%; padding: 46px 40px; align-items: stretch; text-align: left; justify-content: center;
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(245, 179, 1, .22), transparent 60%),
        linear-gradient(155deg, rgba(8, 28, 48, .96), rgba(22, 80, 160, .92)),
        url('../bg-image.jpg') center / cover no-repeat;
}
.t-login--pro .t-login__hero::before {
    content: ''; position: absolute; inset: 0; opacity: .08; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
    background-size: 34px 34px;
}
.t-login__hero-inner { position: relative; z-index: 1; }
.t-login--pro .t-login__logo { display: inline-block; margin-bottom: 22px; }
.t-login--pro .t-login__logo img { height: 74px; }
.t-login--pro .t-login__hero h2 { font-size: 22px; line-height: 1.25; margin: 0; }
.t-login__hindi { margin: 4px 0 0 !important; font-size: 15px !important; color: #ffd966 !important; font-weight: 600; }
.t-login__rule { width: 54px; height: 4px; border-radius: 4px; margin: 22px 0; background: linear-gradient(90deg, var(--t-accent), #ffd966); }
.t-login__headline { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.t-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.t-features li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.t-features__icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 21px; color: var(--t-accent); background: rgba(255,255,255,.12); }
.t-features strong { display: block; font-size: 14.5px; color: #fff; }
.t-features small { display: block; margin-top: 1px; font-size: 12.5px; color: #cfe0f5; }

.t-login--pro .t-login__form { width: 52%; padding: 46px 46px; }
.t-secure { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #1b7a43; background: #e7f7ee; }
.t-login--pro .t-login__form h3 { font-size: 30px; }
.t-input-wrap .t-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #94a3b8; pointer-events: none; transition: color .15s ease; }
.t-input-wrap:focus-within .t-icon { color: var(--t-primary); }
.t-input--icon { padding-left: 44px; }
.t-input--eye { padding-right: 46px; }
.t-row--opts { margin: 4px 0 18px; }
.t-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--t-navy-700); margin: 0; }
.t-check input { width: 17px; height: 17px; accent-color: var(--t-primary); cursor: pointer; }
.t-btn--arrow { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 0; padding: 14px 16px; font-size: 15.5px; }
.t-btn--arrow .mdi { font-size: 19px; vertical-align: -3px; transition: transform .15s ease; }
.t-btn--arrow:hover .mdi-arrow-right { transform: translateX(4px); }
.t-btn--arrow[disabled] { opacity: .75; cursor: wait; }
.t-login__note { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--t-muted); }

@media (max-width: 900px) {
    .t-login--pro .t-login__hero { display: none; }
    .t-login--pro .t-login__form { width: 100%; padding: 34px 26px; }
    .t-login--pro { max-width: 460px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    body.t-auth::before, body.t-auth::after, .t-login--pro { animation: none; }
}

/* login: logo + brand text centered */
.t-login--pro .t-login__logo { display: flex; justify-content: center; align-items: center; width: fit-content; margin: 0 auto 22px; }
.t-login--pro .t-login__hero h2, .t-login--pro .t-login__hindi, .t-login--pro .t-login__headline { text-align: center; }
.t-login--pro .t-login__rule { margin-left: auto; margin-right: auto; }

/* footer: space above and below so it never touches the content above */
.t-footer { margin-top: 36px; padding: 16px 12px 28px; line-height: 1.7; border-top: 1px solid var(--t-border); }
.t-footer a { white-space: nowrap; }
body.t-auth .t-footer { border-top-color: rgba(255,255,255,.14); margin-top: 0; }

/* sticky footer: the page is a full-height column, the content grows, the footer stays at the bottom */
.t-page { display: flex; flex-direction: column; min-height: 100vh; }
.t-page > .t-content { flex: 1 1 auto; }
.t-page > .t-footer { margin-top: 0; width: 100%; }

/* ==========================================================================
   Policy pages (/privacy-policy, /refund-return, /terms-contact)
   ========================================================================== */
.t-policy { width: 100%; max-width: 980px; margin: 0 auto; padding: 32px 16px 24px; }
.t-policy__card {
    background: var(--t-card); color: var(--t-text);
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 30px 70px rgba(3, 12, 24, .5), 0 0 0 1px rgba(255, 255, 255, .06);
    animation: t-rise .5s ease both;
}
.t-policy__head {
    padding: 28px 36px 20px; color: #fff;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(245, 179, 1, .25), transparent 60%),
        linear-gradient(135deg, var(--t-navy-800), var(--t-primary-dark));
}
.t-policy__back { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: #cfe0f5; text-decoration: none; }
.t-policy__back:hover { color: var(--t-accent); }
.t-policy__title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.25; }
.t-policy__title small { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; color: #cfe0f5; }
.t-policy__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.t-policy__tab {
    padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none;
    color: #e6eefb; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18);
}
.t-policy__tab:hover { background: rgba(255, 255, 255, .22); }
.t-policy__tab.is-active { background: var(--t-accent); border-color: var(--t-accent); color: #1c2b3a; }
.t-policy__body { padding: 8px 36px 32px; }
.t-policy__sec { padding: 24px 0; border-bottom: 1px solid var(--t-border); }
.t-policy__sec:last-child { border-bottom: 0; }
.t-policy__sec h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 14px; font-size: 19px; font-weight: 700; color: var(--t-navy-800); }
.t-policy__sec h2 .t-policy__ico {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border-radius: 10px; background: var(--t-primary-soft); font-size: 19px;
}
.t-policy__sec h2 small { font-size: 15px; font-weight: 600; color: var(--t-muted); }
.t-policy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.t-policy__cols > div { font-size: 14.5px; line-height: 1.7; color: #334155; }
.t-policy__cols > div p { margin: 0 0 10px; }
.t-policy__cols > div p:last-child { margin-bottom: 0; }
.t-policy__lang { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--t-primary); }
.t-policy__contact { display: grid; gap: 12px; margin: 0 0 18px; }
.t-policy__contact div { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--t-border); border-radius: 12px; background: #f8fafd; font-size: 14.5px; line-height: 1.55; }
.t-policy__contact strong { flex: 0 0 150px; color: var(--t-navy-700); }
.t-policy__map { width: 100%; height: 300px; border: 0; border-radius: 14px; box-shadow: var(--t-shadow); }
@media (max-width: 720px) {
    .t-policy { padding: 16px 10px; }
    .t-policy__head { padding: 22px 20px 16px; }
    .t-policy__title { font-size: 21px; }
    .t-policy__body { padding: 4px 20px 24px; }
    .t-policy__cols { grid-template-columns: 1fr; }
    .t-policy__contact div { flex-direction: column; gap: 2px; }
    .t-policy__contact strong { flex-basis: auto; }
}
