@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

/* BrandX shared application shell */
:root {
    --govix-orange: #079455;
    --govix-orange-dark: #067647;
    --govix-orange-soft: #ecfdf3;
    --govix-navy: #0b1f38;
    --govix-canvas: #f5f7fb;
    --govix-border: #e4e9f1;
    --govix-shadow: 0 12px 34px -22px rgba(15, 35, 61, 0.32);
}

.govix-app-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 48% -15%, rgba(219, 231, 248, 0.65), transparent 38rem),
        var(--govix-canvas);
    font-family: Arial, Helvetica, sans-serif;
}

.govix-app-shell .font-black,
.govix-app-shell .font-extrabold {
    font-weight: 700;
}

.govix-topbar {
    z-index: 40 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 12px 12px 0;
}

.govix-topbar-inner {
    min-height: 62px;
    height: auto !important;
    gap: 12px;
    padding: 0 !important;
}

.govix-header-card {
    min-height: 60px;
    border: 1px solid var(--govix-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--govix-shadow);
    backdrop-filter: blur(18px);
}

.govix-context-card {
    flex-shrink: 0;
    padding: 9px 13px;
}

.govix-search-card {
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 12px;
}

.govix-search-card input {
    min-height: 42px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.govix-date-card {
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    color: var(--govix-navy);
    font-size: 12px;
    font-weight: 600;
}

.govix-actions-card {
    flex-shrink: 0;
    padding: 7px 9px;
}

.govix-app-shell .govix-primary-action,
.govix-app-shell .bg-sky-600,
.govix-app-shell .bg-orange-600 {
    background-color: var(--govix-orange) !important;
}

.govix-app-shell .govix-primary-action:hover,
.govix-app-shell .hover\:bg-sky-700:hover,
.govix-app-shell .hover\:bg-sky-500:hover,
.govix-app-shell .hover\:bg-orange-700:hover {
    background-color: var(--govix-orange-dark) !important;
}

.govix-app-shell .text-sky-600,
.govix-app-shell .text-sky-500,
.govix-app-shell .text-orange-600 {
    color: var(--govix-orange) !important;
}

.govix-app-shell .focus\:ring-sky-500:focus {
    --tw-ring-color: rgba(7, 148, 85, 0.22) !important;
}

.govix-mobile-overlay {
    background: rgba(11, 31, 56, 0.42);
    backdrop-filter: blur(3px);
}

.govix-sidebar {
    z-index: 50 !important;
    width: 248px !important;
    border: 1px solid var(--govix-border) !important;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 60px -30px rgba(11, 31, 56, 0.42);
    overflow: hidden;
}

.govix-sidebar-brand {
    min-height: 80px;
    border-bottom: 1px solid #edf0f5;
    background: #ffffff;
}

.govix-brand-symbol {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    border-radius: 11px;
    background: var(--govix-navy);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 8px 18px -9px rgba(11, 31, 56, 0.7);
}

.govix-brand-symbol::before {
    position: absolute;
    top: -8px;
    right: -9px;
    width: 28px;
    height: 24px;
    border-radius: 6px;
    background: var(--govix-orange);
    content: '';
    transform: rotate(-25deg);
}

.govix-brand-symbol span {
    position: relative;
}

.govix-sidebar-scroll {
    scrollbar-color: #d8dee8 transparent;
    scrollbar-width: thin;
}

.govix-sidebar nav a {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #445066;
    font-size: 12px;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.govix-sidebar nav a:hover {
    background: #f7f9fc !important;
    color: var(--govix-navy) !important;
    transform: translateX(2px);
}

.govix-sidebar nav a.bg-sky-600,
.govix-sidebar nav a.bg-orange-600 {
    border-color: #a6f4c5 !important;
    background: var(--govix-orange-soft) !important;
    color: var(--govix-orange) !important;
    box-shadow: inset 3px 0 0 var(--govix-orange) !important;
}

.govix-sidebar nav a svg {
    color: currentColor;
}

.govix-sidebar-footer {
    margin: 0 12px 12px;
    border: 1px solid var(--govix-border) !important;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff, #f9fbfe);
}

.govix-workspace {
    overflow: visible !important;
}

.govix-main {
    min-width: 0;
    overflow: visible !important;
    color: #364258;
}

.govix-main .rounded-3xl {
    border-radius: 14px;
}

.govix-main .rounded-2xl {
    border-radius: 13px;
}

.govix-main .bg-white,
.govix-main .dark\:bg-slate-800 {
    border-color: var(--govix-border);
    box-shadow: var(--govix-shadow);
}

.govix-main input:not([type='checkbox']):not([type='radio']):not([type='color']),
.govix-main select,
.govix-main textarea {
    border-color: #dfe5ee;
    border-radius: 11px;
}

.govix-main table {
    border-collapse: separate;
    border-spacing: 0;
}

.govix-main thead {
    background: #f8fafc;
    color: #667085;
}

.govix-main tbody tr {
    transition: background-color 150ms ease;
}

.govix-main tbody tr:hover {
    background: #fffaf7;
}

.govix-page-hero {
    border: 1px solid var(--govix-border) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--govix-navy) !important;
    box-shadow: var(--govix-shadow) !important;
}

.govix-page-hero p,
.govix-page-hero span:not(.text-emerald-500):not(.text-rose-500) {
    color: #667085 !important;
}

.govix-page-hero .bg-slate-900\/80,
.govix-page-hero .bg-slate-800 {
    border-color: var(--govix-border) !important;
    background: #f8fafc !important;
}

@media (min-width: 1024px) {
    .govix-sidebar {
        position: fixed;
        top: 16px;
        bottom: 16px;
        left: 16px;
        display: flex !important;
        height: auto;
    }

    [dir='rtl'] .govix-sidebar {
        right: 16px;
        left: auto;
    }

    .govix-topbar,
    .govix-main {
        margin-left: 276px;
    }

    [dir='rtl'] .govix-topbar,
    [dir='rtl'] .govix-main {
        margin-right: 276px;
        margin-left: 0;
    }

    .govix-topbar {
        padding: 16px 16px 0 0;
    }

    [dir='rtl'] .govix-topbar {
        padding: 16px 0 0 16px;
    }

    .govix-main {
        padding: 24px 16px 36px 0 !important;
    }

    [dir='rtl'] .govix-main {
        padding: 24px 0 36px 16px !important;
    }

    .govix-sidebar-collapsed .govix-sidebar {
        width: 78px !important;
    }

    .govix-sidebar-collapsed .govix-topbar,
    .govix-sidebar-collapsed .govix-main {
        margin-left: 106px;
    }

    [dir='rtl'] .govix-sidebar-collapsed .govix-topbar,
    [dir='rtl'] .govix-sidebar-collapsed .govix-main {
        margin-right: 106px;
        margin-left: 0;
    }
}

@media (max-width: 1023px) {
    .govix-sidebar {
        position: fixed !important;
        top: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        width: min(280px, calc(100vw - 24px)) !important;
        height: auto !important;
    }

    [dir='rtl'] .govix-sidebar {
        right: 12px !important;
        left: auto !important;
    }

    .govix-topbar-inner {
        flex-wrap: wrap;
    }

    .govix-context-card {
        flex: 1;
    }

    .govix-actions-card {
        margin-left: auto;
    }

    .govix-main {
        padding: 18px 12px 28px !important;
    }
}

@media (max-width: 767px) {
    .govix-topbar {
        position: relative !important;
    }

    .govix-search-card {
        order: 3;
        flex-basis: 100%;
    }

    .govix-context-card {
        min-height: 54px;
    }

    .govix-actions-card {
        min-height: 54px;
    }
}

/* BrandX authentication pages */
.auth-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 72% 12%, rgba(239, 244, 250, 0.9), transparent 30rem),
        #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.auth-visual-wash {
    background:
        linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.76) 42%, rgba(255,255,255,.18) 75%, rgba(255,255,255,.04) 100%),
        linear-gradient(180deg, rgba(255,255,255,.7) 0%, transparent 36%, rgba(255,255,255,.05) 100%);
}

.auth-wave-lines {
    border-radius: 50%;
    background: repeating-radial-gradient(ellipse at center, transparent 0 15px, rgba(7, 148, 85, .18) 16px 17px, transparent 18px 28px);
    transform: rotate(-12deg);
}

.auth-visual-curve {
    border-right: 3px solid rgba(7, 148, 85, .62);
    border-radius: 0 100% 100% 0 / 0 52% 52% 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.78));
    pointer-events: none;
}

.auth-brand-mark {
    position: relative;
    display: grid;
    width: clamp(3rem, 5vw, 4.3rem);
    height: clamp(2.4rem, 4vw, 3.4rem);
    place-items: center;
    overflow: hidden;
    border-radius: 13px 5px 13px 5px;
    background: #0b1f38;
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700;
    transform: skewX(-12deg);
}

.auth-brand-mark::before {
    position: absolute;
    top: -10px;
    left: -3px;
    width: 80%;
    height: 17px;
    border-radius: 5px;
    background: linear-gradient(90deg, #12b76a, #067647);
    content: '';
    transform: rotate(-5deg);
}

.auth-brand-mark span {
    position: relative;
    transform: skewX(12deg);
}

.auth-benefit-icon {
    display: grid;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    place-items: center;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 14px;
    background: rgba(255,255,255,.9);
    color: #079455;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 12px 30px -20px rgba(15, 35, 61, .5);
}

.auth-benefit strong,
.auth-benefit small {
    display: block;
}

.auth-benefit strong {
    color: #0b1f38;
    font-size: 13px;
}

.auth-benefit small {
    margin-top: 4px;
    color: #5f6b7d;
    font-size: 12px;
    line-height: 1.45;
}

.auth-form-side {
    position: relative;
    min-height: 100vh;
    overflow-y: auto;
    background: rgba(255,255,255,.84);
}

.auth-card {
    width: min(100%, 620px);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 28px 80px -46px rgba(15, 35, 61, .45);
    backdrop-filter: blur(18px);
}

.auth-field {
    min-height: 54px;
    border: 1px solid #d9dfe8;
    border-radius: 11px;
    background: rgba(255,255,255,.82);
    color: #0b1f38;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.auth-field:focus {
    border-color: #079455;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7, 148, 85, .1);
    outline: none;
}

.auth-submit {
    min-height: 56px;
    border-radius: 11px;
    background: #079455;
    box-shadow: 0 16px 32px -18px rgba(7, 148, 85, .55);
    transition: transform 160ms ease, filter 160ms ease;
}

.auth-submit:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.auth-secondary {
    min-height: 54px;
    border: 1px solid #079455;
    border-radius: 11px;
    background: #fff;
    color: #0b1f38;
    transition: background-color 160ms ease, color 160ms ease;
}

.auth-secondary:hover {
    background: #fff7f2;
    color: #079455;
}

@media (max-width: 1023px) {
    .auth-form-side {
        width: 100%;
        background:
            radial-gradient(circle at 50% -10%, rgba(7, 148, 85, .1), transparent 25rem),
            #f8fafc;
    }

    .auth-card {
        border-radius: 24px;
    }
}

@media (max-width: 639px) {
    .auth-card {
        border: 0;
        border-radius: 20px;
        box-shadow: 0 18px 50px -34px rgba(15, 35, 61, .4);
    }

    .auth-field,
    .auth-submit,
    .auth-secondary {
        min-height: 52px;
    }
}

/* Premium GOVIX login experience */
.login-page {
    background: #f5f7fa;
    color: #0b1f38;
}

.login-visual {
    background: #06172b;
    isolation: isolate;
}

.login-visual-overlay {
    background:
        linear-gradient(180deg, rgba(3, 16, 31, .52) 0%, rgba(4, 20, 39, .16) 43%, rgba(3, 17, 33, .88) 100%),
        linear-gradient(90deg, rgba(4, 19, 37, .82) 0%, rgba(4, 19, 37, .34) 54%, rgba(4, 19, 37, .12) 100%);
}

.login-visual-grid {
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, black, transparent 58%);
}

.login-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: white;
}

.login-hero-logo {
    display: grid;
    width: 46px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 14px 6px 14px 6px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06));
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    box-shadow: inset 0 1px rgba(255,255,255,.18), 0 14px 36px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
}

.login-hero-brand strong,
.login-hero-brand small {
    display: block;
}

.login-hero-brand strong {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.065em;
}

.login-hero-brand strong span,
.login-visual h1 span {
    color: #6ce9a6;
}

.login-hero-brand small {
    margin-top: 4px;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: .25em;
    color: rgba(255,255,255,.65);
}

.login-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(4, 20, 39, .42);
    color: rgba(255,255,255,.88);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.login-live-pill i,
.login-form-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #30d58b;
    box-shadow: 0 0 0 5px rgba(48, 213, 139, .13);
}

.login-eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.login-operations {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(6, 24, 45, .56);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px);
}

.login-operations-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.login-operations-head small,
.login-operations-head strong {
    display: block;
}

.login-operations-head small {
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.login-operations-head strong {
    margin-top: 3px;
    color: white;
    font-size: 12px;
}

.login-operations-head > span {
    border-radius: 999px;
    background: rgba(48, 213, 139, .13);
    padding: 5px 8px;
    color: #73e7b4;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}

.login-flow-row {
    display: grid;
    grid-template-columns: 34px minmax(145px, 1.2fr) minmax(70px, .8fr) 44px;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 9px 18px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.login-flow-row:last-child {
    border-bottom: 0;
}

.login-flow-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
}

.login-flow-icon.is-blue { background: rgba(56, 136, 255, .15); color: #8ab8ff; }
.login-flow-icon.is-orange { background: rgba(7, 148, 85, .16); color: #6ce9a6; }
.login-flow-icon.is-green { background: rgba(48, 213, 139, .14); color: #70e3b0; }

.login-flow-row div strong,
.login-flow-row div small {
    display: block;
}

.login-flow-row div strong { color: white; font-size: 10px; }
.login-flow-row div small { margin-top: 3px; color: rgba(255,255,255,.47); font-size: 8px; }
.login-flow-row > i { height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); }
.login-flow-row > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #12b76a, #6ce9a6); }
.login-flow-row > em { color: rgba(255,255,255,.62); font-size: 8px; font-style: normal; font-weight: 700; text-align: right; }

.login-check::before {
    display: inline-grid;
    width: 17px;
    height: 17px;
    margin-right: 7px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 999px;
    color: #6ce9a6;
    content: '\2713';
    font-size: 9px;
}

.login-form-side {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        radial-gradient(circle at 100% 0%, rgba(7, 148, 85, .075), transparent 26rem),
        linear-gradient(180deg, #fbfcfe 0%, #f5f7fa 100%);
}

.login-form-side::before {
    position: absolute;
    top: -9rem;
    right: -8rem;
    width: 24rem;
    height: 24rem;
    border: 1px solid rgba(7, 148, 85, .12);
    border-radius: 50%;
    content: '';
    box-shadow: 0 0 0 45px rgba(7, 148, 85, .018), 0 0 0 90px rgba(7, 148, 85, .014);
    pointer-events: none;
}

.login-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #0b1f38;
}

.login-mobile-brand > span {
    display: grid;
    width: 34px;
    height: 32px;
    place-items: center;
    border-radius: 10px 4px 10px 4px;
    background: #0b1f38;
    color: white;
    font-size: 16px;
    font-weight: 800;
}

.login-mobile-brand strong { letter-spacing: -.065em; }
.login-mobile-brand strong i { color: #079455; font-style: normal; }

.login-card-brand .auth-brand {
    justify-content: flex-start;
    transform: scale(.78);
    transform-origin: left center;
}

.login-form-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.login-field-wrap {
    position: relative;
}

.login-field-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 9px;
    background: #f0f3f7;
    color: #738095;
    font-size: 12px;
    font-weight: 800;
    transform: translateY(-50%);
    transition: background-color 160ms ease, color 160ms ease;
}

.login-field-icon.is-key {
    font-size: 8px;
}

.login-field {
    width: 100%;
    min-height: 58px;
    padding: 0 54px 0 58px;
    border: 1px solid #dce2ea;
    border-radius: 15px;
    background: rgba(255,255,255,.9);
    color: #0b1f38;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(15, 35, 61, .02);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.login-field::placeholder { color: #a0a9b7; }
.login-field:hover { border-color: #c9d1dc; background: white; }
.login-field:focus {
    border-color: #079455;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(7, 148, 85, .1), 0 10px 30px -22px rgba(15, 35, 61, .4);
}
.login-field-wrap:focus-within .login-field-icon { background: #ecfdf3; color: #079455; }

.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    min-width: 43px;
    border-radius: 8px;
    padding: 6px 8px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    transform: translateY(-50%);
}

.login-password-toggle:hover { background: #ecfdf3; color: #079455; }

.login-remember {
    display: inline-flex;
    cursor: pointer;
    align-items: center;
    gap: 9px;
    color: #5f6b7d;
    font-size: 12px;
    font-weight: 600;
}

.login-remember input {
    width: 17px;
    height: 17px;
    border-color: #cad2de;
    border-radius: 5px;
    color: #079455;
}

.login-encrypted {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8390a2;
    font-size: 10px;
    font-weight: 700;
}

.login-encrypted i { width: 6px; height: 6px; border-radius: 50%; background: #30b978; }

.login-submit {
    display: flex;
    min-height: 58px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
    background: #079455;
    padding: 0 9px 0 22px;
    color: white;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 18px 34px -18px rgba(7, 148, 85, .62);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.login-submit i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.17);
    font-size: 19px;
    font-style: normal;
    transition: transform 160ms ease;
}

.login-submit:hover { transform: translateY(-1px); box-shadow: 0 22px 38px -17px rgba(7, 148, 85, .66); filter: saturate(1.04); }
.login-submit:hover i { transform: translateX(2px); }
.login-submit:disabled { cursor: wait; opacity: .75; transform: none; }

.login-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 22px 0 14px;
    color: #9aa4b2;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after { height: 1px; flex: 1; background: #e1e6ed; content: ''; }

.login-otp {
    display: flex;
    min-height: 62px;
    width: 100%;
    align-items: center;
    gap: 12px;
    border: 1px solid #dce2ea;
    border-radius: 15px;
    background: rgba(255,255,255,.68);
    padding: 8px 13px;
    color: #0b1f38;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.login-otp:hover { border-color: #a6f4c5; background: #fff; transform: translateY(-1px); }
.login-otp-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 11px; background: #ecfdf3; color: #079455; font-size: 9px; font-weight: 800; }
.login-otp > span:nth-child(2) { flex: 1; }
.login-otp strong, .login-otp small { display: block; }
.login-otp strong { font-size: 12px; }
.login-otp small { margin-top: 2px; color: #8390a2; font-size: 9px; }
.login-otp > i { color: #9aa4b2; font-size: 21px; font-style: normal; }

.login-security-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 15px;
    border-radius: 14px;
    background: #eef5f2;
    padding: 12px 14px;
}

.login-security-note > span { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 7px; background: #d9eee5; color: #20855a; font-size: 10px; font-weight: 800; }
.login-security-note strong, .login-security-note small { display: block; }
.login-security-note strong { color: #285744; font-size: 10px; }
.login-security-note small { margin-top: 2px; color: #618172; font-size: 9px; line-height: 1.45; }

.login-otp-modal {
    width: min(100%, 460px);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 27px;
    background: rgba(255,255,255,.97);
    padding: 30px;
    box-shadow: 0 32px 90px -24px rgba(3, 16, 31, .55);
}

.login-modal-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    background: #f0f3f7;
    color: #64748b;
    font-size: 22px;
}

.login-modal-close:hover { background: #ecfdf3; color: #079455; }

@media (min-width: 1024px) and (max-height: 820px) {
    .login-card { transform: scale(.9); transform-origin: center; }
    .login-operations { margin-top: 1.25rem; }
    .login-visual h1 { font-size: clamp(2.4rem, 3.5vw, 4rem); }
}

@media (max-width: 1023px) {
    .login-form-side {
        background: linear-gradient(180deg, rgba(4, 20, 39, .25) 0, #f5f7fa 250px);
    }

    .login-mobile-cover {
        position: absolute;
        inset: 0 0 auto;
        height: 260px;
        background:
            linear-gradient(180deg, rgba(4, 20, 39, .18), rgba(4, 20, 39, .72)),
            var(--login-mobile-image) center 66% / cover;
    }

    .login-form-side header {
        border: 1px solid rgba(255,255,255,.65);
        border-radius: 16px;
        background: rgba(255,255,255,.9);
        padding: 9px 12px;
        box-shadow: 0 14px 32px -25px rgba(3, 16, 31, .5);
        backdrop-filter: blur(15px);
    }

    .login-card {
        margin-top: 115px;
        border: 1px solid rgba(226,232,240,.9);
        border-radius: 25px;
        background: rgba(255,255,255,.97);
        padding: 25px;
        box-shadow: 0 30px 70px -38px rgba(3, 16, 31, .5);
    }
}

@media (max-width: 520px) {
    .login-card { margin-top: 95px; padding: 22px 18px; }
    .login-encrypted { display: none; }
    .login-form-side footer { text-align: center; }
    .login-mobile-cover { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    .login-page *,
    .login-page *::before,
    .login-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Advanced BrandX ERP workspaces */
.erp-kpi-card,
.erp-panel {
    border: 1px solid #e7ebf1;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 36px -30px rgba(15, 35, 61, .46);
}

.erp-kpi-card {
    min-height: 148px;
    padding: 16px;
    border-radius: 14px;
}

.erp-kpi-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}

.erp-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #16a34a;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.erp-live-dot::before {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .1);
    content: '';
}

.erp-kpi-label {
    margin-top: 13px;
    color: #667085;
    font-size: 10px;
    font-weight: 700;
}

.erp-kpi-value {
    margin-top: 2px;
    color: #0b1f38;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.erp-kpi-note {
    display: block;
    margin-top: 5px;
    color: #98a2b3;
    font-size: 9px;
}

.erp-panel {
    padding: 18px;
    border-radius: 14px;
}

.erp-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.erp-panel-heading h2 {
    color: #0b1f38;
    font-size: 12px;
    font-weight: 800;
}

.erp-panel-heading p {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 9px;
}

.erp-panel-heading a {
    color: #2563eb;
    font-size: 9px;
    font-weight: 700;
}

.erp-status {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 8px;
    font-weight: 800;
    text-transform: capitalize;
}

.erp-status[data-status="completed"],
.erp-status[data-status="approved"],
.erp-status[data-status="submitted"],
.erp-status[data-status="delivered"],
.erp-status[data-status="verified"],
.erp-status[data-status="paid"],
.erp-status[data-status="ready"],
.erp-status[data-status="active"],
.erp-status[data-status="renewed"],
.erp-status[data-status="sent"] {
    background: #ecfdf3;
    color: #15803d;
}

.erp-status[data-status="returned"],
.erp-status[data-status="document_check"],
.erp-status[data-status="payment_pending"],
.erp-status[data-status="pending_payment"],
.erp-status[data-status="documents_pending"],
.erp-status[data-status="missing_documents"],
.erp-status[data-status="warning"],
.erp-status[data-status="paused"],
.erp-status[data-status="expiring"],
.erp-status[data-status="on_hold"],
.erp-status[data-status="scheduled"] {
    background: #fff7ed;
    color: #ea580c;
}

.erp-status[data-status="rejected"],
.erp-status[data-status="cancelled"],
.erp-status[data-status="exception"],
.erp-status[data-status="overdue"],
.erp-status[data-status="expired"] {
    background: #fff1f2;
    color: #dc2626;
}

.erp-status[data-status="processing"],
.erp-status[data-status="queued"],
.erp-status[data-status="under_review"],
.erp-status[data-status="ready_to_submit"],
.erp-status[data-status="output_pending"],
.erp-status[data-status="ready_for_delivery"],
.erp-status[data-status="on_track"],
.erp-status[data-status="renewal_in_progress"],
.erp-status[data-status="reminder_scheduled"],
.erp-status[data-status="reminder_sent"] {
    background: #eff6ff;
    color: #2563eb;
}

.erp-empty {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.erp-empty > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    background: #f8fafc;
    color: #f97316;
    font-size: 12px;
    font-weight: 800;
}

.erp-empty strong {
    margin-top: 10px;
    color: #334155;
    font-size: 11px;
}

.erp-empty p {
    max-width: 220px;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.5;
}

.erp-quick-action {
    display: flex;
    min-height: 86px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #edf0f4;
    border-radius: 13px;
    color: #475569;
    text-align: center;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.erp-quick-action:hover {
    border-color: #fed7aa;
    box-shadow: 0 10px 30px -24px rgba(249, 115, 22, .65);
    transform: translateY(-1px);
}

.erp-quick-action span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    font-size: 9px;
    font-weight: 800;
}

.erp-quick-action strong {
    font-size: 9px;
}

.erp-input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dfe4eb;
    border-radius: 11px;
    background: #fff;
    padding: 9px 12px;
    color: #0b1f38;
    font-size: 11px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.erp-input:focus {
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .1);
    outline: none;
}

.erp-select-compact {
    min-height: 32px;
    max-width: 155px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: 5px 8px;
    color: #475569;
    font-size: 9px;
    font-weight: 600;
}

.erp-filter-chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    padding: 0 10px;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
}

.erp-filter-chip:hover,
.erp-filter-chip.is-active {
    border-color: #fdba74;
    background: #fff7ed;
    color: #ea580c;
}

.typist-side-link {
    display: flex;
    min-height: 40px;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 7px 9px;
    color: #526175;
    font-size: 11px;
    font-weight: 700;
    transition: all 160ms ease;
}

.typist-side-link::before {
    content: attr(data-code);
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border-radius: 9px;
    background: #f0f7ff;
    color: #1769aa;
    font-size: 8px;
    font-weight: 900;
}

.typist-side-link[data-badge]::after {
    content: attr(data-badge);
    margin-left: auto;
    border-radius: 6px;
    background: #f5f3ff;
    padding: 3px 5px;
    color: #6d28d9;
    font-size: 7px;
    font-weight: 900;
}

.typist-side-link:hover {
    border-color: #dbeafe;
    background: #f8fbff;
    color: #0b1f38;
}

.typist-side-link.is-active {
    border-color: #fed7aa;
    background: linear-gradient(100deg, #fff7ed 0%, #ffffff 100%);
    color: #c2410c;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.typist-side-link.is-active::before {
    background: #f97316;
    color: #fff;
}

.govix-sidebar-collapsed .typist-side-link {
    justify-content: center;
    padding-inline: 4px;
}

.govix-sidebar-collapsed .typist-side-link[data-badge]::after {
    display: none;
}

.erp-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.erp-table th {
    border-bottom: 1px solid #e7ebf1;
    padding: 9px 11px;
    color: #98a2b3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}

.erp-table td {
    border-bottom: 1px solid #f0f2f5;
    padding: 11px;
    color: #475569;
    font-size: 10px;
    vertical-align: middle;
}

.erp-table tbody tr:last-child td {
    border-bottom: 0;
}

.erp-table tbody tr:hover {
    background: #fafbfc;
}

.erp-table td > strong,
.erp-table td > small {
    display: block;
}

.govix-module-link {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    padding: 8px 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.govix-module-link:hover {
    background: #f8fafc;
    color: #079455;
}

.govix-module-link.is-active {
    background: #079455;
    color: #fff;
    box-shadow: 0 8px 18px -12px rgba(7, 148, 85, .72);
}

.govix-nav-dot {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 7px;
    font-size: 6px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.erp-table td > strong {
    color: #1e293b;
    font-size: 10px;
}

.erp-table td > small {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 8px;
}
