/* Nexabet account center — shared by deposits, bets, history, profile and support */
.nexa-account-page-head {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid #214553;
    border-radius: 13px;
    background:
        radial-gradient(circle at 88% 0%, #238cff1f, transparent 34%),
        linear-gradient(145deg, #0d2936, #0a202b);
    box-shadow: 0 13px 35px #020b0f38, inset 0 1px #ffffff08;
}

.nexa-account-page-head::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -80px;
    width: 185px;
    height: 185px;
    border: 28px solid #29d98c0a;
    border-radius: 50%;
}

.nexa-account-page-head__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #2c5b6e;
    border-radius: 11px;
    background: linear-gradient(145deg, #17485a, #113240);
    color: #39e49c;
    font-size: 24px;
    box-shadow: inset 0 1px #ffffff0d;
}

.nexa-account-page-head__copy {
    min-width: 0;
}

.nexa-account-page-head__copy > span {
    display: block;
    margin-bottom: 2px;
    color: #55d9a4;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: 1.35px;
}

.nexa-account-page-head__copy h1 {
    overflow: hidden;
    margin: 0 !important;
    color: #fff !important;
    font-size: 21px !important;
    line-height: 1.18;
    letter-spacing: -.45px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexa-account-page-head__copy p {
    margin: 4px 0 0 !important;
    color: #86a2ad !important;
    font-size: 9px !important;
}

.nexa-account-page-head__actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
}

.nexa-account-page-head__actions:empty {
    display: none;
}

.nexa-account-page-head__actions .btn,
.nexa-account-page-head__actions .form-control {
    min-height: 38px;
    border-radius: 8px !important;
    font-size: 9px !important;
}

.nexa-account-content {
    min-width: 0;
}

.nexa-account-content > .card,
.nexa-account-content > .custom--card,
.nexa-account-content .card.custom--card,
.nexa-account-content > .table-responsive,
.nexa-account-content > .responsive-filter-card,
.nexa-account-content .table-responsive {
    overflow: hidden;
    border: 1px solid #214553 !important;
    border-radius: 12px !important;
    background: #0c2430 !important;
    box-shadow: 0 12px 30px #020b0f2b;
}

.nexa-account-content .card-body {
    padding: 20px !important;
}

.nexa-account-content .card-header,
.nexa-account-content .card-footer {
    padding: 14px 18px !important;
    border-color: #214553 !important;
    background: #091e29 !important;
}

.nexa-account-content .card-title,
.nexa-account-content h1,
.nexa-account-content h2,
.nexa-account-content h3,
.nexa-account-content h4,
.nexa-account-content h5,
.nexa-account-content h6 {
    color: #f2f8fa !important;
}

.nexa-account-content p,
.nexa-account-content small,
.nexa-account-content .text-muted {
    color: #86a2ad !important;
}

.nexa-account-content .form-label {
    margin-bottom: 7px;
    color: #b8ccd4 !important;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .15px;
}

.nexa-account-content .form-control,
.nexa-account-content .form--control,
.nexa-account-content .form-select,
.nexa-account-content .select2-selection,
.nexa-account-content .input-group-text {
    min-height: 44px;
    border: 1px solid #285365 !important;
    border-radius: 8px !important;
    background: #071b25 !important;
    box-shadow: none !important;
    color: #f0f7f9 !important;
    font-size: 11px;
}

.nexa-account-content .input-group .form-control,
.nexa-account-content .input-group .form--control {
    border-radius: 8px 0 0 8px !important;
}

.nexa-account-content .input-group-text {
    display: flex;
    align-items: center;
    border-radius: 0 8px 8px 0 !important;
    color: #9ab3be !important;
}

.nexa-account-content .form-control:focus,
.nexa-account-content .form--control:focus,
.nexa-account-content .form-select:focus {
    border-color: #238cff !important;
    box-shadow: 0 0 0 3px #238cff16 !important;
}

.nexa-account-content .btn--base {
    border: 0 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #238cff, #176ee4) !important;
    box-shadow: 0 8px 18px #176ee426;
    color: #fff !important;
    font-size: 10px;
    font-weight: 850;
}

.nexa-account-content .btn-outline--base {
    border-color: #2b91ff !important;
    border-radius: 8px !important;
    background: #238cff0b !important;
    color: #72b7ff !important;
}

.nexa-account-content .btn-outline--base:hover {
    background: #238cff !important;
    color: #fff !important;
}

.nexa-account-content .custom--table {
    margin: 0;
}

.nexa-account-content .custom--table thead {
    background: #091e29 !important;
}

.nexa-account-content .custom--table thead th {
    padding: 13px 15px !important;
    border-color: #214553 !important;
    color: #7594a1 !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.nexa-account-content .custom--table tbody td {
    padding: 14px 15px !important;
    border-color: #183946 !important;
    background: #0c2430 !important;
    color: #d6e4e9 !important;
    font-size: 10px !important;
    vertical-align: middle;
}

.nexa-account-content .custom--table tbody tr:hover td {
    background: #102d39 !important;
}

.nexa-account-content .badge {
    padding: 5px 7px;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .35px;
}

.nexa-account-content .pagination .page-link {
    border-color: #214553 !important;
    background: #0c2430 !important;
    color: #9bb2bc !important;
}

.nexa-account-content .payment-system-list {
    border: 1px solid #214553 !important;
    border-radius: 11px;
    background: #091f2a !important;
}

.nexa-account-content .payment-system-list.is-scrollable {
    padding: 7px;
}

.nexa-account-content .payment-item {
    min-height: 63px;
    margin: 0 0 6px;
    padding: 9px 11px;
    border: 1px solid #214553 !important;
    border-radius: 9px !important;
    background: #0c2834 !important;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.nexa-account-content .payment-item:hover,
.nexa-account-content .payment-item:has(.payment-item__radio:checked) {
    border-color: #29d98c88 !important;
    background: #11382f !important;
    transform: translateY(-1px);
}

.nexa-account-content .payment-item__name {
    color: #e6f0f3 !important;
    font-size: 10px;
    font-weight: 800;
}

.nexa-account-content .payment-item__check {
    border-color: #396271 !important;
    background: #071b25 !important;
}

.nexa-account-content .payment-item:has(.payment-item__radio:checked) .payment-item__check {
    border-color: #29d98c !important;
    box-shadow: inset 0 0 0 4px #0c2834;
    background: #29d98c !important;
}

.nexa-account-content .payment-item__thumb {
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
}

.nexa-account-content .deposit-info {
    padding: 10px 0;
    border-color: #214553 !important;
}

.nexa-account-content .deposit-info .text {
    color: #a8bdc5 !important;
    font-size: 10px;
}

.nexa-account-content .deposit-info.total-amount {
    margin: 7px 0 13px;
    padding: 13px !important;
    border: 1px solid #2a5a68;
    border-radius: 9px;
    background: linear-gradient(145deg, #123846, #0c2b37);
}

.nexa-account-content .deposit-info.total-amount .text,
.nexa-account-content .deposit-info.total-amount span {
    color: #fff !important;
    font-weight: 850;
}

.nexa-account-content .responsive-filter-card {
    margin-bottom: 13px;
    padding: 15px !important;
}

.nexa-account-content .alert {
    border: 1px solid #285365 !important;
    border-radius: 10px !important;
    background: #102c38 !important;
    color: #c8dbe2 !important;
}

.nexa-account-content .support-card {
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #214553 !important;
    border-radius: 11px !important;
    background: #0c2430 !important;
}

.nexa-account-content .support-card.admin-reply {
    border-color: #238cff4f !important;
    background: #0d2a38 !important;
}

.nexa-account-content .support-card__head,
.nexa-account-content .support-card__body {
    border-color: #214553 !important;
    background: transparent !important;
}

.nexa-account-content .qr-code,
.nexa-account-content .preview-details {
    padding: 16px;
    border: 1px solid #214553;
    border-radius: 10px;
    background: #091e29;
}

.nexa-account-content .custom--modal .modal-content,
.custom--modal .modal-content {
    border: 1px solid #285365 !important;
    border-radius: 13px !important;
    background: #0c2430 !important;
    color: #d9e7eb !important;
}

.nexa-account-content .list-group-item,
.custom--modal .list-group-item {
    border-color: #214553 !important;
    background: transparent !important;
    color: #cddde3 !important;
}

@media (max-width: 767px) {
    .nexa-account-page-head {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
    }

    .nexa-account-page-head__icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .nexa-account-page-head__copy h1 {
        font-size: 17px !important;
    }

    .nexa-account-page-head__copy p {
        display: none;
    }

    .nexa-account-page-head__actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .nexa-account-page-head__actions > * {
        flex: 1;
    }

    .nexa-account-content .card-body {
        padding: 14px !important;
    }

    .nexa-account-content .custom--table tbody tr {
        display: block;
        overflow: hidden;
        margin: 8px;
        border: 1px solid #214553 !important;
        border-radius: 9px;
        background: #0c2430 !important;
    }

    .nexa-account-content .custom--table tbody td {
        min-height: 39px;
        padding: 10px 12px !important;
        background: transparent !important;
    }
}
