html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: #040D08;
    overflow-x: hidden;
}

#app {
    min-height: 100vh;
}

*, *::before, *::after {
    box-sizing: border-box;
    transition-property: background-color, border-color, color, box-shadow, opacity, transform, filter;
    transition-duration: 180ms;
    transition-timing-function: var(--ease-soft);
}

:root {
    --c-bg: #040D08;
    --c-ink: #E2F5EB;
    --c-sub: #6B9E7E;
    --c-line: rgba(0, 255, 120, 0.08);
    --c-surface: rgba(0, 255, 120, 0.04);
    --c-hi: rgba(0, 255, 120, 0.07);
    --c-green: #00FF99;
    --f-head: 'Syne', sans-serif;
    --f-body: 'DM Sans', sans-serif;
    --ease-soft: cubic-bezier(.22, 1, .36, 1);
    --t-fast: 180ms var(--ease-soft);
    --t-mid: 280ms var(--ease-soft);
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.auth-layout {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.auth-page {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(0, 255, 153, 0.12), transparent 32%), radial-gradient(circle at bottom right, rgba(0, 180, 100, 0.10), transparent 30%), #040D08;
    color: var(--c-ink);
    font-family: var(--f-body);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

    .auth-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(0,255,153,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,255,153,0.03) 1px, transparent 1px);
        background-size: 28px 28px;
        pointer-events: none;
        opacity: 0.45;
    }

.auth-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .auth-bg::before,
    .auth-bg::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(90px);
        animation: authGlowFloat 7s ease-in-out infinite alternate;
    }

    .auth-bg::before {
        width: 360px;
        height: 360px;
        top: 8%;
        left: 6%;
        background: rgba(0, 255, 153, 0.14);
    }

    .auth-bg::after {
        width: 340px;
        height: 340px;
        right: 4%;
        bottom: 6%;
        background: rgba(0, 232, 122, 0.12);
        animation-delay: 1.5s;
    }

.auth-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    display: grid;
    gap: 28px;
}

.auth-shell-single {
    max-width: 560px;
}

.auth-brand {
    text-align: center;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    background: rgba(0, 255, 153, 0.08);
    color: var(--c-green);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.auth-brand h1 {
    margin: 0 0 12px;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-family: var(--f-head);
    font-weight: 800;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.auth-brand p {
    margin: 0 auto;
    color: var(--c-sub);
    font-size: 16px;
    line-height: 1.7;
    max-width: 420px;
}

.auth-card {
    position: relative;
    background: linear-gradient(180deg, rgba(0,255,153,0.05) 0%, rgba(0,255,153,0.025) 100%);
    border: 1px solid rgba(0,255,153,0.10);
    border-radius: 28px;
    padding: 28px;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

    .auth-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(0,255,153,0.09), transparent 38%);
        pointer-events: none;
    }

.auth-card-head {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.auth-card-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--c-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-card-head h2 {
    margin: 0 0 10px;
    font-family: var(--f-head);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.auth-card-head p {
    margin: 0;
    color: var(--c-sub);
    font-size: 15px;
    line-height: 1.7;
}

.auth-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .auth-field label {
        font-size: 14px;
        font-weight: 600;
        color: var(--c-ink);
    }

.auth-input {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    border: 1px solid var(--c-line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--c-ink);
    padding: 0 16px;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

    .auth-input::placeholder {
        color: rgba(226, 245, 235, 0.38);
    }

    .auth-input:focus {
        border-color: rgba(0, 255, 153, 0.35);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 0 0 4px rgba(0, 255, 153, 0.08);
    }

.auth-btn {
    height: 52px;
    border: none;
    border-radius: 18px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-btn-primary {
    background: var(--c-green);
    color: #04110a;
    box-shadow: 0 8px 24px rgba(0, 255, 153, 0.18);
}

    .auth-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(0, 255, 153, 0.24);
    }

.auth-link-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(0,255,153,0.14);
    color: var(--c-ink);
    background: rgba(255,255,255,0.02);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

    .auth-link-btn:hover {
        background: rgba(0,255,153,0.06);
        border-color: rgba(0,255,153,0.28);
    }

.auth-message {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
}

.success-message {
    background: rgba(0,255,153,0.08);
    border: 1px solid rgba(0,255,153,0.16);
    color: var(--c-ink);
}

.validation-summary {
    margin-bottom: 8px;
    color: #ff9b9b;
}

.validation-message {
    color: #ff9b9b;
    font-size: 13px;
}

.valid.modified:not([type=checkbox]) {
    outline: none;
    border: 1px solid rgba(0, 255, 153, 0.45);
}

.invalid {
    outline: none;
    border: 1px solid rgba(255, 90, 90, 0.9) !important;
}

.language-switcher {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 153, .08);
    background: #07130f;
    color: #f1fff8;
    outline: none;
    height: 44px;
    font-weight: 700;
    cursor: pointer;
}

.operator-page {
    min-height: 100vh;
    background: #020807;
    color: #f1fff8;
    display: grid;
    grid-template-columns: 260px 1fr;
    font-family: var(--f-body, Arial, sans-serif);
}

.operator-sidebar {
    background: #06110c;
    border-right: 1px solid rgba(0, 255, 153, .08);
    padding: 24px 14px;
}

.operator-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 10px;
    height: 72px;
    overflow: hidden;
}

.operator-nav {
    display: grid;
    gap: 10px;
}

.operator-nav-item {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 8px;
    color: rgba(241, 255, 248, .58);
    text-decoration: none;
    font-weight: 700;
}

    .operator-nav-item.active {
        color: #00ff99;
        background: rgba(0, 255, 153, .08);
    }

    .operator-nav-item:hover {
        color: #f1fff8;
        background: rgba(255, 255, 255, .035);
    }

    .operator-nav-item.logout {
        margin-top: 14px;
    }

.operator-main {
    padding: 0 38px 34px;
}

.operator-topbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .operator-topbar h1 {
        font-size: 28px;
        margin: 0;
        font-weight: 900;
    }

.operator-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.operator-top-btn,
.operator-icon-btn,
.operator-user-btn {
    border: 1px solid rgba(0, 255, 153, .08);
    background: #07130f;
    color: #f1fff8;
    border-radius: 12px;
    min-height: 44px;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

.operator-icon-btn {
    width: 44px;
    padding: 0;
}

.operator-user-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 18px;
}

    .operator-user-btn span {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: #00ff99;
        color: #04110a;
    }

.operator-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(300px, .95fr);
    gap: 24px;
}

.operator-balance-card,
.operator-stats-card,
.operator-payments-card,
.operator-chart-card {
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .045);
    border-radius: 18px;
}

.operator-balance-card {
    min-height: 280px;
    padding: 64px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #06110c 0%, rgba(6, 17, 12, .92) 48%, rgba(6, 17, 12, .7) 100%), radial-gradient(circle at 80% 45%, rgba(0, 255, 153, .12), transparent 38%);
}

.operator-balance-content p {
    color: rgba(241, 255, 248, .65);
    margin: 0 0 18px;
    font-size: 16px;
}

.operator-balance-value {
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 900;
    line-height: 1;
}

    .operator-balance-value span {
        font-size: 24px;
        color: rgba(241, 255, 248, .55);
        font-weight: 500;
    }

.operator-profit-badge {
    display: inline-flex;
    margin-top: 26px;
    color: #00ff99;
    background: rgba(0, 255, 153, .08);
    padding: 9px 14px;
    border-radius: 10px;
    font-weight: 800;
}

.operator-balance-actions {
    display: grid;
    gap: 14px;
    width: 220px;
}

.operator-primary-action,
.operator-secondary-action {
    height: 58px;
    border-radius: 10px;
    border: none;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
}

.operator-primary-action {
    background: #00ff99;
    color: #00100a;
}

.operator-secondary-action {
    background: #020807;
    color: #f1fff8;
    border: 1px solid rgba(0, 255, 153, .06);
}

.operator-stats-card {
    padding: 32px;
}

    .operator-stats-card h2,
    .operator-payments-card h2,
    .operator-chart-card h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 900;
    }

.operator-stats-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.operator-stat-box {
    min-height: 132px;
    padding: 22px;
    border-radius: 12px;
    background: #020b09;
    position: relative;
}

    .operator-stat-box p {
        color: rgba(241, 255, 248, .55);
        margin: 0 0 10px;
        font-size: 13px;
    }

    .operator-stat-box strong {
        font-size: 24px;
    }

    .operator-stat-box span {
        font-size: 12px;
        color: rgba(241, 255, 248, .65);
    }

.operator-stat-icon {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

    .operator-stat-icon.green {
        background: rgba(0, 255, 153, .12);
        color: #00ff99;
    }

    .operator-stat-icon.yellow {
        background: rgba(255, 199, 0, .12);
        color: #f0c74a;
    }

.operator-payments-card {
    padding: 32px;
    min-height: 650px;
}

.operator-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .operator-card-head button {
        border: none;
        background: rgba(0, 255, 153, .08);
        color: #00ff99;
        border-radius: 10px;
        padding: 12px 18px;
        font-weight: 900;
        cursor: pointer;
    }

.operator-payments-list {
    margin-top: 28px;
    display: grid;
    gap: 26px;
}

.operator-payment-row {
    display: grid;
    grid-template-columns: 1.3fr 170px 150px 120px;
    align-items: center;
    gap: 20px;
}

.operator-payment-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.operator-payment-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 900;
    flex-shrink: 0;
}

    .operator-payment-icon.blue {
        background: #1d4fa8;
    }

    .operator-payment-icon.red {
        background: #c13434;
    }

    .operator-payment-icon.green {
        background: #008c52;
    }

    .operator-payment-icon.pink {
        background: #d556cf;
    }

    .operator-payment-icon.sky {
        background: #71b7ff;
    }

.operator-payment-user strong {
    display: block;
    font-size: 16px;
}

.operator-payment-user p {
    margin: 4px 0 0;
    color: rgba(241, 255, 248, .52);
    font-size: 13px;
}

.operator-payment-amount {
    font-size: 20px;
    font-weight: 900;
}

.operator-payment-status {
    width: max-content;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

    .operator-payment-status.success {
        color: #00ff99;
        background: rgba(0, 255, 153, .08);
    }

    .operator-payment-status.pending {
        color: #d8b83f;
        background: rgba(255, 199, 0, .1);
    }

.operator-payment-time {
    color: rgba(241, 255, 248, .55);
    text-align: right;
}

.operator-show-more {
    display: block;
    margin: 42px auto 0;
    border: none;
    background: transparent;
    color: #00ff99;
    font-weight: 900;
    cursor: pointer;
}

.operator-chart-card {
    padding: 32px;
    min-height: 496px;
}

.operator-chart-area {
    margin-top: 34px;
}

    .operator-chart-area svg {
        width: 100%;
        height: 180px;
        overflow: visible;
    }

    .operator-chart-area line {
        stroke: rgba(255, 255, 255, .09);
        stroke-dasharray: 7 7;
    }

    .operator-chart-area polyline {
        fill: none;
        stroke: #00ff99;
        stroke-width: 4;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: stroke var(--t-mid), opacity var(--t-mid), transform var(--t-mid);
    }

.operator-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 900;
    margin-top: 8px;
}

.operator-chart-total {
    margin-top: 88px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

    .operator-chart-total p {
        color: rgba(241, 255, 248, .55);
        margin: 0 0 12px;
    }

    .operator-chart-total div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .operator-chart-total strong {
        font-size: 28px;
    }

        .operator-chart-total strong span {
            font-size: 14px;
            color: rgba(241, 255, 248, .55);
        }

    .operator-chart-total em {
        font-style: normal;
        color: #00ff99;
        background: rgba(0, 255, 153, .08);
        border-radius: 9px;
        padding: 8px 12px;
        font-weight: 900;
    }

    .operator-chart-total small {
        display: block;
        text-align: right;
        color: rgba(241, 255, 248, .35);
    }

.operator-logo-title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .03em;
}

.operator-logo-sub {
    font-size: 11px;
    letter-spacing: .35em;
    color: #00ff99;
}

.operator-logo-full {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.auth-language-switcher {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
}

.operator-top-actions .language-switcher {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
}

.operator-cards-page {
    display: grid;
    gap: 24px;
}

.operator-cards-head {
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    border-radius: 18px;
    padding: 28px;
}

    .operator-cards-head p {
        margin: 8px 0 0;
        color: rgba(241, 255, 248, .55);
    }

.operator-add-card-btn {
    border: none;
    background: #00ff99;
    color: #00100a;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 900;
    cursor: pointer;
}

.operator-card-form {
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    border-radius: 18px;
    padding: 28px;
}

    .operator-card-form h3 {
        margin: 0 0 20px;
        font-size: 22px;
    }

.operator-card-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 180px;
    gap: 16px;
}

.operator-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.operator-cards-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.operator-bank-card {
    background: radial-gradient(circle at top right, rgba(0, 255, 153, .08), transparent 38%), #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    border-radius: 20px;
    padding: 24px;
}

.operator-bank-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.operator-card-bank {
    display: block;
    color: rgba(241,255,248,.45);
    font-size: 12px;
    margin-bottom: 4px;
    letter-spacing: .05em;
}

.operator-bank-card-top strong {
    display: block;
    font-size: 22px;
    letter-spacing: .04em;
}

.operator-card-status {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

    .operator-card-status.online {
        color: #00ff99;
        background: rgba(0, 255, 153, .1);
    }

    .operator-card-status.offline {
        color: rgba(241, 255, 248, .5);
        background: rgba(255, 255, 255, .06);
    }

.operator-bank-card-limit {
    margin-bottom: 24px;
}

    .operator-bank-card-limit p {
        margin: 0 0 6px;
        color: rgba(241, 255, 248, .55);
    }

    .operator-bank-card-limit strong {
        font-size: 26px;
    }

.operator-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .operator-card-actions button {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 10px;
        border: 1px solid rgba(0, 255, 153, .12);
        background: rgba(0, 255, 153, .05);
        color: #f1fff8;
        font-weight: 800;
        cursor: pointer;
    }

        .operator-card-actions button:hover {
            background: rgba(0, 255, 153, .1);
        }

        .operator-card-actions button.danger {
            color: #ff8f8f;
            border-color: rgba(255, 90, 90, .18);
            background: rgba(255, 90, 90, .06);
        }

.auth-input,
.auth-input option,
.auth-input optgroup {
    background: #07130f;
    color: #e2f5eb;
}

select.auth-input {
    appearance: auto;
    background-color: #07130f;
    color: #e2f5eb;
    border: 1px solid rgba(0, 255, 153, .25);
}

    select.auth-input option {
        background-color: #07130f;
        color: #e2f5eb;
    }

        select.auth-input option:checked,
        select.auth-input option:hover {
            background-color: #00ff99;
            color: #04110a;
        }

.operator-bank-card strong {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
}

.operator-card-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    border-radius: 18px;
    padding: 16px;
}

.operator-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .operator-filter-tabs button {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 12px;
        border: 1px solid rgba(0, 255, 153, .1);
        background: rgba(255, 255, 255, .025);
        color: rgba(241, 255, 248, .65);
        font-weight: 800;
        cursor: pointer;
    }

        .operator-filter-tabs button.active {
            background: rgba(0, 255, 153, .12);
            color: #00ff99;
            border-color: rgba(0, 255, 153, .22);
        }

.operator-card-search {
    width: min(100%, 280px);
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 153, .12);
    background: #07130f;
    color: #e2f5eb;
    padding: 0 14px;
    outline: none;
}

    .operator-card-search::placeholder {
        color: rgba(226, 245, 235, .35);
    }

.operator-card-status.deleted {
    color: #ff8f8f;
    background: rgba(255, 90, 90, .08);
}

.operator-bank-card.deleted {
    opacity: .65;
}

.operator-card-deleted-note {
    color: rgba(241, 255, 248, .45);
    font-weight: 800;
}

.operator-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 18px;
    animation: modalFadeIn .22s var(--ease-soft);
}

.operator-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 5, .72);
    backdrop-filter: blur(8px);
}

.operator-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .14);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    animation: modalSlideIn .28s var(--ease-soft);
}

.operator-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .operator-modal-head span {
        font-size: 22px;
        font-weight: 900;
    }

    .operator-modal-head button {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        border: 1px solid rgba(0, 255, 153, .12);
        background: rgba(255, 255, 255, .03);
        color: #e2f5eb;
        font-size: 24px;
        cursor: pointer;
    }

.operator-modal-card {
    margin: 0 0 18px;
    color: rgba(241, 255, 248, .55);
}

    .operator-modal-card strong {
        display: block;
        margin-top: 6px;
        color: #e2f5eb;
        font-size: 20px;
        letter-spacing: 1px;
    }

.operator-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

    .operator-modal-actions .auth-btn,
    .operator-modal-actions .auth-link-btn {
        flex: 1;
    }

.form-error {
    margin-top: 10px;
    color: #ff8f8f;
    font-size: 13px;
}

.operator-orders-page {
    display: grid;
    gap: 18px;
}

.operator-orders-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    border-radius: 18px;
    padding: 16px;
}

.operator-orders-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.operator-orders-balance {
    color: rgba(241, 255, 248, .55);
}

    .operator-orders-balance strong {
        color: #e2f5eb;
        margin-left: 8px;
    }

.operator-orders-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(241, 255, 248, .7);
    font-weight: 700;
    cursor: pointer;
}

    .operator-orders-toggle input {
        display: none;
    }

    .operator-orders-toggle span {
        width: 42px;
        height: 24px;
        border-radius: 999px;
        background: rgba(255, 255, 255, .08);
        position: relative;
    }

        .operator-orders-toggle span::before {
            content: "";
            position: absolute;
            width: 18px;
            height: 18px;
            left: 3px;
            top: 3px;
            border-radius: 50%;
            background: rgba(241, 255, 248, .7);
            transition: .2s ease;
        }

    .operator-orders-toggle input:checked + span {
        background: #00ff99;
    }

        .operator-orders-toggle input:checked + span::before {
            transform: translateX(18px);
            background: #04110a;
        }

.operator-orders-table-card {
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    border-radius: 18px;
    padding: 18px;
    overflow-x: auto;
}

.operator-orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

    .operator-orders-table th,
    .operator-orders-table td {
        padding: 16px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
        color: rgba(241, 255, 248, .72);
        text-align: left;
        font-size: 14px;
    }

    .operator-orders-table th {
        color: rgba(241, 255, 248, .52);
        font-weight: 800;
    }

    .operator-orders-table tr:last-child td {
        border-bottom: none;
    }

.operator-orders-empty {
    text-align: center !important;
    padding: 48px 14px !important;
    color: rgba(241, 255, 248, .75) !important;
}

.operator-payout-rate {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(241, 255, 248, .65);
    font-size: 14px;
}

    .operator-payout-rate input {
        display: none;
    }

    .operator-payout-rate span {
        width: 42px;
        height: 22px;
        border-radius: 999px;
        background: rgba(255,255,255,.25);
        position: relative;
    }

        .operator-payout-rate span::before {
            content: "";
            position: absolute;
            width: 16px;
            height: 16px;
            left: 3px;
            top: 3px;
            border-radius: 50%;
            background: #020807;
            transition: .2s;
        }

    .operator-payout-rate input:checked + span {
        background: #00ff99;
    }

        .operator-payout-rate input:checked + span::before {
            transform: translateX(20px);
        }

    .operator-payout-rate strong {
        background: rgba(255,255,255,.06);
        border-radius: 8px;
        padding: 5px 8px;
        font-weight: 600;
    }

.operator-tab-count {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    font-size: 12px;
}

html {
    scroll-behavior: smooth;
}

button,
a,
input,
select,
textarea,
.auth-btn,
.auth-link-btn,
.language-switcher,
.operator-nav-item,
.operator-top-btn,
.operator-icon-btn,
.operator-user-btn,
.operator-primary-action,
.operator-secondary-action,
.operator-add-card-btn,
.operator-card-actions button,
.operator-card-head button,
.operator-show-more,
.operator-filter-tabs button {
    transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}

    .auth-btn:hover,
    .auth-link-btn:hover,
    .operator-top-btn:hover,
    .operator-icon-btn:hover,
    .operator-user-btn:hover,
    .operator-primary-action:hover,
    .operator-secondary-action:hover,
    .operator-add-card-btn:hover,
    .operator-card-actions button:hover,
    .operator-card-head button:hover,
    .operator-show-more:hover,
    .operator-filter-tabs button:hover {
        transform: translateY(-1px);
    }

    button:active,
    a:active,
    .auth-btn:active,
    .auth-link-btn:active,
    .operator-nav-item:active,
    .operator-primary-action:active,
    .operator-secondary-action:active {
        transform: translateY(0) scale(.98);
    }

.auth-card,
.operator-balance-card,
.operator-stats-card,
.operator-payments-card,
.operator-chart-card,
.operator-cards-head,
.operator-card-form,
.operator-bank-card,
.operator-orders-toolbar,
.operator-orders-table-card,
.operator-stat-box,
.operator-payment-row {
    transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid), background-color var(--t-mid), opacity var(--t-mid);
}

    .auth-card:hover,
    .operator-bank-card:hover,
    .operator-stat-box:hover,
    .operator-payment-row:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 255, 153, .16);
        box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
    }

.auth-input,
.operator-card-search {
    transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}

.operator-orders-toggle span,
.operator-orders-toggle span::before,
.operator-payout-rate span,
.operator-payout-rate span::before {
    transition: background-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

@keyframes modalFadeIn {


    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {


    from {
        opacity: 0;
        transform: translateY(16px) scale(.96);
    }

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

@keyframes authGlowFloat {


    from {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: .75;
    }

    to {
        transform: translate3d(18px, -14px, 0) scale(1.06);
        opacity: 1;
    }
}

.operator-orders-table tr {
    transition: background-color var(--t-fast), opacity var(--t-fast);
}

.operator-orders-table tbody tr:hover {
    background: rgba(0, 255, 153, .035);
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    min-width: 360px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.operator-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.operator-receipt-modal {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
    color: #111827;
}

.operator-receipt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

    .operator-receipt-modal-header h3 {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: #111827;
    }

.operator-modal-close {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.operator-receipt-modal-text {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.operator-receipt-upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 16px;
    padding: 22px;
    background: #f8fafc;
    cursor: pointer;
    transition: .2s ease;
}

    .operator-receipt-upload:hover {
        border-color: #2563eb;
        background: #eff6ff;
    }

    .operator-receipt-upload input {
        display: none;
    }

.operator-receipt-upload-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    word-break: break-word;
}

.operator-receipt-upload-subtitle {
    font-size: 13px;
    color: #6b7280;
}

.operator-receipt-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px;
}

.operator-modal-primary,
.operator-modal-secondary {
    border: none;
    border-radius: 12px;
    padding: 11px 18px;
    font-weight: 600;
    cursor: pointer;
}

.operator-modal-primary {
    background: #2563eb;
    color: #ffffff;
}

    .operator-modal-primary:hover:not(:disabled) {
        background: #1d4ed8;
    }

.operator-modal-secondary {
    background: #f3f4f6;
    color: #374151;
}

    .operator-modal-secondary:hover:not(:disabled) {
        background: #e5e7eb;
    }

    .operator-modal-primary:disabled,
    .operator-modal-secondary:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

.operator-status-filter {
    min-width: 190px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 153, .12);
    background-color: #07130f;
    color: #e2f5eb;
    padding: 0 42px 0 14px;
    outline: none;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #00ff99 50%), linear-gradient(135deg, #00ff99 50%, transparent 50%);
    background-position: calc(100% - 20px) 18px, calc(100% - 14px) 18px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

    .operator-status-filter:hover {
        border-color: rgba(0, 255, 153, .28);
        background-color: rgba(0, 255, 153, .06);
        box-shadow: 0 0 0 4px rgba(0, 255, 153, .04);
    }

    .operator-status-filter:focus {
        border-color: rgba(0, 255, 153, .42);
        box-shadow: 0 0 0 4px rgba(0, 255, 153, .08);
    }

    .operator-status-filter option {
        background: #07130f;
        color: #e2f5eb;
    }

.operator-merchant-key-card {
    max-width: 680px;
}

.operator-merchant-key-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(0, 255, 153, .1);
    color: #00ff99;
    font-size: 28px;
    margin-bottom: 18px;
}

.operator-generated-key {
    margin: 24px 0;
    padding: 16px;
    border: 1px solid rgba(0, 255, 153, .12);
    background: #020b09;
    border-radius: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

    .operator-generated-key span {
        font-family: monospace;
        color: #00ff99;
        overflow-wrap: anywhere;
    }

    .operator-generated-key button {
        border: none;
        background: rgba(0, 255, 153, .1);
        color: #00ff99;
        border-radius: 10px;
        padding: 10px 14px;
        font-weight: 800;
        cursor: pointer;
    }

.operator-generated-merchant {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    background: #020b09;
    border: 1px solid rgba(0, 255, 153, .12);
}

    .operator-generated-merchant div {
        display: grid;
        gap: 6px;
    }

    .operator-generated-merchant span {
        color: rgba(241, 255, 248, .55);
        font-size: 13px;
    }

    .operator-generated-merchant strong,
    .operator-generated-merchant code {
        color: #00ff99;
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .operator-generated-merchant button {
        margin-top: 8px;
        border: none;
        background: rgba(0, 255, 153, .1);
        color: #00ff99;
        border-radius: 10px;
        padding: 12px 14px;
        font-weight: 800;
        cursor: pointer;
    }

@media (max-width: 640px) {
    .auth-page {
        padding: 24px 14px;
    }

    .auth-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .auth-brand h1 {
        font-size: 38px;
    }

    .auth-card-head h2 {
        font-size: 26px;
    }
}

@media (max-width: 1200px) {
    .operator-page {
        grid-template-columns: 1fr;
    }

    .operator-sidebar {
        display: none;
    }

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

    .operator-payment-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .operator-payment-time {
        text-align: left;
    }
}

@media (max-width: 700px) {
    .operator-main {
        padding: 0 16px 24px;
    }

    .operator-topbar {
        height: auto;
        padding: 18px 0;
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .operator-top-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .operator-balance-card {
        padding: 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .operator-balance-actions {
        width: 100%;
    }

    .operator-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 24px 14px;
    }

    .auth-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .auth-brand h1 {
        font-size: 38px;
    }

    .auth-card-head h2 {
        font-size: 26px;
    }
}

@media (max-width: 1200px) {
    .operator-page {
        grid-template-columns: 1fr;
    }

    .operator-sidebar {
        display: none;
    }

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

    .operator-payment-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .operator-payment-time {
        text-align: left;
    }
}

@media (max-width: 700px) {
    .operator-main {
        padding: 0 16px 24px;
    }

    .operator-topbar {
        height: auto;
        padding: 18px 0;
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .operator-top-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .operator-balance-card {
        padding: 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .operator-balance-actions {
        width: 100%;
    }

    .operator-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .operator-top-actions .language-switcher {
        flex: 0 0 auto;
    }
}

@media (max-width: 700px) {
    .operator-topbar {
        height: auto;
        padding: 18px 0;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-direction: row;
    }

        .operator-topbar h1 {
            font-size: 24px;
            white-space: nowrap;
        }

    .operator-top-actions {
        width: auto;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

        .operator-top-actions .language-switcher {
            position: static;
            width: 58px;
            min-width: 58px;
            height: 40px;
            padding: 0 8px;
            font-size: 12px;
        }

    .operator-icon-btn {
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        flex-shrink: 0;
    }

    .operator-user-btn {
        height: 40px;
        min-height: 40px;
        padding: 0 10px 0 4px;
        gap: 8px;
        font-size: 12px;
        flex-shrink: 0;
    }

        .operator-user-btn span {
            width: 30px;
            height: 30px;
        }
}

@media (max-width: 430px) {
    .operator-main {
        padding: 0 12px 24px;
    }

    .operator-topbar h1 {
        font-size: 22px;
    }

    .operator-top-actions {
        gap: 6px;
    }

    .operator-user-btn {
        max-width: 94px;
        overflow: hidden;
    }
}

@media (max-width: 700px) {
    .operator-payments-card {
        padding: 22px 14px;
        border-radius: 18px;
        min-height: auto;
    }

    .operator-card-head {
        gap: 12px;
        margin-bottom: 18px;
    }

        .operator-card-head h2 {
            font-size: 20px;
            line-height: 1.2;
        }

        .operator-card-head button {
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 13px;
            white-space: nowrap;
        }

    .operator-payments-list {
        margin-top: 18px;
        gap: 12px;
    }

    .operator-payment-row {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas: "user user"
            "amount status"
            "time time";
        gap: 10px 12px;
        padding: 16px;
        border: 1px solid rgba(0, 255, 153, .08);
        border-radius: 16px;
        background: rgba(0, 255, 153, .025);
    }

    .operator-payment-user {
        grid-area: user;
        gap: 12px;
    }

    .operator-payment-icon {
        width: 38px;
        height: 38px;
    }

    .operator-payment-user strong {
        font-size: 15px;
        line-height: 1.2;
    }

    .operator-payment-user p {
        font-size: 12px;
        margin-top: 3px;
    }

    .operator-payment-amount {
        grid-area: amount;
        font-size: 21px;
        line-height: 1;
        align-self: center;
    }

    .operator-payment-status {
        grid-area: status;
        align-self: center;
        justify-self: end;
        padding: 7px 12px;
        font-size: 12px;
    }

    .operator-payment-time {
        grid-area: time;
        text-align: left;
        font-size: 13px;
        color: rgba(241, 255, 248, .6);
        padding-top: 2px;
    }

    .operator-show-more {
        margin-top: 22px;
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        background: rgba(0, 255, 153, .06);
    }
}

@media (max-width: 900px) {
    .operator-card-form-grid,
    .operator-cards-list {
        grid-template-columns: 1fr;
    }

    .operator-cards-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .operator-add-card-btn {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .operator-card-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .operator-card-search {
        width: 100%;
    }

    .operator-filter-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .operator-orders-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .operator-orders-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.operator-cabinets-page {
    display: grid;
    gap: 22px;
    max-width: 760px;
}

.operator-cabinets-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
}

.operator-cabinets-header p {
    margin: 8px 0 0;
    color: rgba(241, 255, 248, .55);
}

.operator-cabinets-list {
    display: grid;
    gap: 10px;
}

.operator-cabinet-card {
    min-height: 58px;
    padding: 0 16px;
    border-radius: 12px;
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 12px;
}

    .operator-cabinet-card:hover {
        background: rgba(0, 255, 153, .045);
        border-color: rgba(0, 255, 153, .18);
    }

.status-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.operator-cabinet-card.active .status-dot {
    background: #00ff66;
    box-shadow: 0 0 16px rgba(0, 255, 102, .75);
}

.operator-cabinet-card.frozen .status-dot {
    background: #ff3535;
    box-shadow: 0 0 16px rgba(255, 53, 53, .75);
}

.operator-cabinet-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

    .operator-cabinet-info strong {
        color: #f1fff8;
        font-size: 15px;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .operator-cabinet-info span {
        font-size: 12px;
        color: rgba(241, 255, 248, .45);
    }

.operator-action-btn {
    border: 1px solid rgba(0, 255, 153, .12);
    background: rgba(0, 255, 153, .06);
    color: #00ff99;
    border-radius: 10px;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

    .operator-action-btn.danger {
        color: #ff7777;
        background: rgba(255, 80, 80, .08);
        border-color: rgba(255, 80, 80, .18);
    }

    .operator-action-btn.success {
        color: #00ff99;
    }

.operator-cabinet-card {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border-radius: 12px;
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
}

.operator-cabinet-arrow {
    color: rgba(241, 255, 248, .35);
    font-size: 28px;
}

.operator-cabinet-modal {
    width: min(720px, calc(100vw - 32px));
}

.operator-cabinet-modal-status {
    display: inline-flex;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

    .operator-cabinet-modal-status.active {
        color: #00ff99;
        background: rgba(0, 255, 153, .08);
    }

    .operator-cabinet-modal-status.frozen {
        color: #ff7777;
        background: rgba(255, 80, 80, .08);
    }

.operator-cabinet-modal-cards {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

    .operator-cabinet-modal-cards h4 {
        margin: 0;
        font-size: 16px;
    }

.operator-cabinet-card-item {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 153, .08);
    background: #020b09;
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 16px;
    align-items: center;
}

    .operator-cabinet-card-item div {
        display: grid;
        gap: 5px;
    }

    .operator-cabinet-card-item strong {
        color: #f1fff8;
    }

    .operator-cabinet-card-item span {
        color: rgba(241, 255, 248, .55);
        font-size: 13px;
    }

.operator-modal-secondary.danger {
    color: #ff7777;
    border-color: rgba(255, 80, 80, .18);
    background: rgba(255, 80, 80, .08);
}

/* Cabinets page */

.operator-cabinets-page {
    display: grid;
    gap: 22px;
    max-width: 760px;
}

.operator-cabinets-header h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 900;
    color: #f1fff8;
}

.operator-cabinets-header p {
    margin: 8px 0 0;
    color: rgba(241, 255, 248, .55);
}

.operator-cabinets-list {
    display: grid;
    gap: 10px;
}

.operator-cabinet-card {
    width: 100%;
    min-height: 62px;
    padding: 0 18px;
    border-radius: 14px;
    background: #06110c;
    border: 1px solid rgba(0, 255, 153, .08);
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    color: #f1fff8;
}

    .operator-cabinet-card:hover {
        background: rgba(0, 255, 153, .045);
        border-color: rgba(0, 255, 153, .18);
        box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
    }

    .operator-cabinet-card.active .status-dot {
        background: #00ff66;
        box-shadow: 0 0 16px rgba(0, 255, 102, .75);
    }

    .operator-cabinet-card.frozen .status-dot {
        background: #ff3535;
        box-shadow: 0 0 16px rgba(255, 53, 53, .75);
    }

.status-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.operator-cabinet-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

    .operator-cabinet-info strong {
        color: #f1fff8;
        font-size: 15px;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .operator-cabinet-info span {
        color: rgba(241, 255, 248, .45);
        font-size: 12px;
        font-weight: 700;
    }

.operator-cabinet-arrow {
    color: rgba(0, 255, 153, .45);
    font-size: 28px;
}

/* Cabinet modal */

.operator-cabinet-modal {
    width: min(720px, calc(100vw - 32px));
    max-width: 720px;
    background: #06110c !important;
    color: #f1fff8 !important;
    border: 1px solid rgba(0, 255, 153, .14);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

    .operator-cabinet-modal .operator-receipt-modal-header h3 {
        color: #f1fff8 !important;
        font-size: 24px;
        font-weight: 900;
    }

    .operator-cabinet-modal .operator-modal-close {
        background: rgba(255, 255, 255, .04);
        color: #e2f5eb;
        border: 1px solid rgba(0, 255, 153, .12);
    }

        .operator-cabinet-modal .operator-modal-close:hover {
            background: rgba(0, 255, 153, .08);
        }

.operator-cabinet-modal-status {
    display: inline-flex;
    margin-top: 8px;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

    .operator-cabinet-modal-status.active {
        color: #00ff99;
        background: rgba(0, 255, 153, .08);
    }

    .operator-cabinet-modal-status.frozen {
        color: #ff8f8f;
        background: rgba(255, 90, 90, .08);
    }

.operator-cabinet-modal-cards {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

    .operator-cabinet-modal-cards h4 {
        margin: 0;
        color: #f1fff8;
        font-size: 18px;
        font-weight: 900;
    }

.operator-cabinet-card-item {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 153, .08);
    background: #020b09;
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 16px;
    align-items: center;
}

    .operator-cabinet-card-item div {
        display: grid;
        gap: 5px;
    }

    .operator-cabinet-card-item strong {
        color: #f1fff8;
        font-weight: 900;
    }

    .operator-cabinet-card-item span {
        color: rgba(241, 255, 248, .55);
        font-size: 13px;
    }

.operator-cabinet-modal .operator-empty-text {
    color: rgba(241, 255, 248, .58);
}

.operator-cabinet-modal .operator-modal-primary {
    background: #00ff99;
    color: #04110a;
    font-weight: 900;
}

.operator-cabinet-modal .operator-modal-secondary {
    background: rgba(255, 255, 255, .035);
    color: #f1fff8;
    border: 1px solid rgba(0, 255, 153, .12);
    font-weight: 900;
}

    .operator-cabinet-modal .operator-modal-secondary.danger {
        color: #ff8f8f;
        border-color: rgba(255, 90, 90, .18);
        background: rgba(255, 90, 90, .06);
    }

.operator-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.operator-nav-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 180deg, rgba(0,255,153,.14), rgba(0,255,153,.05) );
    border: 1px solid rgba(0,255,153,.14);
    font-size: 16px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 6px 16px rgba(0,0,0,.22);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.operator-nav-item:hover .operator-nav-icon {
    transform: translateY(-1px) scale(1.04);
    border-color: rgba(0,255,153,.3);
    box-shadow: 0 0 18px rgba(0,255,153,.12), 0 10px 20px rgba(0,0,0,.28);
}

.operator-nav-item.active .operator-nav-icon {
    background: linear-gradient( 180deg, rgba(0,255,153,.24), rgba(0,255,153,.12) );
    border-color: rgba(0,255,153,.45);
    box-shadow: 0 0 24px rgba(0,255,153,.18), 0 10px 26px rgba(0,0,0,.32);
}

.operator-nav-divider {
    height: 1px;
    margin: 10px 12px;
    background: rgba(0,255,153,.08);
}