/* =========================================================
   ROOT / GLOBAL
   ========================================================= */

:root {
    --green-950: #06130d;
    --green-900: #0b2418;
    --green-800: #123524;
    --green-700: #166534;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --green-400: #4ade80;
    --green-300: #86efac;
    --mint: #dff8ea;
    --white: #ffffff;
    --soft: #f6fbf8;
    --text: #17231c;
    --muted: #647067;
    --border: #dbe8df;
    --danger: #b91c1c;
    --success: #15803d;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(74, 222, 128, 0.24),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 76%,
            rgba(34, 197, 94, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--green-950),
            var(--green-900) 48%,
            #0f2e20
        );
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    overflow: hidden;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    font-family: inherit;
}

body.modal-open {
    overflow: hidden;
}

.hidden,
.hidden-page {
    display: none !important;
}


/* =========================================================
   DESKTOP / LAPTOP WARNING
   ========================================================= */

#desktop-warning {
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 40px;
    position: fixed;
    text-align: center;
    z-index: 999999;
}

.desktop-warning-card {
    background: #f6fbf8;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    color: var(--text);
    max-width: 520px;
    padding: 40px;
    width: 100%;
}

.desktop-warning-icon {
    align-items: center;
    background: var(--green-700);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    font-size: 28px;
    font-weight: 900;
    height: 62px;
    justify-content: center;
    margin: 0 auto 20px;
    width: 62px;
}

.desktop-warning-card h1 {
    color: var(--green-700);
    font-size: 26px;
    margin-bottom: 16px;
}

.desktop-warning-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}


/* =========================================================
   OPENING SCREEN
   ========================================================= */

.opening-screen {
    align-items: center;
    background:
        radial-gradient(
            circle at center,
            rgba(34, 197, 94, 0.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #04110a,
            #0b2418 55%,
            #06130d
        );
    color: #ffffff;
    display: flex;
    inset: 0;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    transition:
        opacity 1.45s ease,
        visibility 1.45s ease,
        transform 1.45s ease,
        filter 1.45s ease;
    z-index: 100000;
}

.opening-screen.opening-complete,
.opening-screen.hide {
    filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.08);
    visibility: hidden;
}

.opening-grid {
    animation: moveGrid 8s linear infinite;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    inset: 0;
    opacity: 0.8;
    position: absolute;
}

.opening-glow {
    animation: glowPulse 2.5s ease-in-out infinite;
    background: rgba(34, 197, 94, 0.18);
    border-radius: 50%;
    filter: blur(70px);
    height: 480px;
    position: absolute;
    width: 480px;
}

.opening-orb {
    animation: rotateOrb 9s linear infinite;
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: 50%;
    height: 440px;
    position: absolute;
    width: 440px;
}

.opening-orb::before,
.opening-orb::after {
    border: 1px dashed rgba(74, 222, 128, 0.22);
    border-radius: 50%;
    content: "";
    inset: 34px;
    position: absolute;
}

.opening-orb::after {
    border-style: solid;
    inset: 78px;
    opacity: 0.45;
}

.scan-line {
    animation: scanDown 3.4s ease-in-out infinite;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(74, 222, 128, 0.85),
            transparent
        );
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
}

.scan-line-vertical {
    animation: scanAcross 4.2s ease-in-out infinite;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(74, 222, 128, 0.85),
            transparent
        );
    bottom: 0;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
    position: absolute;
    top: 0;
    width: 2px;
}

.opening-content {
    animation: centerStage 9.5s ease forwards;
    padding: 36px 28px 150px;
    position: relative;
    text-align: center;
    width: min(90vw, 600px);
    z-index: 5;
}

.seal {
    align-items: center;
    animation: sealFloat 2.2s ease-in-out infinite;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    display: flex;
    height: 130px;
    justify-content: center;
    margin: 0 auto 24px;
    width: 130px;
}

.seal-inner {
    align-items: center;
    background:
        linear-gradient(
            145deg,
            var(--green-400),
            var(--green-600)
        );
    border-radius: 25px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 16px 35px rgba(22, 163, 74, 0.35);
    color: #052211;
    display: flex;
    font-size: 34px;
    font-weight: 900;
    height: 92px;
    justify-content: center;
    letter-spacing: -1px;
    width: 92px;
}

.opening-title {
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.opening-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    margin-bottom: 30px;
}

.splash-stage-text {
    animation: stageTextGlow 1.8s ease-in-out infinite;
    color: #bbf7d0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    margin: -12px 0 22px;
    min-height: 18px;
    position: relative;
    z-index: 5;
}

.loading-track {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    height: 10px;
    margin: 0 auto 14px;
    overflow: hidden;
    width: min(380px, 80vw);
}

.loading-bar {
    animation: loadFinance 8.8s ease forwards;
    background:
        linear-gradient(
            90deg,
            var(--green-600),
            var(--green-400),
            #bbf7d0
        );
    border-radius: inherit;
    height: 100%;
    width: 0;
}

.loading-text {
    color: rgba(255, 255, 255, 0.64);
    font-size: 12px;
    letter-spacing: 1.9px;
    margin-top: 8px;
    text-transform: uppercase;
}


/* =========================================================
   OPENING FINANCIAL ANIMATION
   ========================================================= */

.finance-skit {
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.coin {
    align-items: center;
    animation: coinDrop 9.5s ease forwards;
    background:
        linear-gradient(
            145deg,
            #bbf7d0,
            #22c55e
        );
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.45);
    color: #052211;
    display: flex;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    opacity: 0;
    position: absolute;
    width: 38px;
}

.coin-1 {
    animation-delay: 0.25s;
    left: 18%;
    top: 13%;
}

.coin-2 {
    animation-delay: 0.75s;
    right: 18%;
    top: 20%;
}

.coin-3 {
    animation-delay: 1.25s;
    bottom: 20%;
    left: 24%;
}

.coin-4 {
    animation-delay: 1.75s;
    bottom: 16%;
    right: 24%;
}

.coin-5 {
    animation-delay: 2.25s;
    left: 42%;
    top: 10%;
}

.coin-6 {
    animation-delay: 2.75s;
    left: 7%;
    top: 34%;
}

.coin-7 {
    animation-delay: 3.25s;
    right: 7%;
    top: 38%;
}

.coin-8 {
    animation-delay: 3.75s;
    bottom: 32%;
    left: 12%;
}

.skit-card {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(187, 247, 208, 0.22);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    min-height: 128px;
    opacity: 0;
    padding: 18px;
    position: absolute;
    width: 190px;
}

.ledger-card {
    animation: cardSlideLeft 9.5s ease forwards;
    left: 10%;
    top: 20%;
}

.budget-card {
    animation: cardSlideRight 9.5s ease forwards;
    right: 10%;
    top: 18%;
}

.card-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.ledger-line {
    animation: writeLine 9.5s ease forwards;
    background: rgba(187, 247, 208, 0.65);
    border-radius: 999px;
    height: 9px;
    margin-bottom: 9px;
    transform: scaleX(0);
    transform-origin: left;
}

.ledger-line.w90 {
    animation-delay: 2.15s;
    width: 90%;
}

.ledger-line.w65 {
    animation-delay: 2.65s;
    width: 65%;
}

.ledger-line.w78 {
    animation-delay: 3.15s;
    width: 78%;
}

.approved-stamp {
    animation: stampIn 9.5s ease forwards;
    border: 2px solid #86efac;
    border-radius: 8px;
    bottom: 12px;
    color: #bbf7d0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 5px 9px;
    position: absolute;
    right: 14px;
    transform: rotate(-9deg) scale(0);
}

.budget-ring {
    animation: budgetSpin 9.5s ease forwards;
    background:
        conic-gradient(
            #4ade80 0deg,
            #4ade80 260deg,
            rgba(255, 255, 255, 0.17) 260deg
        );
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 9px rgba(6, 19, 13, 0.85);
    height: 58px;
    margin-bottom: 13px;
    transform: scale(0) rotate(-90deg);
    width: 58px;
}

.budget-mini-line {
    animation: writeLine 9.5s ease forwards;
    animation-delay: 3.6s;
    background: rgba(187, 247, 208, 0.58);
    border-radius: 999px;
    height: 8px;
    margin-bottom: 9px;
    transform: scaleX(0);
    transform-origin: left;
    width: 82%;
}

.budget-mini-line.short {
    animation-delay: 4.1s;
    width: 56%;
}


/* =========================================================
   MAIN PAGE
   ========================================================= */

.page {
    animation: pageReveal 1.65s ease forwards;
    animation-delay: 8.75s;
    display: flex;
    filter: blur(10px);
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
    opacity: 0;
    overflow: hidden;
    position: relative;
    transform: scale(0.985) translateY(14px);
}

.page::before,
.page::after {
    animation: drift 12s ease-in-out infinite;
    background: rgba(74, 222, 128, 0.12);
    border-radius: 50%;
    content: "";
    filter: blur(8px);
    pointer-events: none;
    position: absolute;
}

.page::before {
    height: 260px;
    left: -80px;
    top: 120px;
    width: 260px;
}

.page::after {
    animation-delay: -4s;
    bottom: 80px;
    height: 360px;
    right: -140px;
    width: 360px;
}


/* =========================================================
   FLOATING BACKGROUND BUBBLES
   ========================================================= */

.floating-shapes {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.floating-shapes span {
    animation: ledgerBubbleRise 18s linear infinite;
    background: rgba(134, 239, 172, 0.035);
    border: 1px solid rgba(134, 239, 172, 0.075);
    border-radius: 50%;
    bottom: -90px;
    opacity: 0;
    position: absolute;
}

.floating-shapes span:nth-child(10n + 1) {
    animation-delay: -7s;
    animation-duration: 11s;
    height: 12px;
    left: 3%;
    width: 12px;
}

.floating-shapes span:nth-child(10n + 2) {
    animation-delay: -13s;
    animation-duration: 16s;
    height: 27px;
    left: 13%;
    width: 27px;
}

.floating-shapes span:nth-child(10n + 3) {
    animation-delay: -4s;
    animation-duration: 22s;
    height: 44px;
    left: 23%;
    width: 44px;
}

.floating-shapes span:nth-child(10n + 4) {
    animation-delay: -10s;
    animation-duration: 13s;
    height: 18px;
    left: 33%;
    width: 18px;
}

.floating-shapes span:nth-child(10n + 5) {
    animation-delay: -18s;
    animation-duration: 25s;
    height: 58px;
    left: 43%;
    width: 58px;
}

.floating-shapes span:nth-child(10n + 6) {
    animation-delay: -5s;
    animation-duration: 15s;
    height: 22px;
    left: 54%;
    width: 22px;
}

.floating-shapes span:nth-child(10n + 7) {
    animation-delay: -15s;
    animation-duration: 19s;
    height: 36px;
    left: 64%;
    width: 36px;
}

.floating-shapes span:nth-child(10n + 8) {
    animation-delay: -8s;
    animation-duration: 12s;
    height: 15px;
    left: 75%;
    width: 15px;
}

.floating-shapes span:nth-child(10n + 9) {
    animation-delay: -20s;
    animation-duration: 23s;
    height: 49px;
    left: 86%;
    width: 49px;
}

.floating-shapes span:nth-child(10n) {
    animation-delay: -11s;
    animation-duration: 17s;
    height: 30px;
    left: 96%;
    width: 30px;
}

.floating-shapes span:nth-child(4n + 1) {
    margin-left: 2.5%;
}

.floating-shapes span:nth-child(4n + 2) {
    margin-left: -3.5%;
}

.floating-shapes span:nth-child(4n + 3) {
    margin-left: 1.2%;
}


/* =========================================================
   TOP UTILITY BAR
   ========================================================= */

.top-utility-bar {
    align-items: center;
    background: #06130d;
    border-bottom: 6px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #ffffff;
    display: grid;
    flex: 0 0 60px;
    font-size: 14px;
    font-weight: 700;
    grid-template-columns: 1fr auto 1fr;
    height: 60px;
    min-height: 60px;
    padding: 0 30px;
    position: relative;
    width: 100%;
    z-index: 100;
}

.system-name {
    color: #86efac;
    font-size: 17px;
    font-weight: 800;
    justify-self: center;
    letter-spacing: 0.2px;
    text-align: center;
}

.system-date {
    justify-self: end;
    white-space: nowrap;
}

#op_status,
.system-status {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    color: #cbd5e1;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    gap: 7px;
    justify-self: start;
    line-height: 1;
    padding: 7px 9px;
}

#op_status:hover,
.system-status:hover {
    background: rgba(255, 255, 255, 0.06);
}

.status-dot {
    background: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 9px;
    height: 9px;
    width: 9px;
}

.system-status.checking {
    color: #cbd5e1;
}

.system-status.checking .status-dot {
    animation: statusPulse 1.2s ease-in-out infinite;
    background: #94a3b8;
}

.system-status.online {
    color: #86efac;
}

.system-status.online .status-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.75);
}

.system-status.error {
    color: #fca5a5;
}

.system-status.error .status-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.72);
}


/* =========================================================
   LOGIN AREA
   ========================================================= */

.login-wrapper {
    align-items: center;
    display: grid;
    flex: 1 1 auto;
    gap: clamp(58px, 6vw, 92px);
    grid-template-columns: minmax(0, 1fr) 405px;
    margin: 0 auto;
    min-height: 0;
    padding: 28px 0 22px;
    position: relative;
    width: min(1120px, 88vw);
    z-index: 2;
}


/* =========================================================
   FINANCIAL COMMAND CENTER
   ========================================================= */

.brand-panel {
    animation: slideUp 0.9s ease both;
    color: #ffffff;
    min-width: 0;
}

.eyebrow {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.8);
    display: inline-flex;
    font-size: 13px;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 12px;
}

.dot {
    animation: blinkDot 1.4s ease-in-out infinite;
    background: var(--green-400);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--green-400);
    height: 8px;
    width: 8px;
}

.brand-panel h1 {
    font-size: clamp(40px, 5.6vw, 68px);
    letter-spacing: -2.6px;
    line-height: 0.95;
    margin-bottom: 20px;
}

.brand-panel h1 span {
    color: #bbf7d0;
}

.brand-panel p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 15px;
    max-width: 640px;
    width: 100%;
}

.feature-groups {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    max-width: 700px;
    width: 100%;
}

.feature-row,
.feature-row-secondary {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    width: 100%;
}

.feature-pill {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    justify-content: center;
    line-height: 1.2;
    min-height: 39px;
    padding: 8px 20px;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
    white-space: nowrap;
}

.feature-pill:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(134, 239, 172, 0.25);
    transform: translateY(-3px);
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {
    animation: slideUp 0.9s ease 0.12s both;
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: var(--shadow);
    justify-self: center;
    max-width: 405px;
    overflow: hidden;
    width: 405px;
}


/* =========================================================
   LOGIN CARD HEADER
   ========================================================= */

.login-card-header {
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(74, 222, 128, 0.25),
            transparent 34%
        ),
        radial-gradient(
            circle at 12% 100%,
            rgba(134, 239, 172, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06130d,
            #0b2418 55%,
            #123524
        );
    border-bottom: 1px solid rgba(134, 239, 172, 0.15);
    color: #ffffff;
    overflow: hidden;
    padding: 21px 27px 20px;
    position: relative;
    text-align: center;
}

.login-card-header::before {
    border: 1px solid rgba(134, 239, 172, 0.08);
    border-radius: 50%;
    content: "";
    height: 180px;
    left: -85px;
    position: absolute;
    top: -110px;
    width: 180px;
}

.login-card-header::after {
    background: rgba(74, 222, 128, 0.10);
    border-radius: 50%;
    bottom: -65px;
    content: "";
    height: 155px;
    position: absolute;
    right: -55px;
    width: 155px;
}

.client-access-logo {
    display: block;
    height: auto;
    margin: 0 auto 11px;
    max-height: 58px;
    max-width: 300px;
    object-fit: contain;
    position: relative;
    width: auto;
    z-index: 2;
}

.login-card-header h2 {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.4px;
    line-height: 1.15;
    margin: 5px 0 5px;
    position: relative;
    z-index: 2;
}

.login-card-header p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.45;
    margin: 0;
    position: relative;
    z-index: 2;
}


/* =========================================================
   LOGIN FORM
   ========================================================= */

.login-form {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(246, 251, 248, 0.98)
        );
    padding: 22px 27px 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    color: #25352b;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.input-wrap {
    position: relative;
}

.login-form .input-wrap input,
.login-form .input-wrap select {
    background: #fbfffc;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    display: block;
    font-size: 14px;
    height: 47px;
    min-height: 47px;
    outline: none;
    padding: 0 46px 0 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    width: 100%;
}

.login-form .input-wrap input:focus,
.login-form .input-wrap select:focus {
    background: #ffffff;
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.login-form input:disabled,
.login-form select:disabled {
    background: #edf2ef;
    color: #89948d;
    cursor: not-allowed;
    opacity: 0.72;
}


/* =========================================================
   COMPANY IDENTIFIER
   ========================================================= */

#companyIdentifier {
    cursor: pointer;
    font-weight: 800;
}

#companyIdentifier.company-selected {
    font-weight: 400;
}

/*
   Placeholder is bold.
   Actual Company Identifier options remain regular weight.
*/

#companyIdentifier option {
    font-weight: 400;
}

#companyIdentifier option[value=""] {
    font-weight: 800;
}

.company-help {
    color: #7b8780;
    font-size: 9px;
    line-height: 1.4;
    margin-top: 5px;
}


/* =========================================================
   LOGIN INPUT ICONS
   ========================================================= */

.input-icon {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--muted);
    display: flex;
    font-size: 17px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    user-select: none;
    width: 32px;
}

span.input-icon {
    cursor: default;
    pointer-events: none;
}

button.input-icon {
    cursor: pointer;
}

button.input-icon:hover {
    background: rgba(22, 101, 52, 0.07);
    border-radius: 50%;
    color: var(--green-700);
}

button.input-icon:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.45;
}


/* =========================================================
   LOGIN OPTIONS
   ========================================================= */

.form-options {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: 11px;
    gap: 12px;
    justify-content: space-between;
    margin: 3px 0 14px;
}

.remember-option {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 7px;
}

.remember-option input {
    height: 14px;
    width: 14px;
}

.forgot-link {
    color: var(--green-700);
    font-weight: 800;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.disabled-link {
    color: #98a39c !important;
    cursor: not-allowed;
    opacity: 0.65;
    pointer-events: none;
    text-decoration: none !important;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-btn {
    background:
        linear-gradient(
            135deg,
            var(--green-700),
            var(--green-500)
        );
    border: 0;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.28);
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    height: 47px;
    overflow: hidden;
    position: relative;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
    width: 100%;
}

.login-btn::before {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );
    content: "";
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transition: left 0.45s ease;
    width: 100%;
}

.login-btn:hover:not(:disabled) {
    box-shadow: 0 18px 34px rgba(22, 163, 74, 0.38);
    filter: brightness(1.04);
    transform: translateY(-2px);
}

.login-btn:hover:not(:disabled)::before {
    left: 100%;
}

.login-btn:disabled {
    background: #c3cbc6;
    box-shadow: none;
    color: #758079;
    cursor: not-allowed;
    filter: none;
    opacity: 0.72;
    transform: none;
}

.login-btn:disabled::before {
    display: none;
}


/* =========================================================
   LOGIN MESSAGES
   ========================================================= */

.message-box {
    border-radius: 12px;
    display: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    margin-top: 13px;
    padding: 10px 12px;
}

.message-box.error {
    background: #fff1f1;
    border: 1px solid #fecaca;
    color: var(--danger);
    display: block;
}

.message-box.success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: var(--success);
    display: block;
}


/* =========================================================
   LOGIN FOOTER / DISCLAIMERS
   ========================================================= */

.login-footer {
    background: #f6fbf8;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
    padding: 15px 23px 17px;
    text-align: center;
}

.request-access-link {
    background: transparent;
    border: 0;
    color: var(--green-700);
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.25px;
    margin-bottom: 12px;
    padding: 4px 6px;
    text-decoration: none;
}

.request-access-link:hover {
    color: var(--green-500);
    text-decoration: underline;
}

.login-security-notice {
    border-top: 1px solid #e1ebe4;
    color: #7b8780;
    line-height: 1.45;
    padding-top: 11px;
}

.login-security-notice strong {
    color: #526057;
    font-weight: 900;
}


/* =========================================================
   BOTTOM FOOTER
   ========================================================= */

.bottom-footer {
    align-items: center;
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    font-size: 10px;
    gap: 5px;
    justify-content: center;
    line-height: 1.3;
    padding: 4px 18px 12px;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.footer-copyright {
    font-size: 10px;
}

.footer-about {
    color: #86efac;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.footer-about:hover {
    color: #bbf7d0;
}

.footer-admin {
    background:
        linear-gradient(
            135deg,
            #166534,
            #22c55e
        );
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(22, 163, 74, 0.20);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    padding: 6px 12px;
    text-decoration: none;
}

.footer-admin:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}


/* =========================================================
   STANDARD POPUP OVERLAYS
   ========================================================= */

.popup-overlay {
    align-items: center;
    background: rgba(1, 11, 7, 0.76);
    backdrop-filter: blur(8px);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 28px;
    position: fixed;
    z-index: 10000;
}

.popup-overlay.open {
    display: flex;
}

.popup-box {
    animation: popupFadeUp 0.35s ease;
    background: #f7fbf8;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.36);
    color: var(--text);
    max-height: 86vh;
    max-width: 620px;
    overflow-y: auto;
    padding: 34px;
    position: relative;
    width: min(620px, 92vw);
}

.popup-box h2 {
    border-bottom: 3px solid var(--green-300);
    color: var(--green-700);
    display: table;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0 0 21px;
    padding-bottom: 7px;
}

.popup-box p {
    color: #526057;
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 14px;
}

.popup-box p + p {
    margin-top: 12px;
}

.popup-description {
    margin-bottom: 22px !important;
}

.popup-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #617068;
    cursor: pointer;
    display: flex;
    font-size: 25px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 16px;
    width: 36px;
    z-index: 10;
}

.popup-close:hover {
    background: rgba(22, 101, 52, 0.08);
    color: var(--green-700);
}


/* =========================================================
   SYSTEM CONNECTION STATUS POPUP
   ========================================================= */

.system-status-overlay {
    z-index: 50000;
}

.system-status-box {
    animation: systemStatusModalOpen 0.22s ease;
    max-width: 610px;
    width: min(610px, 92vw);
}

.system-status-box h2 {
    padding-right: 42px;
}

.status-details {
    border: 1px solid #dce8df;
    border-radius: 14px;
    margin: 0 0 20px;
    overflow: hidden;
}

.status-detail-row {
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e5ece7;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    min-height: 52px;
    padding: 11px 17px;
}

.status-detail-row:last-child {
    border-bottom: 0;
}

.status-detail-row span {
    color: #4d5a51;
    font-size: 12px;
    font-weight: 700;
}

.status-detail-row strong {
    color: #16a34a;
    font-size: 11px;
    font-weight: 900;
    text-align: right;
}

.status-detail-row strong.status-warn {
    color: #b7791f;
}

.status-detail-row strong.status-error {
    color: #dc2626;
}

.system-status-summary {
    align-items: center;
    background: #edf9f0;
    border: 1px solid #c9e8d2;
    border-radius: 13px;
    display: flex;
    gap: 13px;
    margin-bottom: 18px;
    padding: 14px 16px;
}

.system-status-summary-dot {
    background: #94a3b8;
    border-radius: 50%;
    flex: 0 0 12px;
    height: 12px;
    width: 12px;
}

.system-status-summary.online .system-status-summary-dot {
    background: #22c55e;
    box-shadow: 0 0 9px rgba(34, 197, 94, 0.65);
}

.system-status-summary.error {
    background: #fff5f5;
    border-color: #fecaca;
}

.system-status-summary.error .system-status-summary-dot {
    background: #ef4444;
    box-shadow: 0 0 9px rgba(239, 68, 68, 0.55);
}

.system-status-summary > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.system-status-summary strong {
    color: #25352b;
    font-size: 12px;
    font-weight: 900;
}

.system-status-summary span:not(.system-status-summary-dot) {
    color: #68756c;
    font-size: 10px;
    line-height: 1.4;
}

.popup-action-btn {
    background:
        linear-gradient(
            135deg,
            #166534,
            #22c55e
        );
    border: 0;
    border-radius: 11px;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    min-height: 44px;
    padding: 0 21px;
    transition:
        box-shadow 0.2s ease,
        filter 0.2s ease,
        transform 0.2s ease;
}

.popup-action-btn:hover {
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.22);
    filter: brightness(1.05);
    transform: translateY(-1px);
}


/* =========================================================
   FORM OVERLAYS
   ========================================================= */

.form-overlay {
    align-items: center;
    background: rgba(1, 11, 7, 0.80);
    backdrop-filter: blur(8px);
    display: none;
    inset: 0;
    justify-content: center;
    overflow-y: auto;
    padding: 28px;
    position: fixed;
    z-index: 30000;
}

.form-overlay.open {
    display: flex;
}

.form-page-card {
    background: #f7fbf8;
    border-radius: 22px;
    box-shadow: 0 28px 75px rgba(0, 0, 0, 0.38);
    color: var(--text);
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    width: min(650px, 92vw);
}

.access-request-modal {
    width: min(720px, 92vw);
}

.form-page-header {
    border-bottom: 1px solid #e0e9e3;
    padding: 22px 28px;
}

.form-page-header h2 {
    color: var(--green-700);
    font-size: 24px;
    margin: 0 0 8px;
}

.form-page-header p {
    color: #69756d;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
}

.form-page-body {
    padding: 25px 28px 28px;
}

.form-page-body p {
    color: #5c6960;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.form-page-body input,
.form-page-body select,
.form-page-body textarea {
    background: #fbfffc;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 14px;
    outline: none;
    padding: 12px 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    width: 100%;
}

.form-page-body textarea {
    min-height: 110px;
    resize: vertical;
}

.form-page-body input:focus,
.form-page-body select:focus,
.form-page-body textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.form-page-body .input-wrap input {
    padding-right: 46px;
}

.two-column {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}


/* =========================================================
   STAGECOACH WEST ABOUT
   ORIGINAL WESTERN / GOLD PRESENTATION
   ========================================================= */

.about-screen {
    height: 100vh;
    inset: auto 0 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    transform: translateY(100%);
    transition:
        transform 2.2s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 1.2s ease;
    z-index: 60000;
}

.about-screen.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hero-bg {
    animation: slowPan 26s ease-in-out infinite alternate;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84),
            rgba(0, 0, 0, 0.28),
            rgba(0, 0, 0, 0.80)
        ),
        radial-gradient(
            circle at 65% 38%,
            rgba(184, 105, 28, 0.35),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #1a0d06,
            #42230f 48%,
            #120905
        );
    inset: 0;
    position: absolute;
    transform: scale(1.04);
}

.sun-glow {
    animation: westernGlowPulse 4.8s ease-in-out infinite;
    background:
        radial-gradient(
            circle,
            rgba(255, 211, 116, 0.82),
            rgba(255, 166, 43, 0.22) 45%,
            transparent 72%
        );
    border-radius: 50%;
    filter: blur(8px);
    height: 260px;
    mix-blend-mode: screen;
    position: absolute;
    right: 8%;
    top: 35%;
    width: 260px;
}

.dust {
    animation: dustMove 18s linear infinite;
    background-image:
        radial-gradient(
            circle,
            rgba(255, 221, 151, 0.42) 1px,
            transparent 2px
        ),
        radial-gradient(
            circle,
            rgba(255, 221, 151, 0.25) 1px,
            transparent 2px
        );
    background-size:
        140px 140px,
        210px 210px;
    inset: 0;
    opacity: 0.55;
    position: absolute;
}

.close-link {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(247, 216, 137, 0.5);
    border-radius: 999px;
    color: #fff1cf;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px 16px;
    position: absolute;
    right: 28px;
    text-decoration: none;
    top: 24px;
    z-index: 5;
}

.close-link:hover {
    background: rgba(217, 164, 65, 0.15);
    border-color: rgba(255, 233, 177, 0.75);
}

.about-content {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    padding: 28px;
    position: relative;
    z-index: 3;
}

.about-panel {
    animation: panelReveal 2s ease both;
    backdrop-filter: blur(9px);
    background: rgba(18, 10, 5, 0.82);
    border: 1px solid rgba(247, 216, 137, 0.55);
    border-radius: 32px;
    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.75),
        inset 0 0 45px rgba(217, 164, 65, 0.10);
    color: #fff1cf;
    max-height: 88vh;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 48px);
    width: min(1100px, 94vw);
}

.about-panel::-webkit-scrollbar {
    width: 10px;
}

.about-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.about-panel::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            #f7d889,
            #d9a441
        );
    border-radius: 999px;
}

.brand-mark {
    animation: compassSpin 12s linear infinite;
    border: 3px solid #d9a441;
    border-radius: 50%;
    box-shadow: 0 0 28px rgba(217, 164, 65, 0.45);
    color: #f7d889;
    display: grid;
    font-size: 3rem;
    height: 92px;
    margin: 0 auto 18px;
    place-items: center;
    width: 92px;
}

.about-image {
    animation: imageFloat 8s ease-in-out infinite;
    border: 1px solid rgba(247, 216, 137, 0.40);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    display: block;
    margin: 0 auto 30px;
    max-height: 330px;
    object-fit: contain;
    width: min(100%, 700px);
}

.about-panel h2 {
    color: #f7d889;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    letter-spacing: 0.08em;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 30px rgba(217, 164, 65, 0.35);
    text-transform: uppercase;
}

.tagline {
    color: #ffe9b1;
    font-size: clamp(1.2rem, 2.6vw, 2rem);
    font-style: italic;
    margin: 14px auto 28px;
    text-align: center;
}

.gold-line {
    background:
        linear-gradient(
            90deg,
            transparent,
            #d9a441,
            transparent
        );
    height: 1px;
    margin: 24px auto 34px;
    position: relative;
    width: min(720px, 84%);
}

.gold-line::after {
    background: rgba(18, 10, 5, 0.95);
    color: #d9a441;
    content: "◆";
    left: 50%;
    padding: 0 16px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.about-text {
    font-size: clamp(1rem, 1.8vw, 1.28rem);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 860px;
    text-align: center;
}

.values {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 36px;
    text-align: center;
}

.value {
    animation-name: valueFloat;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 164, 65, 0.28);
    border-radius: 18px;
    color: #ffe9b1;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.09em;
    padding: 18px 10px;
    text-transform: uppercase;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
    width: 100%;
}

.value:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 4s;
}

.value:nth-child(2) {
    animation-delay: 0.8s;
    animation-duration: 5.5s;
}

.value:nth-child(3) {
    animation-delay: 1.4s;
    animation-duration: 6.2s;
}

.value:nth-child(4) {
    animation-delay: 2s;
    animation-duration: 4.8s;
}

.value:nth-child(5) {
    animation-delay: 2.8s;
    animation-duration: 7s;
}

.value:hover,
.value.active {
    background: rgba(217, 164, 65, 0.16);
    border-color: rgba(255, 233, 177, 0.58);
    transform: translateY(-4px);
}

.value-detail {
    animation: popIn 0.3s ease;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(217, 164, 65, 0.35);
    border-radius: 18px;
    color: #ffffff;
    display: none;
    margin-top: 24px;
    padding: 24px 54px 24px 24px;
    position: relative;
    text-align: left;
}

.value-detail.open {
    display: block;
}

.value-detail h3 {
    color: #ffe9b1;
    font-size: 21px;
    margin: 0 0 10px;
}

.value-detail p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

.value-detail-close {
    background: transparent;
    border: 0;
    color: #ffe9b1;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    padding: 4px;
    position: absolute;
    right: 14px;
    top: 10px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes blinkDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.82);
    }
}

@keyframes budgetSpin {
    0%,
    20% {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }

    42%,
    86% {
        opacity: 1;
        transform: scale(1) rotate(270deg);
    }

    100% {
        opacity: 0;
        transform: scale(0.85) rotate(360deg);
    }
}

@keyframes cardSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) rotate(-6deg) scale(0.92);
    }

    18%,
    78% {
        opacity: 1;
        transform: translateX(0) rotate(-2deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-40px) rotate(-6deg) scale(0.95);
    }
}

@keyframes cardSlideRight {
    0% {
        opacity: 0;
        transform: translateX(80px) rotate(6deg) scale(0.92);
    }

    22%,
    78% {
        opacity: 1;
        transform: translateX(0) rotate(2deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(40px) rotate(6deg) scale(0.95);
    }
}

@keyframes centerStage {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }

    18%,
    84% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes coinDrop {
    0% {
        opacity: 0;
        transform: translateY(-80px) rotate(0deg) scale(0.75);
    }

    18% {
        opacity: 1;
    }

    42% {
        transform: translateY(24px) rotate(260deg) scale(1);
    }

    68% {
        opacity: 1;
        transform: translateY(0) rotate(520deg) scale(1.05);
    }

    100% {
        opacity: 0;
        transform: translateY(60px) rotate(720deg) scale(0.65);
    }
}

@keyframes compassSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(32px, -26px) scale(1.08);
    }
}

@keyframes dustMove {
    from {
        background-position:
            0 0,
            70px 120px;
    }

    to {
        background-position:
            600px -360px,
            -500px 420px;
    }
}

@keyframes glowPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes imageFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes ledgerBubbleRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.72);
    }

    8% {
        opacity: 0.52;
    }

    45% {
        opacity: 0.40;
        transform: translate3d(22px, -55vh, 0) scale(0.96);
    }

    78% {
        opacity: 0.27;
    }

    100% {
        opacity: 0;
        transform: translate3d(-18px, -125vh, 0) scale(1.16);
    }
}

@keyframes loadFinance {
    0% {
        width: 0;
    }

    16% {
        width: 18%;
    }

    32% {
        width: 39%;
    }

    52% {
        width: 61%;
    }

    72% {
        width: 82%;
    }

    100% {
        width: 100%;
    }
}

@keyframes moveGrid {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(42px, 42px);
    }
}

@keyframes pageReveal {
    from {
        filter: blur(10px);
        opacity: 0;
        transform: scale(0.985) translateY(14px);
    }

    to {
        filter: blur(0);
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes panelReveal {
    from {
        opacity: 0;
        transform: translateY(70px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popupFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rotateOrb {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scanAcross {
    0% {
        left: -5%;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        left: 105%;
        opacity: 0;
    }
}

@keyframes scanDown {
    0% {
        opacity: 0;
        top: -5%;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 105%;
    }
}

@keyframes sealFloat {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.35);
        transform: translateY(0) scale(1);
    }

    50% {
        box-shadow: 0 0 0 18px rgba(74, 222, 128, 0);
        transform: translateY(-8px) scale(1.02);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowPan {
    from {
        transform: scale(1.05) translateX(-1.5%) translateY(0);
    }

    to {
        transform: scale(1.1) translateX(2%) translateY(-1.5%);
    }
}

@keyframes stageTextGlow {
    0%,
    100% {
        opacity: 0.7;
        text-shadow: 0 0 0 rgba(74, 222, 128, 0);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 18px rgba(74, 222, 128, 0.55);
    }
}

@keyframes stampIn {
    0%,
    42% {
        opacity: 0;
        transform: rotate(-9deg) scale(0);
    }

    50%,
    86% {
        opacity: 1;
        transform: rotate(-9deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(-9deg) scale(0.85);
    }
}

@keyframes statusPulse {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.82);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes systemStatusModalOpen {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes valueFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes westernGlowPulse {
    0%,
    100% {
        opacity: 0.72;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes writeLine {
    0%,
    22% {
        transform: scaleX(0);
    }

    38%,
    100% {
        transform: scaleX(1);
    }
}


/* =========================================================
   SKIP OPENING ANIMATION
   ========================================================= */

html.skip-loading .opening-screen {
    display: none !important;
}

html.skip-loading .page {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

html.skip-loading *,
html.skip-loading *::before,
html.skip-loading *::after {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
}


/* =========================================================
   SHORT DESKTOP WINDOWS
   ========================================================= */

@media screen and (min-width: 1025px) and (max-height: 900px) {

    .login-wrapper {
        gap: 56px;
        grid-template-columns: minmax(0, 1fr) 392px;
        padding: 18px 0 14px;
    }

    .login-card {
        max-width: 392px;
        width: 392px;
    }

    .login-card-header {
        padding: 17px 25px 16px;
    }

    .client-access-logo {
        margin-bottom: 8px;
        max-height: 53px;
        max-width: 280px;
    }

    .login-card-header h2 {
        font-size: 23px;
    }

    .login-form {
        padding: 17px 25px 16px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .login-form .input-wrap input,
    .login-form .input-wrap select {
        height: 43px;
        min-height: 43px;
    }

    .login-btn {
        height: 43px;
    }

    .login-footer {
        padding: 12px 22px 13px;
    }

    .brand-panel h1 {
        font-size: 50px;
    }

    .brand-panel p {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 11px;
    }

    .feature-groups {
        margin-top: 13px;
    }

    .feature-pill {
        font-size: 11px;
        min-height: 35px;
        padding: 7px 14px;
    }

    .bottom-footer {
        gap: 4px;
        padding-bottom: 8px;
    }
}


/* =========================================================
   NARROW DESKTOP
   ========================================================= */

@media screen and (max-width: 1180px) and (min-width: 1025px) {

    .login-wrapper {
        gap: 42px;
        grid-template-columns: minmax(0, 1fr) 385px;
        width: 92vw;
    }

    .login-card {
        max-width: 385px;
        width: 385px;
    }

    .brand-panel h1 {
        font-size: 48px;
    }

    .feature-pill {
        padding-left: 12px;
        padding-right: 12px;
    }
}


/* =========================================================
   MOBILE / TABLET RESTRICTION
   ========================================================= */

@media screen and (max-width: 1024px) {

    #desktop-warning {
        display: flex;
    }

    .opening-screen,
    .page {
        display: none !important;
    }

    body {
        overflow: hidden;
    }
}


/* =========================================================
   FORM RESPONSIVE
   ========================================================= */

@media screen and (max-width: 700px) {

    .two-column {
        grid-template-columns: 1fr;
    }

    .form-overlay,
    .popup-overlay {
        padding: 15px;
    }
}


/* =========================================================
   ABOUT RESPONSIVE
   ========================================================= */

@media screen and (max-width: 850px) {

    .about-content {
        padding: 18px;
    }

    .about-panel {
        border-radius: 22px;
        padding: 25px 20px;
    }

    .about-image {
        max-height: 240px;
    }

    .values {
        grid-template-columns: 1fr 1fr;
    }

    .value:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }

    .floating-shapes span,
    .brand-mark,
    .about-image,
    .value,
    .dust,
    .sun-glow {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
    }
}