/* ═══════════════════════════════════════════════════════
   PAYPASS — Payment Processing Platform
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap');

:root {
    --primary: #3366FF;
    --primary-dark: #2952CC;
    --primary-light: #EBF0FF;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --success: #22C55E;
    --success-light: #DCFCE7;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --white: #FFFFFF;
    --sidebar-width: 220px;
    --header-height: 52px;
    --radius: 10px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
}

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

html { font-size: 14px; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ── LAYOUT ──────────────────────────────────────────── */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* ── SIDEBAR ─────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform .25s ease;
}

.sidebar-logo {
    padding: 20px 24px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.5px;
    color: var(--gray-900);
}

.sidebar-nav {
    flex: 1;
    padding: 4px 12px;
    list-style: none;
}

.sidebar-nav li { margin-bottom: 2px; }

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--gray-600);
    font-weight: 500;
    font-size: .93rem;
    transition: all .15s ease;
}

.sidebar-nav a:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.sidebar-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.sidebar-nav a .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.sidebar-nav .badge {
    margin-left: auto;
    background: var(--danger);
    color: var(--white);
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
}

/* ── MAIN CONTENT ────────────────────────────────────── */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
}

/* ── TOP BAR ─────────────────────────────────────────── */
.topbar {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-balance {
    font-size: .9rem;
    color: var(--gray-600);
}

.topbar-balance span {
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-email {
    font-size: .85rem;
    color: var(--gray-500);
}

.btn-logout {
    background: none;
    border: none;
    color: var(--danger);
    font-weight: 600;
    cursor: pointer;
    font-size: .85rem;
    font-family: inherit;
}

/* ── PAGE BODY ───────────────────────────────────────── */
.page-body {
    padding: 28px;
    flex: 1;
}

/* ── CARDS (UI components) ───────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
    font-size: .95rem;
}

.card-body { padding: 20px; }

/* ── INFO BOX ────────────────────────────────────────── */
.info-box {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.info-box h3 {
    font-size: .95rem;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.info-box ul {
    padding-left: 20px;
    color: var(--gray-600);
    font-size: .88rem;
}

.info-box ul li { margin-bottom: 4px; }

.info-box p {
    color: var(--gray-500);
    font-size: .85rem;
    margin-top: 10px;
}

/* ── STAT GRID ───────────────────────────────────────── */
.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.stat-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
}

.stat-box .label {
    font-size: .85rem;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 8px;
}

.stat-box .value {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.stat-box .value.primary { color: var(--primary); }
.stat-box .value.success { color: var(--primary); }
.stat-box .value.danger { color: var(--primary); }

.stat-box .sub {
    text-align: center;
    font-size: .82rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* ── TABLES ──────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table thead th {
    background: var(--gray-50);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: .82rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .3px;
    border-bottom: 1px solid var(--gray-200);
}

table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--gray-100);
    font-size: .9rem;
    color: var(--gray-700);
}

table tbody tr:hover {
    background: var(--gray-50);
}

/* ── STATUS BADGES ───────────────────────────────────── */
.status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: .78rem;
    font-weight: 600;
}

.status-new { background: var(--primary-light); color: var(--primary); }
.status-pending { background: var(--warning-light); color: var(--warning); }
.status-completed { background: var(--success-light); color: var(--success); }
.status-disputed { background: var(--danger-light); color: var(--danger); }
.status-cancelled { background: var(--gray-100); color: var(--gray-500); }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: all .15s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-danger {
    background: var(--danger);
    color: var(--white);
}
.btn-danger:hover { background: #DC2626; }

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-sm { padding: 6px 12px; font-size: .82rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }

/* ── FORMS ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: .88rem;
    color: var(--gray-600);
}

.form-control {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--gray-800);
    transition: border-color .15s;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(51, 102, 255, .12);
}

/* ── TOGGLE SWITCH ───────────────────────────────────── */
.toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle .slider {
    position: absolute;
    inset: 0;
    background: var(--gray-300);
    border-radius: 24px;
    cursor: pointer;
    transition: .25s;
}

.toggle .slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: .25s;
}

.toggle input:checked + .slider { background: var(--primary); }
.toggle input:checked + .slider::before { transform: translateX(20px); }

/* ── TABS ────────────────────────────────────────────── */
.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    background: var(--white);
    font-family: inherit;
    font-weight: 600;
    font-size: .82rem;
    color: var(--gray-600);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .3px;
    transition: all .15s;
}

.tab-btn:hover { background: var(--gray-50); }

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ── METRIC CARDS ────────────────────────────────────── */
.metric-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
    min-width: 120px;
}

.metric-card .num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
}

.metric-card .txt {
    font-size: .8rem;
    color: var(--gray-400);
    margin-top: 2px;
}

/* ── SETTINGS GRID ───────────────────────────────────── */
.settings-banner {
    background: linear-gradient(135deg, #4338CA, #6366F1, #818CF8);
    border-radius: var(--radius);
    padding: 24px 28px;
    color: var(--white);
    margin-bottom: 28px;
}

.settings-banner h2 { font-size: 1.2rem; margin-bottom: 6px; }
.settings-banner p { opacity: .85; font-size: .88rem; }

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.setting-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
}

.setting-card .label {
    font-size: .82rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.setting-card .val {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
}

.setting-card .tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-500);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: .78rem;
    margin-left: 8px;
    font-weight: 500;
}

.commission-info {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 20px;
    max-width: 420px;
}

.commission-info h4 {
    font-size: .95rem;
    margin-bottom: 14px;
    color: var(--gray-700);
}

.commission-info .row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: .88rem;
    color: var(--gray-600);
}

.commission-info .row:last-child { border: none; }
.commission-info .row span:last-child { font-weight: 600; color: var(--gray-800); }

/* ── CHART CONTAINER ─────────────────────────────────── */
.chart-container {
    position: relative;
    height: 260px;
}

/* ── DATE FILTER ─────────────────────────────────────── */
.date-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.date-filter label {
    font-size: .85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.date-filter input[type="date"] {
    padding: 7px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: .88rem;
}

/* ── EMPTY STATE ─────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.empty-state p { font-size: .92rem; }

/* ── MODAL ───────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    overflow-y: auto;
}

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

.modal {
    background: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
    animation: modalIn .2s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
}

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

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 2;
}

.modal-header h3 { font-size: 1rem; }

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--gray-400);
    padding: 4px;
}

.modal-body {
    padding: 24px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex: 0 0 auto;
    background: var(--white);
    position: sticky;
    bottom: 0;
    z-index: 2;
}

.modal-floating-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1101;
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

body.modal-open {
    overflow: hidden;
}

/* ── LOGIN / REGISTER ────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.auth-card h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.auth-card .sub {
    color: var(--gray-500);
    font-size: .9rem;
    margin-bottom: 28px;
}

.auth-card .btn { width: 100%; justify-content: center; }

.auth-card .alt {
    text-align: center;
    margin-top: 18px;
    font-size: .88rem;
    color: var(--gray-500);
}

/* ── ADMIN ───────────────────────────────────────────── */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px;
    background: var(--gray-50);
}

.admin-stat .label {
    font-size: .8rem;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.admin-stat .value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
}

.admin-create-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-user-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.admin-user-pill {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: .8rem;
    font-weight: 600;
}

.admin-details-modal {
    width: min(96vw, 1200px);
    max-width: 1200px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
}

.admin-details-modal .modal-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    padding-bottom: 12px;
}

/* Фиксированные блоки — не растягиваются, не сжимаются */
.admin-user-meta {
    flex: 0 0 auto;
}

.admin-sections-nav {
    flex: 0 0 auto;
}

.admin-section-hint {
    flex: 0 0 auto;
}

/* Прокручиваемая область — занимает всё оставшееся место */
.admin-details-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    /* Минимальная высота чтобы таблица всегда была видна */
    min-height: 200px;
}

.admin-details-panel {
    display: none;
}

.admin-details-panel.active {
    display: block;
}

.admin-sections-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
    z-index: 1;
    background: var(--white);
    padding-bottom: 2px;
}

.admin-sections-nav .btn {
    padding: 7px 12px;
    font-size: .8rem;
}

.admin-section-hint {
    font-size: .8rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.admin-modal-section .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-modal-section table {
    min-width: 780px;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--gray-600);
    padding: 4px;
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .mobile-toggle { display: block; }
    .stat-grid, .settings-grid { grid-template-columns: 1fr; }
    .metric-row { flex-wrap: wrap; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-create-grid { grid-template-columns: 1fr; }
    .modal-overlay {
        padding: 8px;
    }
    .modal {
        width: 100%;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }
    .admin-details-modal {
        width: 100%;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 14px;
        padding-right: 14px;
    }
    .admin-modal-section table {
        min-width: 640px;
    }
}

/* ═══════════════════════════════════════════════════════
   PAYPASS — Light Unique Refresh
   ═══════════════════════════════════════════════════════ */
:root {
    --primary: #2f6ce5;
    --primary-dark: #2255bb;
    --primary-light: #eaf1ff;
    --danger: #e75a68;
    --danger-light: #ffe9ec;
    --success: #26b67c;
    --success-light: #e5f9f1;
    --warning: #f3b63f;
    --warning-light: #fff4d8;
    --gray-50: #f4f8ff;
    --gray-100: #edf3fc;
    --gray-200: #dde7f5;
    --gray-300: #c8d7eb;
    --gray-400: #8ca0bc;
    --gray-500: #62758f;
    --gray-600: #445673;
    --gray-700: #2e3f5a;
    --gray-800: #22324a;
    --gray-900: #111f34;
    --white: #ffffff;
    --radius: 14px;
    --shadow-sm: 0 6px 18px rgba(38, 69, 125, .08);
    --shadow: 0 14px 34px rgba(43, 76, 133, .12);
    --shadow-md: 0 22px 44px rgba(36, 62, 111, .14);
}

body {
    background:
        radial-gradient(980px 420px at -18% -10%, rgba(47, 108, 229, .12), transparent 62%),
        radial-gradient(740px 340px at 118% 5%, rgba(38, 182, 124, .10), transparent 58%),
        linear-gradient(180deg, #f9fbff 0%, #f2f7ff 100%);
    color: var(--gray-800);
}

.sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    border-right: 1px solid var(--gray-200);
}

.sidebar-logo {
    color: #1d2d45;
    letter-spacing: .5px;
}

.sidebar-nav a {
    border: 1px solid transparent;
    border-radius: 12px;
}

.sidebar-nav a:hover {
    background: #f1f6ff;
    border-color: #dbe7fb;
}

.sidebar-nav a.active {
    background: linear-gradient(95deg, rgba(47, 108, 229, .14), rgba(47, 108, 229, .06));
    border-color: rgba(47, 108, 229, .24);
}

.main-content {
    background: transparent;
}

.topbar {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-200);
}

.topbar-email {
    color: var(--gray-600);
}

.btn-logout {
    padding: 7px 12px;
    border: 1px solid #f6c8cf;
    border-radius: 10px;
    background: #fff4f6;
}

.page-body {
    position: relative;
}

.page-body::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(56, 88, 140, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 88, 140, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    border-radius: 10px;
    opacity: .35;
}

.page-body > * {
    position: relative;
    z-index: 1;
}

.card,
.stat-box,
.metric-card,
.setting-card,
.commission-info,
.balance-requests-card,
.wallet-deposit-card,
.balance-kpi-card,
.admin-stat {
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.card-header {
    border-bottom: 1px solid var(--gray-100);
}

table thead th {
    background: #f6f9ff;
}

table tbody tr:hover {
    background: #f7faff;
}

.btn-primary {
    background: linear-gradient(135deg, #3978eb, #2f6ce5);
    box-shadow: 0 10px 22px rgba(47, 108, 229, .24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2f6ce5, #2255bb);
}

.btn-outline {
    background: #ffffff;
    border-color: var(--gray-300);
}

.form-control:focus {
    border-color: #7ea6ef;
    box-shadow: 0 0 0 3px rgba(47, 108, 229, .15);
}

.settings-banner {
    background: linear-gradient(135deg, #2f6ce5, #4f8fff, #65a6ff);
}

.auth-page {
    background: linear-gradient(140deg, #e8f1ff 0%, #f6fbff 45%, #ebfff6 100%);
}

.auth-card {
    border: 1px solid #dce8fb;
    box-shadow: 0 24px 50px rgba(52, 88, 146, .16);
}

.pp-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #fff;
    font-family: inherit;
    font-weight: 500;
    animation: modalIn .2s ease;
}

.pp-toast-info {
    background: #3366FF;
}

.pp-toast-success {
    background: #22C55E;
}

.pp-toast-error {
    background: #EF4444;
}
