

:root {
    --cab-navy: hsl(210, 57%, 26%);
    --cab-navy-hover: hsl(210, 55%, 31%);
    --cab-main-bg: #eef2f7;
    --cab-card: #ffffff;
    --cab-border: #e2e8f0;
    --cab-text: #1a2332;
    --cab-text-muted: #5c6b7f;
    --cab-green: #a5c46e;
    --cab-green-hover: #96b55f;
    --cab-sidebar-active: #2a4d7a;
    --cab-info-bg: #e8f0fa;
    --cab-info-border: #c5d4e8;
}

body.cabinet-page {
    background: var(--bg-page);
    color: var(--cab-text);
    min-height: 100vh;
    
    --header-h: 56px;
}
body.cabinet-page .footer {
    border-top: none;
}



.header-user-widget {
    display: flex;
    align-items: stretch;
    border-radius: var(--header-radius-btn);
    overflow: visible;
    background: hsl(208, 52%, 40%);
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 130;
}

.header-user-widget__segment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    min-height: 38px;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    box-sizing: border-box;
}

.header-user-widget__segment:focus {
    outline: none;
}

.header-user-widget__segment:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: -2px;
}

.header-user-widget > .header-user-widget__segment:first-child,
.header-user-widget__menu-link .header-user-widget__segment:first-child {
    border-left: none;
}

.header-user-widget__menu-link {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    min-height: 38px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
    text-align: left;
}

.header-user-widget__menu-link:focus {
    outline: none;
}

.header-user-widget__menu-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: -2px;
}

.header-user-widget__menu-link:hover .header-user-widget__segment {
    background: rgba(0, 0, 0, 0.12);
}

.header-user-widget__segment:hover {
    background: rgba(0, 0, 0, 0.12);
}

.header-user-widget__segment--user {
    padding-left: 10px;
    padding-right: 10px;
}

.header-user-widget__avatar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.header-user-widget__avatar-wrap .fa-user {
    font-size: 18px;
    color: #fff;
}

.header-user-widget__notify {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e53935;
    border: 1px solid hsl(208, 52%, 36%);
}

.header-user-widget__chev {
    font-size: 9px;
    opacity: 0.9;
}

.header-user-widget__segment--balance {
    min-width: 88px;
    justify-content: space-between;
    gap: 14px;
    padding-left: 6px;
    padding-right: 14px;
}

.header-user-widget__currency {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.02em;
}

.header-user-widget__val {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.header-user-widget__segment--refresh {
    padding-left: 11px;
    padding-right: 11px;
}

.header-user-widget__segment--refresh .fa-arrows-rotate {
    font-size: 14px;
    opacity: 0.95;
}

.header-controls {
    position: relative;
    z-index: 130;
}


.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 284px;
    background: #f7f8fa;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    color: #1e293b;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.user-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    height: 10px;
    pointer-events: none;
}

.header-user-widget:hover .user-dropdown,
.header-user-widget__menu-link:hover ~ .user-dropdown,
.header-user-widget:focus-within .user-dropdown,
.header-user-widget--dropdown-open .user-dropdown,
.user-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown__head {
    padding: 12px 12px 10px;
    background: #f2f4f7;
    border-bottom: 1px solid #d8dee7;
}

.user-dropdown__mail {
    font-size: 16px;
    line-height: 1.2;
    color: #3b5f8a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown__balances {
    padding: 8px 12px;
    border-bottom: 1px solid #d8dee7;
    background: #fff;
}

.user-dropdown__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 3px 0;
    font-size: 14px;
    color: #355174;
}

.user-dropdown__value {
    min-width: 20px;
    text-align: right;
    color: #1e3a5f;
    font-weight: 700;
}

.user-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-top: 1px solid #d8dee7;
    color: #2a5d95;
    font-size: 14px;
    text-decoration: none;
    background: #f3f4f6;
}

.user-dropdown__item:first-of-type {
    border-top: none;
}

.user-dropdown__item i {
    width: 18px;
    text-align: center;
    font-size: 18px;
    color: #6f8aa6;
}

.user-dropdown__item span {
    font-size: 14px;
    line-height: 1.2;
}

.user-dropdown__item:hover {
    background: #e7edf3;
    color: #1e3a5f;
}

.user-dropdown__item--active {
    background: #dbe5f0;
    color: #1e3a5f;
}

.user-dropdown__item--button {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}


.cabinet-shell {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: var(--layout-max-width);
    margin: 0 auto;
    min-height: calc(100vh - var(--header-height));
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}


.cabinet-sidebar {
    flex: 0 0 268px;
    width: 268px;
    background: var(--cab-navy);
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height));
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom-left-radius: 10px;
    overflow: hidden;
}

.cabinet-sidebar__user {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cabinet-sidebar__user-text {
    flex: 1;
    min-width: 0;
}

.cabinet-sidebar__account-id {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.cabinet-sidebar__email {
    font-size: 11px;
    color: hsl(208, 37%, 78%);
    word-break: break-all;
    line-height: 1.35;
}

.cabinet-nav {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 12px;
}

.cabinet-nav__section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: hsl(208, 30%, 55%);
    padding: 12px 16px 6px;
    text-transform: uppercase;
}

.cabinet-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 16px;
    font-size: 12px;
    color: hsl(208, 35%, 88%);
    border-left: 3px solid transparent;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.cabinet-nav__link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.cabinet-nav__link--active {
    background: var(--cab-sidebar-active);
    color: #fff;
    border-left-color: hsl(208, 100%, 62%);
}

.cabinet-nav__link--active .cabinet-nav__dot {
    display: block;
}

.cabinet-nav__ico {
    width: 18px;
    text-align: center;
    font-size: 13px;
    opacity: 0.9;
    flex-shrink: 0;
}

.cabinet-nav__label {
    flex: 1;
}

.cabinet-nav__dot {
    display: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(var(--primary--40-clr-bad));
    flex-shrink: 0;
}

.cabinet-sidebar__logout {
    padding: 12px 14px 16px;
    margin-top: auto;
    border-top: none;
}

.btn-cabinet-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    background: hsl(208, 55%, 38%);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-cabinet-logout:hover {
    background: hsl(208, 55%, 45%);
}


.cabinet-main {
    flex: 1;
    min-width: 0;
    padding: 20px 24px 40px;
    background: var(--cab-main-bg);
}

@media (min-width: 769px) {
    body.cabinet-page .cabinet-main {
        padding-top: 12px;
    }
}


.cabinet-main--coupon-host {
    position: relative;
    isolation: isolate;
}

.cabinet-main__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--cab-text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.cabinet-main__lead {
    font-size: 12px;
    color: var(--cab-text-muted);
    margin-bottom: 18px;
    max-width: 720px;
    line-height: 1.45;
}


.cabinet-profile-progress {
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 10px;
    padding: 14px 16px 16px;
    margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(26, 49, 80, 0.04);
}

.cabinet-profile-progress__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cabinet-profile-progress__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cab-text);
}

.cabinet-profile-progress__pct {
    font-size: 12px;
    font-weight: 700;
    color: var(--cab-green-hover);
}

.cabinet-profile-progress__bar {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.cabinet-profile-progress__fill {
    height: 100%;
    width: 30%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cab-green) 0%, #8fb85a 100%);
}


.cabinet-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 1100px) {
    .cabinet-grid {
        grid-template-columns: 1fr;
    }
}


.cab-card {
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 10px;
    padding: 16px 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(26, 49, 80, 0.04);
}

.cab-card:last-child {
    margin-bottom: 0;
}

.cab-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--cab-text);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cab-card__title--with-info .cab-card__info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: hsl(var(--primary--40-clr-bad));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
}


.cab-field {
    position: relative;
    margin-bottom: 14px;
}

.cab-field:last-child {
    margin-bottom: 0;
}

.cab-field__label {
    position: absolute;
    left: 10px;
    top: -7px;
    padding: 0 4px;
    background: var(--cab-card);
    font-size: 10px;
    font-weight: 600;
    color: var(--cab-text-muted);
    z-index: 1;
    pointer-events: none;
}

.cab-field__input-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--cab-border);
    border-radius: 6px;
    background: #fafbfc;
    min-height: 42px;
    padding: 0 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.cab-field__input-wrap:focus-within {
    border-color: #94a3b8;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.cab-field__input-wrap--readonly {
    background: #f1f5f9;
}

.cab-field input,
.cab-field select {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--cab-text);
    padding: 10px 0;
    outline: none;
    font-family: inherit;
}

.cab-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c6b7f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 18px;
}

.cab-field__action {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cab-text-muted);
    font-size: 13px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
}

.cab-field__action:hover {
    color: var(--cab-text);
    background: rgba(0, 0, 0, 0.05);
}

.cab-info-box {
    margin-top: 14px;
    padding: 10px 12px;
    background: var(--cab-info-bg);
    border: 1px solid var(--cab-info-border);
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.45;
    color: #334155;
}

.cab-info-box strong {
    color: var(--cab-text);
}


.cab-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.cab-form-grid .cab-field--full {
    grid-column: 1 / -1;
}

@media (max-width: 700px) {
    .cab-form-grid {
        grid-template-columns: 1fr;
    }
}

.btn-cabinet-save {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 16px;
    background: var(--cab-green);
    color: #1a2332;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s, transform 0.05s;
}

.btn-cabinet-save:hover {
    background: var(--cab-green-hover);
    color: #fff;
}

.btn-cabinet-save:active {
    transform: scale(0.995);
}


.verify-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 1000px) {
    .verify-grid {
        grid-template-columns: 1fr;
    }
}



.verify-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 24px;
    border: 2px dashed var(--cab-border);
    border-radius: 10px;
    background: #f8fafc;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.verify-upload.dragover {
    border-color: hsl(208, 70%, 55%);
    background: #edf4fc;
}

.verify-upload__icon {
    font-size: 40px;
    color: hsl(208, 50%, 60%);
    line-height: 1;
}

.verify-upload__heading {
    font-size: 14px;
    font-weight: 600;
    color: var(--cab-text);
    margin: 0;
}

.verify-upload__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    background: hsl(208, 62%, 40%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.verify-upload__btn:hover {
    background: hsl(208, 62%, 34%);
}

.verify-upload__preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.verify-upload__preview:empty {
    display: none;
}

.verify-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--cab-border);
    background: #fff;
}

.verify-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.verify-thumb__remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-thumb__remove:hover {
    background: hsl(var(--primary--40-clr-bad));
}

.verify-thumb__file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    color: var(--cab-text-muted);
    text-align: center;
    padding: 4px;
    word-break: break-all;
}



.verify-info-card .cab-card__title {
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cab-text);
    line-height: 1.45;
}

.verify-info-card .cab-card__title i {
    color: hsl(208, 70%, 55%);
    font-size: 16px;
    flex-shrink: 0;
}

.verify-requirements {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.verify-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--cab-text);
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--cab-border);
    border-radius: 8px;
}

.verify-requirements li i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 14px;
    color: hsl(208, 62%, 40%);
    margin-top: 1px;
}


.verify-status-card .cab-card__title i {
    color: hsl(40, 90%, 50%);
}

.verify-status__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.verify-status__badge--pending {
    background: hsl(40, 100%, 95%);
    color: hsl(35, 80%, 38%);
    border: 1px solid hsl(40, 80%, 80%);
}

.verify-status__badge--pending i {
    font-size: 14px;
}

.verify-status__badge--success {
    background: hsl(120, 40%, 94%);
    color: hsl(120, 50%, 30%);
    border: 1px solid hsl(120, 30%, 78%);
}

.verify-status__badge--rejected {
    background: hsl(0, 80%, 96%);
    color: hsl(0, 70%, 42%);
    border: 1px solid hsl(0, 60%, 82%);
}

.verify-status__text {
    font-size: 12px;
    line-height: 1.55;
    color: var(--cab-text-muted);
    margin: 0;
}


.verify-checklist-card .cab-card__title i {
    color: hsl(208, 62%, 40%);
}

.verify-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.verify-checklist__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    font-size: 12px;
    color: var(--cab-text);
    border-bottom: 1px solid var(--cab-border);
}

.verify-checklist__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.verify-checklist__item:first-child {
    padding-top: 0;
}

.verify-checklist__dot {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    font-size: 8px;
}

.verify-checklist__dot--empty {
    color: #cbd5e1;
}

.verify-checklist__dot--done {
    color: var(--cab-green-hover);
    font-size: 14px;
}


.verify-faq-card .cab-card__title i {
    color: hsl(208, 50%, 55%);
}

.verify-faq {
    border-bottom: 1px solid var(--cab-border);
}

.verify-faq:last-of-type {
    border-bottom: none;
}

.verify-faq summary {
    padding: 11px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--cab-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    user-select: none;
}

.verify-faq summary::-webkit-details-marker {
    display: none;
}

.verify-faq summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    color: var(--cab-text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.verify-faq[open] summary::after {
    transform: rotate(180deg);
}

.verify-faq p {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--cab-text-muted);
    padding-right: 20px;
}


@media (max-width: 900px) {
    .cabinet-shell {
        flex-direction: column;
    }

    .cabinet-sidebar {
        flex: none;
        width: 100%;
        min-height: 0;
    }

    .cabinet-sidebar__user {
        padding-bottom: 12px;
    }

    .cabinet-nav {
        max-height: 280px;
    }
}



.dep-header {
    margin-bottom: 16px;
}

.dep-header__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--cab-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dep-header__copy {
    background: none;
    border: none;
    color: var(--cab-text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s;
}

.dep-header__copy:hover {
    color: hsl(208, 62%, 40%);
}

.dep-header__lead {
    font-size: 12px;
    color: var(--cab-text-muted);
    margin-top: 6px;
}


.dep-header--withdraw {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.dep-header--withdraw .dep-header__inner {
    flex: 1;
    min-width: 0;
}

.dep-header__withdraw-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--cab-green);
    color: #1a2332;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.15s, transform 0.1s;
}

.dep-header__withdraw-btn:hover {
    filter: brightness(1.06);
}

.dep-header__withdraw-btn:active {
    transform: translateY(1px);
}

.dep-info-bar {
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.dep-info-bar__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cab-text);
}

.dep-info-bar__row > i {
    color: hsl(208, 62%, 40%);
    font-size: 16px;
    flex-shrink: 0;
}

.dep-info-bar__toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--cab-text-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.15s, transform 0.2s;
}

.dep-info-bar__toggle:hover {
    color: var(--cab-text);
}

.dep-info-bar__toggle i {
    display: block;
    transition: transform 0.2s ease;
}

.dep-info-bar--open .dep-info-bar__toggle i {
    transform: rotate(180deg);
}

.dep-info-bar__panel {
    border-top: 1px solid var(--cab-border);
    padding: 12px 16px 14px 16px;
    background: rgba(0, 0, 0, 0.03);
}

.dep-info-bar__text {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    color: var(--cab-text);
}

.dep-info-bar__text + .dep-info-bar__text {
    margin-top: 10px;
}

.dep-info-bar__text--bold {
    font-weight: 700;
}


.dep-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.dep-categories {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    top: 110px;
}

.dep-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 11px 14px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: var(--cab-text);
    cursor: pointer;
    border-bottom: 1px solid var(--cab-border);
    transition: background 0.12s, color 0.12s;
    font-family: inherit;
}

.dep-cat:last-child {
    border-bottom: none;
}

.dep-cat:hover {
    background: #f1f5f9;
}

.dep-cat--active {
    background: hsl(208, 62%, 40%);
    color: #fff;
}

.dep-cat--active:hover {
    background: hsl(208, 62%, 36%);
}

.dep-cat__count {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.7;
}

.dep-methods {
    flex: 1;
    min-width: 0;
}

.dep-section {
    margin-bottom: 20px;
}

.dep-section:last-child {
    margin-bottom: 0;
}

.dep-section__title {
    font-size: 11px;
    font-weight: 800;
    color: var(--cab-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0 10px;
    border-bottom: 2px solid hsl(208, 62%, 40%);
    margin-bottom: 12px;
}

.dep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}


.dep-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.dep-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--cab-text);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    min-height: 100px;
    text-align: left;
}

.dep-card:hover {
    border-color: hsl(208, 62%, 55%);
    box-shadow: 0 2px 8px rgba(39, 106, 165, 0.12);
    transform: translateY(-1px);
}

.dep-card__icons {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 4px 6px;
    background: #fff;
    position: relative;
}

.dep-card__icons--badge {
    justify-content: center;
}

.dep-card__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    background: #e53935;
    pointer-events: none;
}

.dep-card__icons img {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.dep-card__name {
    flex-shrink: 0;
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 8px 10px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    background: hsl(208, 45%, 55%);
    text-align: left;
    word-break: break-word;
    border-radius: 0 0 7px 7px;
}


.dep-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.dep-modal-overlay[hidden] {
    display: none;
}

.dep-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 24px 22px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}

.dep-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.dep-modal__close:hover {
    background: #f1f5f9;
    color: #475569;
}

.dep-modal__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-bottom: 18px;
}

.dep-modal__brand img {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dep-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

@media (min-width: 480px) {
    .dep-modal__field {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .dep-modal__label {
        flex: 1 1 45%;
        min-width: 0;
    }

    .dep-modal__input {
        flex: 1 1 55%;
    }
}

.dep-modal__label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}

.dep-modal__input {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    font-family: inherit;
    outline: none;
}

.dep-modal__input:focus {
    border-color: hsl(208, 62%, 45%);
    box-shadow: 0 0 0 2px rgba(39, 106, 165, 0.2);
}

.dep-modal__hint {
    margin: 0 0 18px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.dep-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 8px;
    background: var(--cab-green, #5ad85a);
    color: #14221a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: inherit;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

.dep-modal__submit:hover {
    filter: brightness(1.03);
}

.dep-modal__submit:active {
    transform: translateY(1px);
}


.dep-notice-overlay {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(3px);
}

.dep-notice-overlay[hidden] {
    display: none;
}

.dep-notice {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 26px 22px 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.dep-notice__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.dep-notice__close:hover {
    background: #f1f5f9;
    color: #475569;
}

.dep-notice__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(145deg, hsl(208, 55%, 94%), hsl(208, 40%, 88%));
    color: hsl(208, 62%, 38%);
    font-size: 26px;
}

.dep-notice__icon .fa-triangle-exclamation {
    color: #c2410c;
}

.dep-notice__icon .fa-circle-check {
    color: #15803d;
}

.dep-notice__title {
    margin: 0 0 10px;
    padding: 0 28px;
    font-size: 17px;
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1.3;
}

.dep-notice__text {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}

.dep-notice__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    background: var(--cab-green, #5ad85a);
    color: #14221a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

.dep-notice__btn:hover {
    filter: brightness(1.04);
}

.dep-notice__btn:active {
    transform: translateY(1px);
}

.dep-ico-t {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #ffdd2d;
    color: #333;
    font-size: 18px;
    font-weight: 900;
}

.dep-ico-vtb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #003399;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.dep-ico-num {
    font-size: 22px;
    font-weight: 800;
    color: var(--cab-text);
}

.dep-grid--crypto {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
}

@media (max-width: 900px) {
    .dep-body {
        flex-direction: column;
    }

    .dep-categories {
        flex: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
    }

    .dep-cat {
        flex: 1 0 auto;
        border-bottom: none;
        border-right: 1px solid var(--cab-border);
        text-align: center;
        justify-content: center;
        padding: 10px 12px;
    }
}



.dw-tabs {
    display: none;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 98;
}

.dw-tabs__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dw-tabs__item {
    flex: 1;
}

.dw-tabs__link {
    display: block;
    text-align: center;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #5c6b7f;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.dw-tabs__link:hover {
    color: #1a2332;
}

.dw-tabs__link--active {
    color: hsl(208, 57%, 26%);
    border-bottom-color: hsl(120, 60%, 42%);
}



.bh2-header {
    margin-bottom: 18px;
}

.bh2-header__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--cab-text);
    margin: 0 0 4px;
}

.bh2-header__lead {
    font-size: 12px;
    color: var(--cab-text-muted);
    margin: 0;
}

.bh2-layout {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.bh2-filters {
    flex: 0 0 220px;
    width: 220px;
    min-width: 220px;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    padding: 14px;
}

.bh2-filters__topbar,
.bh2-filters__footer {
    display: none;
}

.bh2-filters__section {
    margin-bottom: 16px;
}

.bh2-filters__section:last-of-type {
    margin-bottom: 18px;
}

.bh2-filters__label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cab-text-muted);
    margin-bottom: 8px;
}

.bh2-filters__hint {
    font-size: 11px;
    color: var(--cab-text-muted);
    margin: 0 0 8px;
    line-height: 1.3;
}

.bh2-actions {
    display: flex;
    gap: 4px;
}

.bh2-actions__btn {
    width: 36px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cab-border);
    border-radius: 6px;
    background: #f8fafc;
    color: var(--cab-text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.bh2-actions__btn:hover {
    background: #eef2f7;
    color: var(--cab-text);
}

.bh2-actions__btn--active {
    background: hsl(208, 62%, 40%);
    border-color: hsl(208, 62%, 40%);
    color: #fff;
}

.bh2-date-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bh2-date-input {
    flex: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    height: 34px;
    border: 1px solid var(--cab-border);
    border-radius: 6px;
    background: #fff;
}

.bh2-date-input input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    color: var(--cab-text);
    font-family: inherit;
    outline: none;
    width: 100%;
}

.bh2-date-input input[type="date"] {
    min-height: 28px;
    cursor: pointer;
}

.bh2-date-input i {
    font-size: 12px;
    color: var(--cab-text-muted);
    flex-shrink: 0;
}

.bh2-select-wrap {
    position: relative;
}

.bh2-select-wrap select {
    width: 100%;
    height: 34px;
    padding: 0 28px 0 10px;
    border: 1px solid var(--cab-border);
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: var(--cab-text);
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%235c6b7f' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    outline: none;
}

.bh2-filters__apply {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    background: var(--cab-green);
    color: #1a2332;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.bh2-filters__apply:hover {
    background: var(--cab-green-hover);
    color: #fff;
}

.bh2-results {
    flex: 1;
    min-width: 0;
}

.bh2-results__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--cab-text);
    margin: 0 0 12px;
}

.bh2-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 8px 12px;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--cab-text-muted);
}

.bh2-summary__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.bh2-summary__seg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 0;
    white-space: nowrap;
}

.bh2-summary__seg + .bh2-summary__seg {
    border-left: 1px solid var(--cab-border);
    padding-left: 12px;
    margin-left: 0;
}

.bh2-summary__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: hsl(208, 62%, 45%);
    font-size: 15px;
}

.bh2-summary__ico--pay {
    position: relative;
}

.bh2-summary__ico-info {
    position: absolute;
    inset: 0 0 auto auto;
    transform: translate(35%, -25%);
    font-size: 9px;
    color: hsl(208, 62%, 45%);
}

.bh2-summary__text strong {
    color: var(--cab-text);
    font-weight: 700;
}

.bh2-summary .bh2-search {
    flex: 0 0 auto;
    width: 220px;
    max-width: 100%;
}

.bh2-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 220px;
    max-width: 100%;
    height: 34px;
    border: 1px solid var(--cab-border);
    border-radius: 6px;
    background: #fff;
}

.bh2-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 36px 0 12px;
    font-size: 12px;
    color: var(--cab-text);
    font-family: inherit;
    outline: none;
}

.bh2-search input::placeholder {
    color: #94a3b8;
}

.bh2-search__btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 36px;
    border: none;
    background: transparent;
    color: hsl(208, 62%, 45%);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.bh2-search__btn:hover {
    color: hsl(208, 62%, 35%);
}

.bh2-table-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow-x: auto;
    padding: 0;
}

.bh2-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    font-size: 12px;
}

.bh2-table__th {
    padding: 0 12px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    text-align: left;
    white-space: nowrap;
    border: none;
    background: transparent;
    vertical-align: bottom;
}

.bh2-table__th--action {
    width: 44px;
}

.bh2-table__th--sort {
    cursor: pointer;
}

.bh2-table__th--sort i {
    font-size: 9px;
    margin-left: 4px;
    opacity: 0.75;
    color: #94a3b8;
}

.bh2-table tbody tr {
    cursor: pointer;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
}

.bh2-table__td {
    padding: 14px 12px;
    vertical-align: middle;
    color: #334155;
    font-size: 12px;
    white-space: nowrap;
    background: #fff;
    border: none;
}

.bh2-table__td:first-child {
    border-radius: 10px 0 0 10px;
}

.bh2-table__td:last-child {
    border-radius: 0 10px 10px 0;
}

.bh2-table__row:hover .bh2-table__td {
    background: #fafbfc;
}

.bh2-table__td--event {
    white-space: normal;
    min-width: 220px;
}

.bh2-table__td--coupon {
    vertical-align: top;
}

.bh2-table__td--status {
    text-align: left;
}

.bh2-table__td--payout {
    font-weight: 700;
    color: #1e293b;
}

.bh2-event {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.bh2-event__ball {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f0fa 0%, #dbeafe 100%);
    border: 1px solid #c5d4e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(208, 62%, 42%);
    font-size: 14px;
}

.bh2-event__body {
    flex: 1;
    min-width: 0;
}

.bh2-event__name {
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.3;
    margin-bottom: 3px;
    font-size: 13px;
}

.bh2-event__hint {
    font-weight: 600;
    font-size: 12px;
    color: hsl(208, 45%, 45%);
}

.bh2-event__league {
    font-size: 11px;
    color: hsl(208, 45%, 48%);
    line-height: 1.35;
}

.bh2-event__multi {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: hsl(208, 62%, 42%);
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s;
}

.bh2-event__multi:hover {
    background: rgba(37, 99, 235, 0.08);
}

.bh2-event__multi i {
    font-size: 9px;
    opacity: 0.85;
}

.bh2-coupon-link {
    color: #1e3a5f;
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
}

.bh2-coupon-link:hover {
    color: hsl(208, 62%, 38%);
    text-decoration: underline;
}

.bh2-coupon-repeat {
    margin-top: 4px;
}

.bh2-coupon-repeat a {
    font-size: 11px;
    color: hsl(208, 62%, 45%);
    text-decoration: underline;
}

.bh2-coupon-repeat a:hover {
    color: hsl(208, 62%, 35%);
}

.bh2-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.bh2-status--pending {
    background: #e8eef5;
    color: hsl(208, 62%, 45%);
    border: none;
}

.bh2-status--win {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.bh2-status--loss {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.bh2-table__td--arrow {
    width: 44px;
    text-align: center;
}

.bh2-row-toggle {
    width: 32px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}

.bh2-row-toggle:hover {
    background: #f1f5f9;
    color: #64748b;
}

@media (max-width: 900px) {
    .bh2-layout {
        flex-direction: column;
    }

    .bh2-filters {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .bh2-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .bh2-summary .bh2-search {
        width: 100%;
    }
}



.coupon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    border-radius: 0;
}

.coupon-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

.coupon-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    max-width: 100%;
    background: #fff;
    z-index: 10;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.coupon-panel--open {
    transform: translateX(0);
}

.coupon-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: hsl(208, 57%, 26%);
    color: #fff;
    flex-shrink: 0;
}

.coupon-panel__header-text {
    font-size: 12px;
    line-height: 1.4;
    min-width: 0;
}

.coupon-panel__header-text strong {
    font-weight: 800;
    font-size: 13px;
}

.coupon-panel__close {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.coupon-panel__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.coupon-panel__ico-back {
    display: none;
}

.coupon-panel__info {
    padding: 14px 16px;
    border-bottom: 1px solid var(--cab-border);
    flex-shrink: 0;
}

.coupon-panel__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 12px;
}

.coupon-panel__label {
    color: var(--cab-text-muted);
    font-weight: 500;
}

.coupon-panel__value {
    font-weight: 700;
    color: var(--cab-text);
    text-align: right;
}

.coupon-panel__value--accent {
    color: hsl(208, 62%, 40%);
}

.coupon-panel__money {
    margin: 12px 0 4px;
    padding: 12px 12px 10px;
    border-radius: 10px;
    border: 1px solid rgba(22, 101, 52, 0.22);
    background: linear-gradient(145deg, #ecfdf5 0%, #f8fffa 50%, #fff 100%);
}

.coupon-panel__money--win {
    border-color: rgba(21, 128, 61, 0.35);
    background: linear-gradient(145deg, #dcfce7 0%, #f0fdf4 55%, #fff 100%);
}

.coupon-panel__money--loss {
    border-color: rgba(185, 28, 28, 0.2);
    background: linear-gradient(145deg, #fef2f2 0%, #fff 60%, #fafafa 100%);
}

.coupon-panel__money-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #166534;
    margin-bottom: 10px;
}

.coupon-panel__money--loss .coupon-panel__money-kicker {
    color: #991b1b;
}

.coupon-panel__money-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}

.coupon-panel__money-line--payout {
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px dashed rgba(22, 101, 52, 0.28);
}

.coupon-panel__money--loss .coupon-panel__money-line--payout {
    border-top-color: rgba(185, 28, 28, 0.2);
}

.coupon-panel__money-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #3f6212;
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.coupon-panel__money--loss .coupon-panel__money-lbl {
    color: #64748b;
}

.coupon-panel__money-val {
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
    letter-spacing: -0.02em;
    color: #1a2332;
}

.coupon-panel__money-val--stake {
    font-size: 16px;
}

.coupon-panel__money-val--payout {
    font-size: 21px;
    color: #15803d;
}

.coupon-panel__money--loss .coupon-panel__money-val--payout {
    font-size: 17px;
    color: #64748b;
}

.coupon-panel__money-coef {
    font-size: 12px;
    color: #4d7c0f;
    margin: 2px 0 4px;
    font-weight: 500;
}

.coupon-panel__money-coef strong {
    font-weight: 800;
    color: #166534;
}

.coupon-panel__money--loss .coupon-panel__money-coef {
    color: #94a3b8;
}

.coupon-panel__money--loss .coupon-panel__money-coef strong {
    color: #64748b;
}

.coupon-panel__money-note {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #3f6212;
    opacity: 0.95;
}

.coupon-panel__money--loss .coupon-panel__money-note {
    color: #94a3b8;
}

.coupon-panel__events {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.coupon-event {
    padding: 14px 16px;
    border-bottom: 1px solid var(--cab-border);
}

.coupon-event:last-child {
    border-bottom: none;
}

.coupon-event__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.coupon-event__league {
    font-size: 10px;
    font-weight: 600;
    color: var(--cab-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.coupon-event__league i {
    font-size: 11px;
    color: hsl(208, 50%, 55%);
}

.coupon-event__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.coupon-event__fav {
    border: none;
    background: none;
    color: var(--cab-text-muted);
    font-size: 13px;
    cursor: pointer;
    padding: 2px;
}

.coupon-event__fav:hover {
    color: hsl(208, 62%, 45%);
}

.coupon-event__status {
    font-size: 10px;
    font-weight: 600;
    color: hsl(35, 80%, 38%);
    background: hsl(40, 100%, 95%);
    border: 1px solid hsl(40, 80%, 80%);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.coupon-event__name {
    font-size: 14px;
    font-weight: 800;
    color: hsl(208, 62%, 40%);
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.15s;
    cursor: pointer;
}

.coupon-event__name:hover {
    text-decoration-color: hsl(208, 62%, 40%);
}

.coupon-event__details {
    display: flex;
    gap: 16px;
    margin-bottom: 6px;
}

.coupon-event__details:last-child {
    margin-bottom: 0;
}

.coupon-event__detail {
    flex: 1;
    min-width: 0;
}

.coupon-event__detail-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--cab-text-muted);
    margin-bottom: 2px;
}

.coupon-event__detail-value {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--cab-text);
}

@media (max-width: 480px) {
    .coupon-panel {
        width: 100%;
    }
}


.bh-toolbar {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
}

.bh-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 24px;
}

.bh-toolbar__row--meta {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--cab-border);
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--cab-text-muted);
}

.bh-toolbar__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bh-toolbar__label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cab-text-muted);
}

.bh-seg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bh-seg__btn {
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid var(--cab-border);
    background: #f8fafc;
    color: var(--cab-text);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bh-seg__btn:hover {
    background: #eef2f7;
    border-color: #cbd5e1;
}

.bh-seg__btn--active {
    background: hsl(208, 62%, 40%);
    border-color: hsl(208, 62%, 40%);
    color: #fff;
}

.bh-stat .fa-ticket {
    margin-right: 6px;
    opacity: 0.85;
}

.bh-stat--muted {
    color: #94a3b8;
}

.bh-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.bh-bet {
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
}

.bh-bet--win {
    border-left: 4px solid #22c55e;
}

.bh-bet--loss {
    border-left: 4px solid #ef4444;
}

.bh-bet--pending {
    border-left: 4px solid #f59e0b;
}

.bh-bet__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--cab-border);
}

.bh-bet__ids {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bh-bet__coupon {
    font-size: 12px;
    color: var(--cab-text-muted);
}

.bh-bet__coupon strong {
    color: var(--cab-text);
    font-weight: 800;
}

.bh-bet__tag {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    background: hsl(208, 45%, 92%);
    color: hsl(208, 62%, 35%);
}

.bh-bet__time {
    font-size: 11px;
    color: var(--cab-text-muted);
}

.bh-bet__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.bh-bet__badge--win {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.bh-bet__badge--loss {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.bh-bet__badge--pending {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.bh-bet__body {
    padding: 14px 16px;
}

.bh-bet__sport {
    font-size: 11px;
    font-weight: 700;
    color: hsl(208, 62%, 38%);
    margin-bottom: 6px;
}

.bh-bet__sport .fa-futbol,
.bh-bet__sport .fa-basketball {
    margin-right: 6px;
    opacity: 0.9;
}

.bh-bet__live {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 900;
    background: #ef4444;
    color: #fff;
    vertical-align: middle;
}

.bh-bet__match {
    font-size: 15px;
    font-weight: 800;
    color: var(--cab-text);
    line-height: 1.35;
    margin-bottom: 4px;
}

.bh-bet__score {
    font-size: 12px;
    color: var(--cab-text-muted);
    margin-bottom: 10px;
}

.bh-bet__score--muted {
    font-style: italic;
}

.bh-bet__pick {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 10px;
    padding: 10px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 12px;
}

.bh-bet__pick--total {
    margin-top: 10px;
    justify-content: space-between;
    align-items: center;
}

.bh-bet__market {
    font-weight: 600;
    color: var(--cab-text);
}

.bh-bet__arrow {
    color: #94a3b8;
    font-size: 11px;
}

.bh-bet__sel {
    font-weight: 700;
    color: var(--cab-text);
}

.bh-bet__odds {
    margin-left: auto;
    font-weight: 800;
    color: hsl(208, 62%, 38%);
}

.bh-bet__odds--big {
    font-size: 15px;
    margin-left: 0;
}

.bh-bet__express {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--cab-text);
}

.bh-bet__express li {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 12px;
}

.bh-bet__mini-league {
    width: 100%;
    font-size: 10px;
    font-weight: 700;
    color: var(--cab-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.bh-bet__mini-pick {
    color: hsl(208, 62%, 36%);
    font-weight: 600;
}

.bh-bet__mini-res {
    font-weight: 700;
    color: var(--cab-text-muted);
    margin-left: auto;
}

.bh-bet__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #fafbfc;
    border-top: 1px solid var(--cab-border);
}

.bh-bet__money {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px 20px;
    font-size: 12px;
}

.bh-bet__stake strong {
    color: var(--cab-text);
}

.bh-bet__payout--positive {
    font-weight: 800;
    color: #15803d;
}

.bh-bet__payout--negative {
    font-weight: 700;
    color: #94a3b8;
}

.bh-bet__payout--muted {
    font-weight: 600;
    color: var(--cab-text-muted);
}

.bh-bet__copy {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    background: #fff;
    color: var(--cab-text-muted);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bh-bet__copy:hover {
    border-color: hsl(208, 62%, 45%);
    color: hsl(208, 62%, 40%);
}

.bh-bet__copy--ok {
    border-color: #22c55e;
    color: #15803d;
    background: rgba(34, 197, 94, 0.08);
}

@media (max-width: 640px) {
    .bh-bet__foot {
        flex-wrap: wrap;
    }

    .bh-bet__odds {
        margin-left: 0;
    }

    .bh-bet__pick {
        flex-direction: column;
        align-items: flex-start;
    }
}


.ph-toolbar {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
}

.ph-toolbar--with-heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ph-toolbar--with-heading .ph-heading {
    margin: 0;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--cab-border);
}

.ph-toolbar--with-heading .dep-header__title {
    margin: 0 0 4px;
}

.ph-toolbar--with-heading .dep-header__lead {
    margin: 0;
}

.ph-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ph-tx {
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.06);
}

.ph-tx--withdraw.ph-tx--fail {
    border-left: 4px solid #dc2626;
}

.ph-tx--deposit.ph-tx--ok {
    border-left: 4px solid #22c55e;
}

.ph-tx__main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
}

.ph-tx__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
}

.ph-tx--withdraw.ph-tx--fail .ph-tx__icon {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.ph-tx--deposit.ph-tx--ok .ph-tx__icon {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.ph-tx__info {
    flex: 1;
    min-width: 0;
}

.ph-tx__line1 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 6px;
}

.ph-tx__amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--cab-text);
    letter-spacing: 0.02em;
}

.ph-tx__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ph-tx__badge--fail {
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
}

.ph-tx__badge--ok {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.ph-tx__time {
    display: block;
    font-size: 12px;
    color: var(--cab-text-muted);
    margin-bottom: 6px;
}

.ph-tx__method {
    font-size: 13px;
    font-weight: 600;
    color: var(--cab-text);
}

.ph-tx__detail {
    border-top: 1px solid var(--cab-border);
    background: #fffbeb;
}

.ph-tx__msg {
    padding: 14px 16px;
    font-size: 12px;
    line-height: 1.55;
    color: #78350f;
}

.ph-tx__msg p {
    margin: 0;
}

.ph-tx__msg strong {
    color: #92400e;
}

@media (max-width: 480px) {
    .ph-tx__main {
        flex-direction: column;
        align-items: flex-start;
    }
}


.admin-workspace {
    min-height: 100vh;
    background: #f1f5f9;
    padding: 16px;
}

.admin-topbar {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-topbar__title {
    margin: 0;
    font-size: 24px;
    color: #0f172a;
}

.admin-topbar__lead {
    margin: 6px 0 0;
    color: #475569;
    font-size: 13px;
}

.admin-topbar__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-topbar__link {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
}

.admin-topbar__link--primary {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.admin-tab-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-tab-btn--active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

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

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

.admin-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 14px;
}

.admin-panel {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    padding: 16px;
}

.admin-selected-user-wrap {
    margin-bottom: 12px;
}

.admin-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.admin-panel__title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-list-title {
    margin: 16px 0 8px;
    font-size: 13px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-user-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
    overflow: auto;
}

.admin-user-item {
    text-align: left;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #0f172a;
}

.admin-user-item--active {
    border-color: #2563eb;
    background: #eff6ff;
}

.admin-empty {
    color: #64748b;
    font-size: 13px;
}

.admin-selected-user {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-ops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-op-card {
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 12px;
    background: #fafcff;
}

.admin-op-card__title {
    margin: 0 0 10px;
    font-size: 15px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-notice {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
}

.admin-notice--ok {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(22, 163, 74, 0.35);
    color: #166534;
}

.admin-notice--error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(220, 38, 38, 0.35);
    color: #991b1b;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.admin-form-grid--4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.admin-input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--cab-text);
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
}

.admin-input:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.admin-input--full {
    grid-column: 1 / -1;
}

.admin-btn {
    min-height: 46px;
    margin-top: 0;
    letter-spacing: 0.03em;
    grid-column: 1 / -1;
}

.admin-action-btn {
    min-height: 46px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #84cc16;
    color: #1f2937;
    cursor: pointer;
    grid-column: 1 / -1;
}

.admin-action-btn:hover {
    background: #65a30d;
    color: #fff;
}

@media (max-width: 1024px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-ops-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-grid,
    .admin-form-grid--4,
    .admin-form-grid--2 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .admin-workspace {
        padding: 10px;
    }

    .admin-topbar {
        flex-direction: column;
    }

    .admin-form-grid,
    .admin-form-grid--4,
    .admin-form-grid--2 {
        grid-template-columns: 1fr;
    }
}


.settings-layout {
    max-width: 640px;
}

.settings-layout--cols {
    max-width: 960px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .settings-layout--cols {
        grid-template-columns: 1fr;
    }
}

.settings-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.settings-col .cab-card {
    margin-bottom: 0;
}

.settings-account-name {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cab-border);
}

.settings-account-name .settings-field__label {
    margin-bottom: 8px;
}

.settings-account-name .settings-field__input {
    width: 100%;
    box-sizing: border-box;
}

.settings-layout--cols > .settings-actions--wide {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.settings-actions--wide {
    max-width: 960px;
}

.settings-hint {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--cab-text-muted);
}

.settings-kv {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.settings-kv__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cab-border);
}

.settings-kv__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-kv__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cab-text-muted);
}

.settings-kv__value {
    font-size: 14px;
    font-weight: 700;
    color: var(--cab-text);
    text-align: right;
    word-break: break-all;
}

.settings-kv__meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.settings-kv__toggle {
    border: 1px solid var(--cab-border);
    background: #f8fafc;
    color: var(--cab-text-muted);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.settings-kv__toggle:hover {
    background: #eef2f7;
    color: var(--cab-text);
    border-color: #cbd5e1;
}

.settings-toggle-list {
    display: flex;
    flex-direction: column;
}

.settings-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cab-border);
    cursor: pointer;
}

.settings-toggle:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-toggle__text {
    font-size: 13px;
    font-weight: 600;
    color: var(--cab-text);
    line-height: 1.35;
}

.settings-toggle__control {
    position: relative;
    flex-shrink: 0;
}

.settings-toggle__control input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.settings-toggle__track {
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background 0.2s;
    position: relative;
}

.settings-toggle__track::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    top: 2px;
    left: 2px;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
}

.settings-toggle__control input:checked + .settings-toggle__track {
    background: var(--cab-green, #5ad85a);
}

.settings-toggle__control input:checked + .settings-toggle__track::after {
    transform: translateX(20px);
}

.settings-toggle__control input:focus-visible + .settings-toggle__track {
    outline: 2px solid hsl(208, 62%, 45%);
    outline-offset: 2px;
}

.settings-field {
    margin-bottom: 12px;
}

.settings-field:last-of-type {
    margin-bottom: 0;
}

.settings-field__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--cab-text-muted);
    margin-bottom: 6px;
}

.settings-field__input {
    max-width: 100%;
}

.settings-select {
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: var(--cab-text);
    background: #fff;
    cursor: pointer;
}

.settings-select:focus {
    outline: none;
    border-color: #94a3b8;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
}

.settings-actions {
    margin-top: 8px;
    margin-bottom: 8px;
}

.btn-cabinet-save.settings-btn-secondary {
    margin-top: 8px;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid var(--cab-border);
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.btn-cabinet-save.settings-btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.dep-header__copy--inline {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 6px;
}



.bhm-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 10px 0;
}

.bhm-empty {
    padding: 32px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--cab-text-muted);
}


.bhm-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 10px;
    border: none;
}


.bhm-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 14px;
    pointer-events: none;
    background-color: transparent;
    background-image: url("../icons/watermark.svg");
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 14px auto;
}

.bhm-card:active {
    opacity: 0.95;
}

.bhm-card__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    
    padding-left: calc(9px + 14px + 10px);
}


.bhm-card__head {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 14px 10px;
}

.bhm-card__num {
    font-size: 14px;
    color: #1a2332;
    font-weight: 500;
    line-height: 1.3;
}

.bhm-card__num strong {
    font-weight: 700;
}

.bhm-card__date {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
}


.bhm-card__events-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: #ffffff;
}

.bhm-card__ev-ico {
    color: #276aa5;
    font-size: 14px;
    flex-shrink: 0;
}

.bhm-card__ev-txt {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #1a2332;
}

.bhm-card__ev-chev {
    font-size: 11px;
    color: #bbb;
    flex-shrink: 0;
}


.bhm-card__body {
    padding: 8px 0 6px;
}

.bhm-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 14px;
    font-size: 13px;
    line-height: 1.5;
}

.bhm-card__lbl {
    color: #777;
    font-weight: 400;
    flex: 1;
    min-width: 0;
}

.bhm-card__lbl--event {
    color: #1a2332;
    font-weight: 500;
    font-size: 12px;
    word-break: break-word;
    line-height: 1.4;
}

.bhm-card__lbl--event em {
    font-style: normal;
    font-weight: 400;
    color: #999;
}

.bhm-card__val {
    font-weight: 600;
    color: #1a2332;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

.bhm-card__val--odds {
    color: #1a2332;
}


.bhm-card__money {
    margin: 10px 10px 4px;
    padding: 12px 12px 10px;
    border-radius: 10px;
    border: 1px solid rgba(22, 101, 52, 0.2);
    background: linear-gradient(145deg, #ecfdf5 0%, #f0fdf4 45%, #ffffff 100%);
    box-shadow: 0 2px 8px rgba(22, 101, 52, 0.08);
}

.bhm-card__money--win {
    border-color: rgba(21, 128, 61, 0.35);
    background: linear-gradient(145deg, #dcfce7 0%, #f0fdf4 50%, #ffffff 100%);
}

.bhm-card__money--loss {
    border-color: rgba(185, 28, 28, 0.2);
    background: linear-gradient(145deg, #fef2f2 0%, #fff 55%, #fafafa 100%);
    box-shadow: 0 1px 4px rgba(185, 28, 28, 0.06);
}

.bhm-card__money-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #166534;
    margin-bottom: 10px;
    opacity: 0.9;
}

.bhm-card__money--loss .bhm-card__money-kicker {
    color: #991b1b;
}

.bhm-card__money-stake,
.bhm-card__money-payout {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.bhm-card__money-stake {
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(22, 101, 52, 0.25);
}

.bhm-card__money--loss .bhm-card__money-stake {
    border-bottom-color: rgba(185, 28, 28, 0.2);
}

.bhm-card__money-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #3f6212;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.bhm-card__money--loss .bhm-card__money-lbl {
    color: #64748b;
}

.bhm-card__money-val {
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.bhm-card__money-val--stake {
    font-size: 17px;
    color: #1a2332;
}

.bhm-card__money-val--payout {
    font-size: 22px;
    line-height: 1.15;
    color: #15803d;
}

.bhm-card__money--loss .bhm-card__money-val--payout {
    font-size: 18px;
    color: #64748b;
}

.bhm-card__money-coef {
    font-size: 12px;
    color: #4d7c0f;
    margin-bottom: 10px;
    font-weight: 500;
}

.bhm-card__money-coef strong {
    font-weight: 800;
    color: #166534;
}

.bhm-card__money--loss .bhm-card__money-coef {
    color: #94a3b8;
}

.bhm-card__money--loss .bhm-card__money-coef strong {
    color: #64748b;
}

.bhm-card__money-note {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #3f6212;
    opacity: 0.92;
}

.bhm-card__money--loss .bhm-card__money-note {
    color: #94a3b8;
}


.bhm-card__status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px 13px;
    font-size: 13px;
    font-weight: 700;
    border-top: 1px solid #f0f0f0;
}

.bhm-card__status--win    { color: #15803d; }
.bhm-card__status--loss   { color: #d32f2f; }
.bhm-card__status--pending { color: #b45309; }


.bhm-topbar {
    display: none;
    align-items: center;
    gap: 0;
    background: hsl(208, 57%, 26%);
    color: #fff;
    padding: 0 6px;
    min-height: 46px;
    position: sticky;
    top: var(--header-h, 0px);
    z-index: 99;
}

.bhm-topbar__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 46px;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    text-decoration: none;
}

.bhm-topbar__title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-left: 4px;
}

.bhm-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.bhm-topbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 46px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.bhm-topbar__btn:active {
    opacity: 0.7;
}


.bhm-search-bar {
    display: none;
    background: hsl(208, 57%, 22%);
    padding: 6px 12px 10px;
}

.bhm-search-bar__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
}

.bhm-search-bar__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.bhm-search-bar__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.bhm-search-bar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}


.bhm-bottombar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 190;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 8px 16px;
    min-height: 48px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

.bhm-bottombar__account {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.bhm-bottombar__label {
    font-size: 11px;
    color: #999;
    font-weight: 500;
}

.bhm-bottombar__value {
    font-size: 13px;
    font-weight: 600;
    color: hsl(208, 62%, 42%);
}

.bhm-bottombar__actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bhm-bottombar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: hsl(208, 62%, 42%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}

.bhm-bottombar__btn:active {
    background: hsl(208, 62%, 35%);
}


.bh2-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: var(--cab-card);
    border: 1px solid var(--cab-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cab-text);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.bh2-filter-toggle:hover {
    background: #f1f5f9;
}

.bh2-filter-toggle__chev {
    margin-left: auto;
    font-size: 11px;
    color: var(--cab-text-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.bh2-filter-toggle--open .bh2-filter-toggle__chev {
    transform: rotate(180deg);
}


@media (max-width: 768px) {
    
    .bhm-topbar {
        display: flex;
    }

    .bhm-search-bar[hidden] {
        display: none !important;
    }

    .bhm-search-bar:not([hidden]) {
        display: block;
    }

    .bhm-bottombar {
        display: flex;
    }

    body.cabinet-page {
        
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        background: #f0f2f5;
        
        --header-h: 60px;
    }

    
    body.cabinet-page .cabinet-sidebar {
        display: none !important;
    }

    .bh2-header {
        display: none;
    }

    .bh2-summary {
        display: none;
    }

    .bh2-results__title {
        display: none;
    }

    .bh2-filter-toggle {
        display: none;
    }

    
    .cabinet-shell {
        max-width: 100% !important;
        width: 100% !important;
        min-height: calc(100vh - 46px - 48px);
        border-radius: 0;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .cabinet-main {
        padding: 0 !important;
        background: #f0f2f5;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    
    .bh2-filters {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        width: 100%;
        min-width: 0;
        flex: none;
        margin: 0;
        border-radius: 0;
        border: none;
        background: #fff;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
    }

    .bh2-filters--open {
        display: flex;
    }

    
    .bh2-filters__topbar {
        display: flex;
        align-items: center;
        gap: 0;
        background: hsl(208, 57%, 26%);
        color: #fff;
        min-height: 46px;
        padding: 0 6px;
        flex-shrink: 0;
    }

    .bh2-filters__topbar-back {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 46px;
        background: none;
        border: none;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }

    .bh2-filters__topbar-title {
        flex: 1;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding-left: 4px;
    }

    
    .bh2-filters__body {
        flex: 1;
        overflow-y: auto;
        padding: 20px 16px;
    }

    .bh2-filters__section {
        margin-bottom: 24px;
    }

    .bh2-filters__label {
        font-size: 14px;
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        color: var(--cab-text);
        margin-bottom: 12px;
    }

    .bh2-filters__hint {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .bh2-date-row {
        gap: 12px;
    }

    .bh2-date-input {
        height: 44px;
        border-radius: 8px;
        padding: 0 12px;
    }

    .bh2-date-input input {
        font-size: 13px;
    }

    .bh2-select-wrap select {
        height: 44px;
        font-size: 13px;
        border-radius: 8px;
        padding: 0 32px 0 12px;
    }

    
    .bh2-filters__footer {
        display: flex;
        gap: 10px;
        padding: 12px 16px;
        border-top: 1px solid #e5e7eb;
        flex-shrink: 0;
        background: #fff;
    }

    .bh2-filters__cancel {
        flex: 1;
        height: 44px;
        border: 1px solid hsl(208, 57%, 26%);
        border-radius: 8px;
        background: #fff;
        color: hsl(208, 57%, 26%);
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        cursor: pointer;
        font-family: inherit;
    }

    .bh2-filters__apply {
        flex: 1;
        height: 44px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        background: hsl(208, 57%, 26%);
        color: #fff;
    }

    .bh2-filters__apply:hover {
        background: hsl(208, 57%, 22%);
        color: #fff;
    }

    
    .bh2-layout {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .bh2-results {
        width: 100%;
        max-width: 100%;
        padding: 10px 10px 70px;
        box-sizing: border-box;
        background: #e8edf2;
    }

    
    .bh2-table-wrap {
        display: none;
    }

    .bhm-list {
        display: flex;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    
    .coupon-overlay {
        display: none !important;
    }

    .coupon-panel {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: 100%;
        z-index: 1000;
        border-radius: 0;
        box-shadow: none;
        transform: none;
        display: none;
        flex-direction: column;
        background: #f0f2f5;
    }

    .coupon-panel--open {
        display: flex;
        transform: none;
    }

    .coupon-panel__header {
        min-height: 46px;
        padding: 0 6px;
        gap: 0;
    }

    .coupon-panel__close {
        order: -1;
        width: 42px;
        height: 46px;
        background: none;
        border-radius: 0;
        font-size: 16px;
    }

    .coupon-panel__close:hover {
        background: none;
    }

    .coupon-panel__ico-close {
        display: none !important;
    }

    .coupon-panel__ico-back {
        display: inline !important;
    }

    .coupon-panel__header-text {
        flex: 1;
        padding-left: 4px;
    }

    .coupon-panel__info {
        background: #fff;
        margin: 10px 10px 0;
        border-radius: 8px;
        border-bottom: none;
    }

    .coupon-panel__events {
        background: transparent;
        padding: 0 10px 10px;
    }

    .coupon-event {
        background: #fff;
        border-radius: 8px;
        margin-top: 10px;
        border-bottom: none;
    }

    .coupon-event:last-child {
        border-bottom: none;
    }

    
    body.cabinet-page .bhm-topbar {
        position: relative !important;
        top: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    
    body.cabinet-page .header > script {
        display: none !important;
    }

    
    .dw-tabs {
        display: block;
    }

    .dep-header,
    .dep-header--withdraw {
        display: none !important;
    }

    
    .ph-toolbar--with-heading .ph-heading {
        display: none !important;
        border: none;
        padding: 0;
    }

    .ph-toolbar--with-heading {
        gap: 0;
    }

    #globalFooterMount,
    body.cabinet-page .footer {
        display: none !important;
    }

    .dep-info-bar {
        margin: 5px 10px 0;
        border-radius: 0 0 8px 8px;
    }

    .dep-body {
        padding: 0 10px 10px;
    }

    .dep-categories {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 8px 0;
        width: 100%;
        position: static;
        border: none;
        background: transparent;
    }

    .dep-cat {
        flex: 0 0 auto;
        white-space: nowrap;
        border: none;
        border-bottom: none;
        border-right: none;
        padding: 6px 14px;
        font-size: 11px;
        border-radius: 16px;
        margin-right: 6px;
        background: #e8edf2;
        color: var(--cab-text);
    }

    .dep-cat--active {
        background: hsl(208, 57%, 26%);
        color: #fff;
    }

    .dep-methods {
        width: 100%;
    }

    .dep-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }

    
    .cabinet-main__title,
    .cabinet-main__lead {
        display: none;
    }

    .settings-layout--cols {
        padding: 10px;
        gap: 10px;
    }

    .settings-col .cab-card {
        border-radius: 8px;
    }

    .settings-actions--wide {
        padding: 0;
    }

    .settings-actions--wide .btn-cabinet-save {
        width: 100%;
        border-radius: 8px;
    }
}
