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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    overflow: hidden;
    color:#ffffff;
}

/* Páginas admin con scroll interno: no centrar en vertical (evita recorte) */
body:has(#content-page > .admin-profile-scroll),
body:has(#content-page > .legal-page-scroll),
body:has(#content-page > .admin-stores-scroll),
body:has(#content-page > .store-signup-scroll),
body:has(#content-page > .store-panel-fit),
body:has(#content-page > .operator-panel-fit) {
    align-items: stretch;
    justify-content: flex-start;
}

#content-page {
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Perfil admin / páginas legales / PV / poco saldo: scroll interno sin barra visible en el panel morado */
html:has(#content-page > .admin-profile-scroll),
html:has(#content-page > .legal-page-scroll),
html:has(#content-page > .admin-stores-scroll),
html:has(#content-page > .store-signup-scroll),
html:has(#content-page > .start-section),
html:has(#content-page > .store-panel-fit),
html:has(#content-page > .operator-panel-fit) {
    overflow: hidden;
    height: 100%;
}

#content-page:has(> .admin-profile-scroll),
#content-page:has(> .legal-page-scroll),
#content-page:has(> .admin-stores-scroll),
#content-page:has(> .store-signup-scroll),
#content-page:has(> .start-section),
#content-page:has(> .store-panel-fit),
#content-page:has(> .operator-panel-fit) {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.admin-profile-scroll,
.legal-page-scroll,
.admin-stores-scroll,
.store-signup-scroll {
    max-height: 100dvh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 120px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.admin-profile-scroll::-webkit-scrollbar,
.legal-page-scroll::-webkit-scrollbar,
.admin-stores-scroll::-webkit-scrollbar,
.store-signup-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Lista de juegos admin: botón + anclado al card de filtros */
.admin-games-filters-card {
    position: relative;
    overflow: visible;
    margin-top: 12px;
}

.admin-games-filters-card .btn-add-new {
    top: -18px;
    right: 8px;
    z-index: 2;
}

.admin-stores-page {
    margin-top: 12px;
    padding-top: 70px;
    padding-bottom: 24px;
}

.admin-stores-card {
    position: relative;
}

.admin-stores-header {
    padding-right: 2px;
}

.admin-stores-card .stores-add-btn {
    position: static;
    width: 45px;
    height: 45px;
    min-width: 45px;
    margin: 0;
    flex-shrink: 0;
}

.low-balance-history-scroll {
    max-height: 65vh;
    overflow-y: auto;
    overflow-x: auto;
}

.stores-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.stores-actions .btn {
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
}

.admin-stores-card table th:last-child,
.admin-stores-card table td:last-child {
    min-width: 142px;
    width: 142px;
    white-space: nowrap;
}

.admin-stores-card table td:last-child {
    vertical-align: middle;
}

.store-panel-fit {
    height: 100dvh;
    padding: 68px 12px 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

.store-panel-fit input.form-control,
.store-panel-fit select.form-control,
.store-panel-fit textarea.form-control {
    color: #2d3748 !important;
    background-color: #ffffff !important;
    caret-color: #6236ff;
    -webkit-text-fill-color: #2d3748;
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text;
    position: relative;
    z-index: 2;
}

.store-panel-fit select.form-control {
    cursor: pointer;
}

.store-panel-fit input.form-control::placeholder,
.store-panel-fit textarea.form-control::placeholder {
    color: #9aa0b5;
    opacity: 1;
    -webkit-text-fill-color: #9aa0b5;
}

.store-panel-fit input.form-control:disabled,
.store-panel-fit select.form-control:disabled,
.store-panel-fit textarea.form-control:disabled {
    background-color: #f1f3f8 !important;
    color: #6c757d !important;
    -webkit-text-fill-color: #6c757d;
    opacity: 1;
}

.store-panel-fit .form-label,
.store-panel-fit .store-tab-form small.text-danger,
.store-panel-fit .store-tab-form small.text-muted {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    color: #4b2be0;
}

.store-panel-fit .store-tab-form,
.store-panel-fit .store-tab-form .store-form-field {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.store-panel-fit .store-panel-card {
    pointer-events: auto;
}

.store-panel-shell {
    width: 100%;
    max-width: min(1680px, 99vw);
    height: 100%;
    flex: 1;
    min-height: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    gap: 1.5rem;
    min-height: 0;
}

.store-panel-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
}

.store-panel-sidebar-card {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.store-panel-sidebar-card > .card-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.store-panel-sidebar-divider {
    margin: 1.25rem 0 1.1rem;
    border-top: 1px solid rgba(98, 54, 255, 0.14);
    flex-shrink: 0;
}

.store-panel-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.95rem 1.15rem;
    border-radius: 12px;
    text-decoration: none;
    color: #4b2be0;
    background: rgba(98, 54, 255, 0.08);
    border: 1px solid rgba(98, 54, 255, 0.2);
    font-size: 1.02rem;
    line-height: 1.3;
    transition: background 0.2s ease, transform 0.2s ease;
}

.store-panel-back-btn:hover {
    color: #4b2be0;
    background: rgba(98, 54, 255, 0.14);
    transform: translateY(-1px);
}

.store-panel-back-btn i {
    font-size: 1.15rem;
}

.store-panel-sidebar-card .card-body,
.store-panel-nav-card .card-body {
    padding: 1.35rem 1.4rem !important;
}

.store-sidebar-title {
    font-size: 1.38rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.store-sidebar-subtitle {
    margin-bottom: 0;
    line-height: 1.25;
}

.store-balance-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: rgba(98, 54, 255, 0.1);
    border: 1px solid rgba(98, 54, 255, 0.22);
    border-radius: 14px;
    padding: 1rem 1.15rem;
}

.store-commission-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.22);
    border-radius: 14px;
    padding: 0.85rem 1.15rem;
}

.store-commission-rate {
    font-size: 1.15rem;
    color: #198754;
}

.store-sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.store-header-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-header-line h5 {
    font-size: 1.28rem;
}

.store-balance-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(98, 54, 255, 0.1);
    border: 1px solid rgba(98, 54, 255, 0.22);
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    white-space: nowrap;
}

.store-balance-label {
    font-size: 0.98rem;
    color: #6c757d;
}

.store-balance-amount {
    font-size: 1.55rem;
    color: #4b2be0;
    line-height: 1;
}

.store-panel-tabs-card .card-body {
    padding-top: 0.7rem !important;
    padding-bottom: 0.7rem !important;
}

#content-page:has(.store-panel-fit) .btn-profile {
    left: 12px;
    top: 12px;
    z-index: 5;
}

#content-page:has(.store-panel-fit) .btn-lock {
    right: 68px;
    top: 12px;
    width: 44px;
    height: 44px;
    z-index: 5;
}

#content-page:has(.store-panel-fit) .btn-logout {
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
    z-index: 5;
}

#content-page:has(.store-panel-fit) .btn-operator-back {
    right: 124px;
    top: 12px;
    width: 44px;
    height: 44px;
    z-index: 5;
}

.store-panel-tabs {
    flex-shrink: 0;
    gap: 0.7rem;
    border-bottom: 0;
    flex-direction: column;
    margin-top: 0;
}

.store-panel-nav {
    width: 100%;
}

.store-panel-tabs .nav-item {
    width: 100%;
}

.store-panel-tabs .nav-link {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    text-align: left;
    text-decoration: none;
    border-radius: 12px;
    color: #4b2be0;
    background: rgba(98, 54, 255, 0.08);
    font-size: 1.02rem;
    line-height: 1.3;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(98, 54, 255, 0.15);
}

.store-panel-tabs .nav-link i {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.store-panel-tabs .nav-link span {
    flex: 1;
    min-width: 0;
}

.store-panel-tabs .nav-link:hover:not(.active) {
    background: rgba(98, 54, 255, 0.14);
    color: #4b2be0;
}

.store-panel-tabs .nav-link.active {
    color: #fff;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    border-color: transparent;
}

.store-panel-tab-content,
.store-panel-page-content {
    flex: 1;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.store-panel-page-content > .store-panel-card {
    flex: 1;
    min-height: 0;
}

.store-panel-tab-content > .tab-pane {
    height: 100%;
}

.store-tab-body {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(300px, 38%) minmax(0, 62%);
    gap: 1.75rem;
    padding: 1.65rem 1.75rem !important;
    min-height: 0;
    align-items: stretch;
}

.store-tab-form,
.store-tab-history {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(98, 54, 255, 0.04);
    border: 1px solid rgba(98, 54, 255, 0.1);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
}

.store-tab-form {
    justify-content: flex-start;
    align-content: flex-start;
    align-self: stretch;
    height: auto;
    max-height: 100%;
    flex: none;
    width: 100%;
}

.store-tab-form-fields {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 0 0 auto;
}

.store-prize-payable-input {
    font-weight: 700;
    color: #4b2be0;
    background-color: rgba(98, 54, 255, 0.08) !important;
    cursor: default;
}

.store-prize-payable-input:disabled {
    opacity: 1;
    color: #6c757d;
    background-color: #f1f3f8 !important;
}

.store-affiliate-qr-img {
    width: min(100%, 220px);
    border-radius: 16px;
    border: 3px solid rgba(98, 54, 255, 0.25);
    background: #fff;
    padding: 0.75rem;
}

.store-affiliate-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.store-affiliate-stat {
    background: rgba(98, 54, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.store-affiliate-stat strong {
    display: block;
    font-size: 1.1rem;
    color: #4b2be0;
    margin-top: 0.2rem;
}

.store-affiliate-rate-note {
    background: rgba(98, 54, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.store-affiliate-rate-note .store-commission-rate {
    font-size: 1.35rem;
    color: #4b2be0;
}

.store-affiliate-link-anchor {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.6rem 0.85rem;
    color: #4b2be0 !important;
    text-decoration: underline;
    word-break: break-all;
    line-height: 1.35;
}

.store-affiliate-link-anchor:hover {
    color: #3a22b8 !important;
    background: rgba(98, 54, 255, 0.06);
}

.store-affiliate-qr-link {
    display: inline-flex;
    text-decoration: none;
}

.store-affiliate-tab-body {
    align-items: start;
}

.store-affiliate-tab-body .store-affiliate-share,
.store-affiliate-tab-body .store-affiliate-history {
    height: auto;
    max-height: none;
    overflow: visible;
    align-self: start;
}

.store-affiliate-tab-body .store-affiliate-share {
    padding: 1rem 1.15rem 1.25rem;
    overflow: visible;
}

.store-affiliate-tab-body .store-affiliate-fields {
    gap: 0;
}

.store-affiliate-tab-body .store-affiliate-qr-img {
    width: min(100%, 150px);
    padding: 0.5rem;
}

.store-affiliate-tab-body .store-tab-form-title {
    margin-bottom: 0.65rem;
    font-size: 1.05rem;
}

.store-affiliate-tab-body .store-affiliate-rate-note,
.store-affiliate-tab-body .store-affiliate-stat {
    padding: 0.65rem 0.85rem;
}

.store-earnings-sidebar {
    margin-top: 0.65rem;
}

.store-earnings-amount {
    display: block;
    font-size: 1.15rem;
    color: #198754;
    margin-top: 0.2rem;
}

.store-withdraw-balance {
    background: rgba(25, 135, 84, 0.1);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.store-withdraw-balance-amount {
    display: block;
    font-size: 1.5rem;
    color: #198754;
    margin-top: 0.25rem;
}

.store-withdraw-tab-body {
    align-items: start;
}

.store-affiliate-actions {
    margin-top: 0.5rem;
}

.store-affiliate-tab-body .store-affiliate-history {
    min-height: 280px;
    min-width: 0;
    width: 100%;
}

.store-affiliate-tab-body .store-affiliate-history .store-table-wrap {
    min-height: 180px;
}

.store-affiliate-player-form-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.store-affiliate-body .store-affiliate-main-panel {
    min-height: 0;
}

.store-affiliate-body .store-affiliate-share-panel {
    max-height: 100%;
}

#store-affiliate-player-form {
    scroll-margin-top: 88px;
}

.player-signup-form-embedded .form-control {
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text;
}

.player-signup-form-grid {
    margin-top: 0.15rem;
}

.player-signup-form-field .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.player-signup-form-field .form-control {
    min-height: 46px;
}

.player-signup-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.player-signup-form-actions .btn {
    min-width: min(100%, 240px);
    min-height: 46px;
    font-weight: 600;
}

.store-signup-form-grid {
    margin-top: 0.15rem;
}

.store-signup-form-field .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.store-signup-form-field .form-control {
    min-height: 46px;
}

.store-signup-form-field .form-control[readonly] {
    background-color: rgba(98, 54, 255, 0.08);
    cursor: default;
}

.store-signup-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.25rem;
}

.store-signup-form-actions .btn {
    min-width: min(100%, 240px);
    min-height: 46px;
    font-weight: 600;
}

.store-tab-history {
    align-self: stretch;
    height: 100%;
    min-height: 420px;
}

.store-tab-history {
    padding: 1.45rem 1.6rem;
}

.store-tab-form-title,
.store-tab-history-title {
    font-size: 1.22rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.store-form-field-full {
    width: 100%;
}

.store-tab-history {
    min-width: 0;
}

.store-panel-card .card-body {
    padding: 0;
}

.store-section-head {
    margin-bottom: 1.25rem;
}

.store-section-head h6 {
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.store-section-head p {
    margin-bottom: 0;
}

.store-balance-pill {
    background: rgba(98, 54, 255, 0.12);
    border: 1px solid rgba(98, 54, 255, 0.25);
    border-radius: 12px;
    padding: 12px 18px;
    min-width: 190px;
    flex-shrink: 0;
}

.store-panel-topbar {
    flex-shrink: 0;
}

.store-panel-tabs-card {
    flex-shrink: 0;
}

.store-form-block + .store-form-block {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(98, 54, 255, 0.12);
}

.store-panel-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: default;
    margin-bottom: 0;
    overflow: hidden;
}

.store-panel-card.store-panel-sidebar-card,
.store-panel-page-content > .store-panel-card {
    cursor: default;
}

.store-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.store-form-field {
    min-width: 0;
}

.store-form-field .form-label {
    margin-bottom: 0.6rem;
    font-size: 1.08rem;
    font-weight: 600;
}

.store-form-field .form-control,
.store-form-field select.form-bingo {
    min-height: 56px;
    font-size: 1.12rem;
    width: 100%;
    margin: 0;
    padding: 12px 22px;
}

.store-panel-fit .form-bingo {
    border-width: 5px;
    font-size: 1.12rem;
}

.store-tab-form .form-bingo {
    width: 100%;
    margin: 0;
}

.store-form-field select.form-bingo {
    appearance: auto;
    cursor: pointer;
    padding-right: 2rem;
}

.store-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
}

.store-search-btn {
    min-width: 150px;
    min-height: 56px;
    white-space: nowrap;
    font-size: 1.08rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.store-form-actions {
    display: flex;
    justify-content: stretch;
    margin-top: 1.15rem;
}

.store-form-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 1.12rem;
    padding: 14px 18px;
}

.store-funding-bank-info {
    grid-column: 1 / -1;
}

.store-bank-info-card {
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(98, 54, 255, 0.15);
    width: 100%;
}

.store-bank-info-logo {
    flex: 0 0 56px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-bank-info-logo img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
}

.store-bank-info-logo i {
    color: #6236ff !important;
    font-size: 2rem;
}

.store-bank-info-details {
    display: grid;
    gap: 0.35rem;
}

.store-bank-info-row {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(98, 54, 255, 0.1);
}

.store-bank-info-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.store-voucher-field {
    grid-column: 1 / -1;
}

.store-voucher-upload {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fc;
}

.store-voucher-placeholder {
    width: 100%;
    height: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
    border: 5px solid #f1f1f1;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(135, 103, 250, 0.12), rgba(98, 54, 255, 0.08));
    color: #6236ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.store-voucher-placeholder i {
    font-size: 2rem;
    opacity: 0.85;
}

.store-voucher-placeholder span {
    font-size: 0.82rem;
    line-height: 1.3;
    max-width: 180px;
}

.store-voucher-preview {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
    border: 5px solid #f1f1f1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.store-voucher-upload .img-button {
    z-index: 2;
}

.store-player-preview-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(98, 54, 255, 0.1);
    border: 1px solid rgba(98, 54, 255, 0.22);
}

.store-player-preview-inner strong {
    font-size: 1.18rem;
}

.store-player-preview-inner .small {
    font-size: 0.95rem;
}

.store-alert-compact {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.98rem;
    line-height: 1.45;
}

.store-table-wrap {
    border-radius: 12px;
    overflow: auto;
    border: 1px solid rgba(98, 54, 255, 0.12);
    flex: 1;
    min-height: 320px;
    max-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.store-table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.store-panel-sidebar,
.store-tab-form,
.store-tab-history {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.store-panel-sidebar::-webkit-scrollbar,
.store-tab-form::-webkit-scrollbar,
.store-tab-history::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.store-table-wrap .table {
    margin-bottom: 0;
    width: 100%;
    table-layout: fixed;
}

.store-table-wrap .table thead th {
    background: rgba(98, 54, 255, 0.14);
    border-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
    white-space: normal;
    padding: 0.8rem 0.9rem;
}

.store-table-wrap .table tbody td {
    vertical-align: middle;
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
    word-break: break-word;
}

.store-table-wrap .table tbody td.text-center {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (max-width: 991px) {
    .store-panel-fit {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .store-panel-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        height: auto;
        min-height: calc(100dvh - 80px);
        gap: 0.75rem;
    }

    .store-panel-sidebar {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow: visible;
        flex-shrink: 0;
    }

    .store-panel-sidebar-card {
        flex: none;
        width: 100%;
        min-width: 0;
    }

    .store-panel-sidebar-card .card-body {
        padding: 1rem 1.05rem !important;
    }

    .store-panel-sidebar-divider {
        margin: 1rem 0 0.9rem;
    }

    .store-sidebar-title {
        font-size: 1.15rem;
        margin-bottom: 0.65rem !important;
    }

    .store-sidebar-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .store-balance-sidebar,
    .store-commission-sidebar {
        padding: 0.75rem 0.85rem;
    }

    .store-balance-amount {
        font-size: 1.2rem;
    }

    .store-commission-rate {
        font-size: 1.05rem;
    }

    .store-balance-label {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .store-panel-tabs {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow: visible;
        gap: 0.55rem;
    }

    .store-panel-tabs .nav-item {
        flex: none;
        width: 100%;
    }

    .store-panel-tabs .nav-link {
        justify-content: flex-start;
        text-align: left;
        font-size: 0.9rem;
        line-height: 1.35;
        padding: 0.8rem 0.95rem;
        white-space: normal;
    }

    .store-panel-tabs .nav-link span {
        flex: 1;
        min-width: 0;
    }

    .store-panel-page-content {
        overflow: visible;
        min-height: 0;
    }

    .store-panel-page-content > .store-panel-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .store-panel-fit {
        padding: 58px 6px 10px;
    }

    #content-page:has(.store-panel-fit) .btn-lock {
        right: 58px;
        top: 10px;
        width: 40px;
        height: 40px;
    }

    #content-page:has(.store-panel-fit) .btn-logout {
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
    }

    #content-page:has(.store-panel-fit) .btn-operator-back {
        right: 106px;
        top: 10px;
        width: 40px;
        height: 40px;
    }

    #content-page:has(.store-panel-fit) .btn-profile {
        left: 10px;
        top: 10px;
    }

    .store-panel-shell {
        gap: 0.55rem;
        min-height: calc(100dvh - 68px);
    }

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

    .store-balance-amount {
        font-size: 1.35rem;
    }

    .store-panel-tabs .nav-link {
        font-size: 0.86rem;
        padding: 0.75rem 0.85rem;
        gap: 0.55rem;
    }

    .store-panel-tabs .nav-link i {
        font-size: 1.05rem;
    }

    .store-tab-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        padding: 0.85rem !important;
        gap: 0.85rem;
    }

    .store-tab-form,
    .store-tab-history {
        padding: 1rem 0.95rem;
        border-radius: 14px;
    }

    .store-tab-form {
        height: auto !important;
        max-height: none;
        flex: none;
        align-self: stretch;
    }

    .store-tab-history {
        min-height: 320px;
        height: auto;
    }

    .store-affiliate-tab-body .store-affiliate-share,
    .store-affiliate-tab-body .store-affiliate-history {
        min-height: 0;
    }

    .store-affiliate-tab-body .store-affiliate-history {
        min-height: 240px;
    }

    .store-tab-form-title,
    .store-tab-history-title {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .store-form-field .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.45rem;
    }

    .store-form-field .form-control,
    .store-form-field select.form-bingo {
        min-height: 48px;
        font-size: 1rem;
        padding: 10px 14px;
    }

    .store-panel-fit .form-bingo {
        border-width: 3px;
        font-size: 1rem;
    }

    .store-form-grid,
    .store-search-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .store-search-btn,
    .store-form-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .store-balance-pill {
        width: 100%;
        text-align: center !important;
    }

    .store-player-preview-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-table-wrap {
        min-height: 220px;
        max-height: none;
    }

    .store-table-wrap .table {
        min-width: 560px;
    }

    .store-table-wrap .table thead th,
    .store-table-wrap .table tbody td {
        font-size: 0.88rem;
        padding: 0.65rem 0.7rem;
    }

    .store-voucher-upload.cover {
        min-height: 140px;
    }
}

@media (max-width: 400px) {
    .store-panel-fit {
        padding: 56px 4px 8px;
    }

    .store-panel-sidebar-card .card-body {
        padding: 0.85rem 0.9rem !important;
    }

    .store-sidebar-title {
        font-size: 1.05rem;
    }

    .store-panel-tabs .nav-link {
        font-size: 0.8rem;
        padding: 0.7rem 0.75rem;
    }
}

/* Evitar que SweetAlert2 / Bootstrap muevan el layout de fondo */
html.swal2-shown,
html.swal2-shown body,
body.swal2-shown,
body.swal2-height-auto,
body.modal-open {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

body.swal2-shown,
body.swal2-height-auto,
body.modal-open {
    display: block !important;
    justify-content: initial !important;
    align-items: initial !important;
    height: auto !important;
    min-height: 100vh !important;
    width: 100% !important;
    overflow: hidden !important;
}

.swal2-container {
    z-index: 20000 !important;
}

.swal2-popup {
    display: flex !important;
    flex-direction: column !important;
}

.swal2-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin: 1.25em auto 0 !important;
    padding: 0 1rem 0.25rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.swal2-actions .btn {
    min-width: 110px;
    margin: 0 !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18) !important;
}

.swal2-actions .btn.btn-primary {
    background: linear-gradient(145deg, #4e73df, #2653d4) !important;
    border: none !important;
}

.swal2-actions .btn.btn-danger {
    background: linear-gradient(145deg, #e74a3b, #be2617) !important;
    border: none !important;
}

.user-export-modal .modal-body {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

.user-export-modal-footer {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.5rem 1.35rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.user-export-modal-footer .btn {
    min-width: 120px;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.user-export-modal-footer .btn-primary.btn-bingo {
    background: linear-gradient(145deg, #4e73df, #2653d4) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.user-export-modal-footer .btn-danger.btn-bingo {
    background: linear-gradient(145deg, #e74a3b, #be2617) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

#modalUserExport.show {
    z-index: 1065;
}

.logo {
    max-width: 220px;
}

.bg-gradient-bingo {
    position: relative;
    background-color: #6236ff;
    background-image: linear-gradient(180deg, rgb(98, 54, 255) 10%, rgb(135, 103, 250) 100%);
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.bg-gradient-bingo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.5;
    filter: blur(5px); 
    z-index: -1; 
}

.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image: linear-gradient(180deg, rgb(98, 54, 255) 10%, rgb(135, 103, 250) 100%);
    z-index:999999; 
}

html.reybingo-skip-preloader .preloader {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none;
}

.canvas {
    position:absolute;
    margin:auto;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
}

.loading-progress-bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: #6236ff;
    border-radius: 5px 0 0 5px;
}

.loading-percentage {
    margin-top: 10px;
    color: #ffffff;
    text-align: center;
}

.progress-updated {
    animation: progressPulse 1s ease-in-out;
}

@keyframes progressPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.progress-bar {
    transition: width 0.6s ease;
}

.container-section {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: 75px;
}

.top-section, .center-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.start-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-section {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    height: 220px;
    max-height: 220px;
    background: rgb(98, 54, 255);
    background: linear-gradient(0deg, rgba(98, 54, 255,1) 0%, rgba(135, 103, 250,1) 100%);
    border-radius: 0px 0px 50px 50px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.top-section.live {
    border-radius: 0px 0px 10px 10px;
    height: 240px;
    max-height: 240px;
}

.bottom-section {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    max-height: 70px;
    z-index: 1051;
}

.board-section {
    flex: 1;
    height: calc(92vh - 256px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.board-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.board-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.board-section::-webkit-scrollbar-button:increment,.board-section::-webkit-scrollbar-button {
    display: none !important;
} 

.board-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.board-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.board-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.content-board {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(1, 1fr);
}

.cartons-section {
    flex: 1;
    height: calc(100vh - 222px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
}

.cartons-section-select {
    flex: 1;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.cartons-section::-webkit-scrollbar {
    -webkit-appearance: none !important;
}

.cartons-section::-webkit-scrollbar:vertical {
    width: 6px !important;
}

.cartons-section::-webkit-scrollbar-button:increment,.cartons-section::-webkit-scrollbar-button {
    display: none !important;
} 

.cartons-section::-webkit-scrollbar:horizontal {
    height: 6px !important;
}

.cartons-section::-webkit-scrollbar-thumb {
    background-color: transparent !important;
    border-radius: 7px !important;
    border: 1px solid transparent !important;
}

.cartons-section::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.game-section {
    flex: 1;
    height: calc(96vh - 90px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.game-section::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.code-bgc {
    position: fixed;
    left: 150px;
    top: 15px;
}

.content-cartons {
    display: grid;
    grid-gap: 5px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(5, 1fr);
}

.content-cartons-select {
    display: grid;
    grid-gap: 3px;
    margin: auto;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: repeat(4, 1fr);
}

.play-section {
    flex: 1;
    height: calc(100vh - 100px);
    display: flex; 
    justify-content: center;
    align-items: center; 
    overflow-y: auto; 
    overflow-x: hidden;
}

.play-cards {
    display: grid;
    grid-gap: 12px;
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    mask-image: none;
    -webkit-mask-image: none;
    transition: mask-image 0.3s ease, -webkit-mask-image 0.3s ease;
    grid-template-columns: 1fr;
    justify-items: center;
}

.play-cards .card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.play-cards .list-group {
    border-top: 0px;
    border-bottom: 0px;
}

.card-button-buy-bonus {
    background: linear-gradient(145deg, #0ea5e9, #0284c7) !important;
    border-color: #0284c7 !important;
    font-size: 0.78rem !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
}

.card-button-buy-bonus:disabled,
.card-button-buy-bonus.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.card-buy-actions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
}

.card.admin-stores-card,
.card.admin-games-filters-card {
    overflow: visible;
}

/* Hora en esquina superior izquierda */
.card-hour {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ffeb3b;
    color: #000;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Precio tipo etiqueta oferta en la esquina superior derecha */
.card-price {
    position: absolute;
    top: 35px;
    right: -50px;
    background: #e91e63;
    color: #fff;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Hacer más atractivo el título */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-title {
    overflow: hidden;          
    display: inline-block;
    width: 100%;
    position: relative;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    width: 100%; /* responsive, se adapta al ancho de la card */
    max-width: 200px;
}

.scrolling-text span {
    font-size: 0.8rem;
    display: inline-block;
    padding-right: 50px; /* espacio entre repeticiones */
    animation: scrollText 10s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* mueve la mitad porque duplicamos el texto */
    }
}


@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


/* Lista dentro del card */
.list-group-item {
    border: none;
    font-size: 0.85rem;
}

/* Botón principal */
.btn-bingo {
    border-radius: 10px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-bingo:hover {
    background: #ff5722;
    color: #fff;
}

.one-carton, .two-cartons, .three-cartons, .four-cartons, .many-cartons  {
    display: grid;
    grid-gap: 5px;
    margin: auto;
}

.bingo-border-carton {
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.bingo-border-carton-select {
    padding: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

/* Selección de cartones: celdas flexibles y encabezados sin desbordar (escritorio) */
@media (min-width: 701px) {
    #cartons-container .bingo-carton,
    .content-cartons-select .bingo-carton {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    #cartons-container .bingo-carton-header,
    .content-cartons-select .bingo-carton-header {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: 1;
        min-width: 0 !important;
        font-size: clamp(0.62rem, 2.2vw, 1rem) !important;
        line-height: 1;
        overflow: hidden;
        position: relative;
        z-index: 2;
        flex-shrink: 0;
    }

    #cartons-container .bingo-carton-number,
    .content-cartons-select .bingo-carton-number {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        aspect-ratio: 1;
        min-width: 0 !important;
        font-size: clamp(0.58rem, 2vw, 0.95rem) !important;
    }
}

#cartons-container .bingo-carton-header,
.content-cartons-select .bingo-carton-header {
    overflow: hidden;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

#cartons-container .bingo-carton-header span,
.content-cartons-select .bingo-carton-header span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

#cartons-container {
    max-height: 520px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 700px) {
    #cartons-container {
        max-height: min(38dvh, 280px) !important;
    }

    .modal-dialog.max-w-75,
    .modal-dialog.max-w-70 {
        max-width: 96% !important;
        width: 96% !important;
        margin: 0.35rem auto !important;
    }

    .modal-dialog .modal-body {
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    }

    #cartons-container .bingo-carton,
    .content-cartons-select .bingo-carton {
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    #cartons-container .bingo-carton-header,
    .content-cartons-select .bingo-carton-header {
        width: 7vw !important;
        height: 7vw !important;
        max-width: 55px;
        max-height: 55px;
        aspect-ratio: unset;
        font-size: clamp(0.7rem, 3.2vw, 1.2rem) !important;
    }

    #cartons-container .bingo-carton-number,
    .content-cartons-select .bingo-carton-number {
        width: 7vw !important;
        height: 7vw !important;
        max-width: 55px;
        max-height: 55px;
        aspect-ratio: unset;
        font-size: clamp(0.65rem, 2.8vw, 1.1rem) !important;
    }
}

@media (max-width: 480px) {
    #cartons-container {
        max-height: min(34dvh, 240px) !important;
    }

    #cartons-container .bingo-carton-header,
    .content-cartons-select .bingo-carton-header,
    #cartons-container .bingo-carton-number,
    .content-cartons-select .bingo-carton-number {
        width: 6.2vw !important;
        height: 6.2vw !important;
        max-width: 26px;
        max-height: 26px;
    }
}

.bingo-carton-header.bingo-col-b { background: #FF4D4D; }
.bingo-carton-header.bingo-col-i { background: #F39C12; }
.bingo-carton-header.bingo-col-n { background: #32CD32; }
.bingo-carton-header.bingo-col-g { background: #1E90FF; }
.bingo-carton-header.bingo-col-o { background: #A020F0; }

.modal-body > .text-center.p-2 {
    position: relative;
    z-index: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 6px;
}

.bingo-carton {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background-color: #fff;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
}

.already-select-carton {
    opacity: 0.6;
    border: 3px solid #6c757d !important;
}

.select-carton {
    border: 3px solid #28a745 !important;
    background-color: rgba(40, 167, 69, 0.1) !important;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.3) !important;
}

.bingo-carton {
    transition: all 0.3s ease;
}

#cartons-container {
    scroll-behavior: smooth;
}

.select-carton-btn:disabled {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.bingo-carton-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    border-radius: 5px;
    transition: transform 0.3s ease;
    width: 35px;
    height: 35px;
}

.bingo-carton-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d0c3ff;
    font-size: 1.2vw;
    font-weight: bold;
    color: #535560;
    border-radius: 5px;
    transition: transform 0.3s ease;
    width: 35px;
    height: 35px;
}

.data-position-13 {
    font-size: 1.5vw;
}

.bingo-carton-number:hover {
    animation: pulse-icon 0.4s ease-in-out;
    transition: all 0.3s ease;
    transform: scale(1.05);
}

.move-number {
    animation: moveBallTowards .5s ease-out forwards;
}

@keyframes moveBallTowards {
    0% {
        transform: translateY(-50px) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.column {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 5px;
    text-align: center;
    margin-bottom: 5px;
}

.container-cartons-modalities {
    display: grid;
    grid-gap: 5px;
    justify-content: center;
    margin: auto;
}

.border-carton {
    padding: 0px 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.carton {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    grid-template-rows: repeat(6, 1fr); 
    gap: 5px;
    background-color: #fff;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 130px;
}

.card-letter {
    display: flex;
    justify-content: center;
    border-radius: 3px;
    font-size: .6rem; 
    width: 14px; 
    height: 14px;
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b6a8e9;
    font-weight: bold;
    color: #6236ff;
    border-radius: 3px;
    font-size: .8rem;
    width: 14px; 
    height: 14px;
    transition: transform 0.3s ease;
}

.card-number:hover {
    background-color: #00ba71;
    color: #ffffff;
    transform: scale(1.1);
    cursor: pointer;
}

.marked {
    background-color: #6236ff !important;
    color: #ffffff;
}

.modality {
    background-color: #6236ff !important;
    color: #ffffff;
    font-size: 1.5vw;
}

.modality-sing {
    background-color: #6236ff !important;
    color: #ffffff;
}

.sing {
    /*background-color: #FBD60D !important;*/
    color: #4f008d !important;
}

.cartn-sing {
    background-color: #6236ff;
}

.cartn-sing .card-number {
    background-color: #ffeebb !important;
}

.card-number.sing {
    background-color: #FBD60D;
    color: white;
    font-weight: bold;
    animation: blink 1s infinite;
}

.bingo-carton-number.carton-sing {
    color: white;
    font-weight: bold;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.form-bingo {
    border: 6px solid #6236ff;
    border-radius: 50px;
    font-size: 1rem;
    padding: 10px 20px;
    width: 90%;
    margin: auto;
}

.form-control:not([value=""]):not([value="all"]) {
    border-color: #6236ff !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-bingo:focus {
    color: #6e707e;
    background-color: #fff;
    border-color: #6236ff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(135, 103, 250, .25);
}

.form-label {
    font-size: .9rem;
    margin-bottom: 0;
    width: 90%;
    margin: auto;
    display: block;
    padding-left: 20px;
}

small.text-danger {
    font-size: .8rem;
    margin-bottom: 0;
    padding-left: 20px;
    width: 90%;
    margin: auto;
    display: block;
}

.total-balls {
    position: fixed;
    left: 10px;
    top: 70px;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 5px 10px;
}

.total-balls small {
    font-size: 0.7rem;
}

.total-accumulated {
    position: fixed;
    right: 10px;
    top: 70px;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 5px 10px;
}

.total-accumulated small {
    font-size: 0.7rem;
}

.header-switch {
    position: fixed;
    left: 40px;
    top: 130px;
}

.time-game {
    position: fixed;
    right: 70px;
    top: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 7px 15px;
    border-radius: 40px;
    text-transform: uppercase;
    text-align: center;
}

.init-count {
    font-size: 1rem;
}

.init-count small {
    font-size: 0.6rem;
}

.btn {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
}

.btn-small {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 2rem;
    z-index: 1;
}

.btn-home {
    position: fixed;
    left: 10px;
    top: 10px;
    background: linear-gradient(145deg, #fa5c93, #FF1C00);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-home:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-home:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-home i {
    transition: transform 0.3s ease-in-out;
}

.btn-home:hover i {
    transform: scale(1.3);
}

.btn-profile {
    position: fixed;
    left: 10px;
    top: 10px;
    background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-profile img {
    width: 3.5rem;        
    height: 3.5rem; 
    min-width: 3.5rem;
    min-height: 3.5rem;      
    border-radius: 50%;
    object-fit: cover;  
    border: 3px solid #fff; 
}

.btn-profile:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-profile:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-wallet {
    position: fixed;
    left: 75px;
    top: 10px;
    background: linear-gradient(145deg, #22cbe6, #0d6efd);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-wallet:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-wallet:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-wallet i {
    transition: transform 0.3s ease-in-out;
}

.btn-wallet:hover i {
    transform: scale(1.3);
}

.btn-gamepad {
    position: fixed;
    left: 10px;
    top: 73px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-gamepad:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-gamepad:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-gamepad i {
    transition: transform 0.3s ease-in-out;
}

.btn-gamepad:hover i {
    transform: scale(1.3);
}

.btn-won-cartons {
    position: fixed;
    left: 50px;
    top: 50px;
    background: linear-gradient(145deg, #ffd200, #f7971e);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.btn-won-cartons-profile {
    position: fixed;
    left: 67px;
    top: 67px;
}

.btn-won-cartons:active {
    transform: translateY(4px);
}

.btn-won-cartons:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    transform: scale(1.05);
}

.won-cartons-pending-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

.player-nav-cluster {
    position: fixed;
    left: 13px;
    top: 13px;
    z-index: 1000;
    display: grid;
    grid-template-columns: 50px 50px;
    grid-template-rows: 50px 50px;
    gap: 6px;
    width: 106px;
    height: 106px;
}

.player-nav-cluster .btn-profile,
.player-nav-cluster .btn-home,
.player-nav-cluster .btn-wallet,
.player-nav-cluster .btn-gamepad,
.player-nav-cluster .btn-won-cartons,
.player-nav-cluster .btn-legal-player {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-legal-player {
    background: linear-gradient(145deg, #22cbe6, #0d6efd);
    color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-legal-player:hover,
.btn-legal-player.is-active {
    color: #fff;
    transform: scale(1.05);
}

.player-nav-cluster:has(.btn-legal-player) {
    grid-template-rows: 50px 50px 50px;
    height: 162px;
}

.player-nav-cluster--home .player-nav-slot-main,
.player-nav-cluster--home .player-nav-slot-wallet,
.player-nav-cluster--home .player-nav-slot-gamepad,
.player-nav-cluster--home .btn-won-cartons,
.player-nav-cluster--home .btn-legal-player {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1.75rem;
}

.player-nav-cluster--home .player-nav-slot-main {
    grid-column: 1;
    grid-row: 1;
}

.player-nav-cluster--home .player-nav-slot-wallet {
    grid-column: 2;
    grid-row: 1;
}

.player-nav-cluster--home .player-nav-slot-gamepad {
    grid-column: 1;
    grid-row: 2;
}

.player-nav-cluster--home .btn-won-cartons {
    grid-column: 2;
    grid-row: 2;
}

.player-nav-cluster--home .player-nav-slot-legal {
    grid-column: 1 / span 2;
    grid-row: 3;
    justify-self: center;
}

.player-nav-cluster--avatar {
    grid-template-columns: 56px 46px;
    grid-template-rows: 56px 46px;
    gap: 0;
    width: 108px;
    height: 108px;
}

.player-nav-cluster--avatar .player-nav-slot-main {
    grid-column: 1;
    grid-row: 1;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    z-index: 4;
}

.player-nav-cluster--avatar .player-nav-slot-wallet {
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin-left: -8px;
    margin-top: 4px;
    font-size: 1.55rem;
    z-index: 3;
}

.player-nav-cluster--avatar .player-nav-slot-gamepad {
    grid-column: 1;
    grid-row: 2;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin-top: -6px;
    font-size: 1.55rem;
    z-index: 2;
}

.player-nav-cluster--avatar .btn-won-cartons {
    grid-column: 2;
    grid-row: 2;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin-left: -10px;
    margin-top: -10px;
    font-size: 1.55rem;
    z-index: 5;
}

.player-nav-cluster--avatar:has(.btn-legal-player) {
    grid-template-rows: 56px 46px 46px;
    height: 160px;
}

.player-nav-cluster--avatar .player-nav-slot-legal {
    grid-column: 1 / span 2;
    grid-row: 3;
    justify-self: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    margin-top: -4px;
    font-size: 1.55rem;
    z-index: 3;
}

.admin-nav-cluster {
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-cluster-top {
    display: grid;
    grid-template-columns: 55px 55px;
    gap: 8px;
}

.admin-nav-cluster-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-cluster .btn-small,
.admin-nav-cluster a.btn-small,
.admin-nav-cluster button.btn-small {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-nav-cluster .btn-profile img {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
}

.btn-won-cartons.is-active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.won-carton-prize-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-qrcode {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #f6a95a, #ff8100);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.btn-qrcode:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-qrcode:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-qrcode i {
    transition: transform 0.3s ease-in-out;
}

.btn-qrcode:hover i {
    transform: scale(1.3);
}

.btn-sliders {
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 1060 !important;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-sliders:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-sliders:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-sliders i {
    transition: transform 0.3s ease-in-out;
}

.btn-sliders:hover i {
    transform: scale(1.3);
}

.btn-statistics {
    position: fixed;
    left: 10px;
    top: 75px;
    background: linear-gradient(145deg, #16eeff, #03585e);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-statistics:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-statistics:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-statistics i {
    transition: transform 0.3s ease-in-out;
}

.btn-statistics:hover i {
    transform: scale(1.3);
}

.btn-users {
    position: fixed;
    left: 10px;
    top: 270px;
    background: linear-gradient(145deg, #7b2ff7, #b06ab3);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-users:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-users:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-users i {
    transition: transform 0.3s ease-in-out;
}

.btn-users:hover i {
    transform: scale(1.3);
}

.admin-profile-scroll ~ .btn-users,
.btn-users.btn-users-profile {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 205px;
}

.btn-volume {
    position: fixed;
    right: 70px;
    top: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    z-index: 1060 !important;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-volume:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-volume:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-volume i {
    transition: transform 0.3s ease-in-out;
}

.btn-volume:hover i {
    transform: scale(1.3);
}

.btn-microphone {
    position: fixed;
    right: 70px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    z-index: 1060 !important;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-microphone:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-microphone:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-microphone i {
    transition: transform 0.3s ease-in-out;
}

.btn-microphone:hover i {
    transform: scale(1.3);
}

.btn-user {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-user:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-user:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-user i {
    transition: transform 0.3s ease-in-out;
}

.btn-user:hover i {
    transform: scale(1.3);
}

.btn-lock {
    position: fixed;
    right: 65px;
    top: 65px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-lock:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-lock:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-lock i {
    transition: transform 0.3s ease-in-out;
}

.btn-lock:hover i {
    transform: scale(1.3);
}

.btn-binary {
    position: fixed;
    right: 12px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    z-index: 1080 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-binary.hidden {
    display: none !important;
}

.btn-binary:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-binary:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-binary i {
    transition: transform 0.3s ease-in-out;
}

.btn-binary:hover i {
    transform: scale(1.3);
}

.btn-logout {
    position: fixed;
    right: 12px;
    top: 70px;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    background: linear-gradient(145deg, #181C32, #131628);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-logout:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-logout:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-logout i {
    transition: transform 0.3s ease-in-out;
}

.btn-logout:hover i {
    transform: scale(1.3);
}

.btn-game {
    position: fixed;
    left: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-game:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-game:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-game i {
    transition: transform 0.3s ease-in-out;
}

.btn-game:hover i {
    transform: scale(1.3);
}

.btn-gear {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: linear-gradient(145deg, #fa5c93, #FF1C00);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-gear:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-gear:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-gear i {
    transition: transform 0.3s ease-in-out;
}

.btn-gear:hover i {
    transform: scale(1.3);
}

.btn-kyc-admin {
    position: fixed;
    right: 10px;
    bottom: 75px;
    background: linear-gradient(145deg, #11998e, #38ef7d);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-kyc-admin:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-kyc-admin:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-kyc-admin i {
    transition: transform 0.3s ease-in-out;
}

.btn-kyc-admin:hover i {
    transform: scale(1.3);
}

.btn-low-balance-admin {
    position: fixed;
    right: 10px;
    bottom: 205px;
    background: linear-gradient(145deg, #f7971e, #ffd200);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.low-balance-pending-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

.btn-low-balance-admin:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-low-balance-admin:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-low-balance-admin i {
    transition: transform 0.3s ease-in-out;
}

.btn-low-balance-admin:hover i {
    transform: scale(1.3);
}

.btn-low-balance-admin.btn-low-balance-admin-left {
    position: fixed;
    left: 10px;
    top: 205px;
    right: auto;
    bottom: auto;
}

.btn-low-balance-admin.btn-low-balance-admin-right {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 140px;
}

.btn-store-admin {
    position: fixed;
    left: 10px;
    top: 140px;
    background: linear-gradient(145deg, #f6a95a, #ff8100);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-store-admin.btn-store-admin-left {
    left: 10px;
    top: 140px;
    right: auto;
    bottom: auto;
}

.btn-store-admin:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-store-admin:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-store-admin i {
    transition: transform 0.3s ease-in-out;
}

.btn-store-admin:hover i {
    transform: scale(1.3);
}

.btn-store-admin.btn-store-admin-right {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 186px;
}

.btn-store-admin.is-active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-operators-admin {
    position: fixed;
    left: 10px;
    top: 200px;
    background: linear-gradient(145deg, #8f7dff, #6236ff);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-operators-admin.btn-operators-admin-left {
    left: 10px;
    top: 200px;
    right: auto;
    bottom: auto;
}

.btn-operators-admin.btn-operators-admin-right {
    left: auto;
    right: 10px;
    top: auto;
    bottom: 242px;
}

.btn-operators-admin.is-active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-ggr-admin {
    position: fixed;
    left: 10px;
    top: 200px;
    background: linear-gradient(145deg, #38bdf8, #0284c7);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-ggr-admin.btn-ggr-admin-left {
    left: 10px;
    top: 200px;
    right: auto;
    bottom: auto;
}

.btn-ggr-admin.is-active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-affiliates-admin {
    position: fixed;
    left: 10px;
    top: 200px;
    background: linear-gradient(145deg, #3dd6c6, #0d9488);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-affiliates-admin.btn-affiliates-admin-left {
    left: 10px;
    top: 200px;
    right: auto;
    bottom: auto;
}

.btn-affiliates-admin.is-active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-operator-back {
    position: fixed;
    right: 10px;
    top: 140px;
    background: linear-gradient(145deg, #8f7dff, #6236ff);
}

.store-operator-acting-banner {
    flex-shrink: 0;
    width: 100%;
    max-width: min(1680px, 99vw);
    margin: 0 auto 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(98, 54, 255, 0.12);
    color: #4b2be0;
    font-size: 0.95rem;
}

.operator-stores-checklist {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid rgba(98, 54, 255, 0.18);
    border-radius: 12px;
    padding: 0.5rem;
}

.operator-store-option {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    margin-bottom: 0.35rem;
    cursor: pointer;
}

.operator-store-option.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.operator-store-card {
    border: 1px solid rgba(98, 54, 255, 0.18);
    border-radius: 16px;
    background: rgba(98, 54, 255, 0.06);
    box-shadow: 0 4px 14px rgba(98, 54, 255, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.operator-store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(98, 54, 255, 0.14);
}

.operator-panel-fit {
    z-index: 1;
}

.operator-panel-page-content {
    align-items: stretch;
}

.operator-panel-sidebar-note {
    line-height: 1.45;
    font-size: 0.88rem;
}

.operator-panel-tabs .nav-link {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.operator-panel-tab-affiliate {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(98, 54, 255, 0.12);
}

.operator-stores-search-wrap {
    flex-shrink: 0;
}

.operator-stores-search {
    position: relative;
}

.operator-stores-search i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(98, 54, 255, 0.55);
    pointer-events: none;
    font-size: 0.95rem;
}

.operator-stores-search-input {
    padding-left: 2.4rem;
    border-radius: 12px;
    border-color: rgba(98, 54, 255, 0.22);
    font-size: 0.92rem;
    min-height: 2.65rem;
}

.operator-stores-search-input:focus {
    border-color: rgba(98, 54, 255, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(98, 54, 255, 0.12);
}

.operator-stores-list-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin-bottom: 0.35rem;
}

.operator-store-nav-item.is-hidden {
    display: none;
}

.operator-stores-search-empty {
    padding: 0.75rem 0.5rem 0.35rem;
    font-size: 0.88rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.35;
}

.operator-panel-tabs-footer {
    flex-shrink: 0;
}

.operator-panel-pane {
    display: none;
    flex: 1;
    min-height: 0;
    height: 100%;
}

.operator-panel-pane.is-active {
    display: flex;
    flex-direction: column;
}

.operator-panel-pane-body {
    padding: 1.35rem 1.5rem !important;
    height: 100%;
    overflow-y: auto;
}

#operator-pane-affiliate .operator-panel-pane-body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.1rem 1.25rem !important;
    overflow-y: auto;
}

.operator-pane-inner {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
    padding: 1.35rem 1.5rem;
    border-radius: 16px;
    background: rgba(98, 54, 255, 0.04);
    border: 1px solid rgba(98, 54, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.operator-panel-pane[id^="operator-pane-store-"] .operator-panel-pane-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.35rem 1.5rem !important;
}

.operator-pane-inner-store {
    max-width: none;
    width: 100%;
    flex: 1;
    margin: 0;
    min-height: 100%;
    align-self: stretch;
    gap: 1.35rem;
    padding: 1.5rem 1.65rem;
}

.operator-pane-inner-store .operator-panel-pane-head {
    gap: 1rem;
}

.operator-pane-inner-store .operator-panel-pane-icon {
    width: 56px;
    height: 56px;
    font-size: 1.45rem;
}

.operator-pane-inner-store .operator-panel-pane-head h5 {
    font-size: 1.45rem;
    margin-bottom: 0.25rem !important;
}

.operator-pane-inner-store .operator-panel-pane-head small {
    font-size: 0.95rem;
}

.operator-pane-inner-store .operator-panel-store-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.operator-pane-inner-store .operator-panel-stat-card {
    padding: 1.25rem 1.35rem;
    min-height: 110px;
    justify-content: center;
}

.operator-pane-inner-store .operator-panel-stat-card .store-balance-label {
    font-size: 0.95rem;
}

.operator-pane-inner-store .operator-panel-stat-card .store-balance-amount,
.operator-pane-inner-store .operator-panel-stat-card .store-commission-rate {
    font-size: 1.65rem;
}

.operator-pane-inner-store .operator-panel-pane-hint {
    font-size: 1rem;
    max-width: none;
}

.operator-pane-inner-store .operator-store-enter-btn {
    min-height: 58px;
    font-size: 1.08rem;
    max-width: 420px;
}

.operator-pane-inner-affiliate {
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    padding: 1.25rem 1.4rem 1.35rem;
    gap: 1rem;
}

.operator-panel-pane-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.operator-panel-pane-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #4b2be0;
    background: rgba(98, 54, 255, 0.12);
    border: 1px solid rgba(98, 54, 255, 0.18);
    flex-shrink: 0;
}

.operator-panel-pane-icon-affiliate {
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
}

.operator-panel-pane-head h5 {
    color: #2d3748;
    font-size: 1.15rem;
    margin-bottom: 0.12rem;
}

.operator-pane-inner-affiliate .operator-panel-pane-head p.small {
    font-size: 0.88rem;
    line-height: 1.35;
}

.operator-panel-store-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 0;
}

.operator-panel-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.operator-panel-stat-card-balance {
    background: rgba(98, 54, 255, 0.1);
    border: 1px solid rgba(98, 54, 255, 0.2);
}

.operator-panel-stat-card-commission {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.operator-panel-stat-card .store-balance-amount {
    font-size: 1.35rem;
}

.operator-panel-stat-card .store-commission-rate {
    font-size: 1.2rem;
}

.operator-panel-pane-hint {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.45;
}

.operator-store-enter-btn {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 1rem;
}

.operator-empty-state {
    padding: 0.85rem 0.65rem;
    font-size: 0.88rem;
    line-height: 1.4;
    border-radius: 12px;
    background: rgba(98, 54, 255, 0.05);
}

.operator-affiliate-pane-body .operator-affiliate-layout,
.operator-pane-inner-affiliate .operator-affiliate-layout {
    display: grid;
    grid-template-columns: 188px minmax(0, 1fr);
    align-items: start;
    gap: 1rem 1.25rem;
}

.operator-affiliate-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.operator-affiliate-qr-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 14px;
    border: 2px solid rgba(98, 54, 255, 0.2);
    background: #fff;
    padding: 0.55rem;
}

.operator-affiliate-content .form-label {
    color: #4b2be0;
    font-size: 0.92rem;
    margin-bottom: 0;
}

.operator-affiliate-lead {
    line-height: 1.45;
}

.operator-affiliate-link-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: stretch;
}

.operator-affiliate-link-input {
    min-height: 48px;
    font-size: 0.88rem;
    color: #4b2be0;
    background: #fff;
    word-break: break-all;
}

.operator-affiliate-copy-btn {
    min-width: 108px;
    white-space: nowrap;
}

.operator-affiliate-copy-feedback {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #198754;
    min-height: 1.25rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.operator-affiliate-copy-feedback.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.operator-affiliate-margin-note {
    line-height: 1.4;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: rgba(98, 54, 255, 0.05);
    border: 1px solid rgba(98, 54, 255, 0.1);
}

.operator-affiliate-link-anchor {
    display: block;
    width: 100%;
    min-height: 48px;
    font-size: 0.92rem;
    padding: 0.6rem 0.85rem;
    color: #4b2be0 !important;
    text-decoration: underline;
    word-break: break-all;
    line-height: 1.35;
}

.operator-affiliate-link-anchor:hover {
    color: #3a22b8 !important;
    background: rgba(98, 54, 255, 0.06);
}

.operator-affiliate-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.operator-affiliate-actions .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem;
    white-space: normal;
    line-height: 1.25;
}

.operator-affiliate-qr-link {
    display: inline-flex;
    text-decoration: none;
}

.operator-affiliate-qr-link:hover .operator-affiliate-qr-img {
    border-color: rgba(98, 54, 255, 0.45);
    box-shadow: 0 8px 20px rgba(98, 54, 255, 0.14);
}

.operator-affiliate-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.operator-affiliate-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 0.75rem 0.9rem;
    margin-top: 0;
    border-radius: 12px;
    background: rgba(98, 54, 255, 0.08);
    border: 1px solid rgba(98, 54, 255, 0.14);
    font-size: 0.86rem;
    color: #6c757d;
    line-height: 1.3;
}

.operator-affiliate-stat strong {
    font-size: 1.05rem;
    color: #4b2be0;
    word-break: break-word;
}

.operator-affiliate-stats .operator-affiliate-stat:only-child {
    grid-column: 1 / -1;
}

#operator-pane-commissions-operator .operator-panel-pane-body,
#operator-pane-commissions-stores .operator-panel-pane-body,
#operator-pane-balance-request .operator-panel-pane-body,
#operator-pane-account-details .operator-panel-pane-body {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1.35rem 1.5rem !important;
    overflow-y: auto;
}

.operator-pane-inner-full,
#operator-pane-balance-request .operator-pane-inner,
#operator-pane-account-details .operator-pane-inner {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    flex: 1;
    align-self: stretch;
}

.operator-pane-inner-commissions {
    max-width: none;
    width: 100%;
    flex: 1;
    margin: 0;
    padding: 1.35rem 1.5rem;
    gap: 1.35rem;
    min-height: 100%;
    align-self: stretch;
}

.operator-pane-inner-commissions .operator-panel-pane-head {
    gap: 1rem;
}

.operator-pane-inner-commissions .operator-panel-pane-icon {
    width: 56px;
    height: 56px;
    font-size: 1.45rem;
}

.operator-pane-inner-commissions .operator-panel-pane-head h5 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem !important;
}

.operator-pane-inner-commissions .operator-panel-pane-head p.small {
    font-size: 0.95rem;
    line-height: 1.45;
}

.operator-panel-pane-icon-commissions {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
    border-color: rgba(25, 135, 84, 0.2);
}

.operator-commissions-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.operator-commissions-stats-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-commissions-stats .operator-affiliate-stat {
    padding: 1rem 1.15rem;
    min-height: 92px;
    font-size: 0.92rem;
    border-radius: 14px;
}

.operator-commissions-stats .operator-affiliate-stat span {
    line-height: 1.35;
}

.operator-commissions-stats .operator-affiliate-stat strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.operator-commissions-chart-wrap {
    height: 300px;
    min-height: 260px;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(98, 54, 255, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.operator-commissions-history {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.operator-commissions-history-title {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
    font-weight: 600;
    color: #2d3748;
}

.operator-commissions-history .store-table-wrap {
    flex: 1;
    min-height: 180px;
    overflow: auto;
    border: 1px solid rgba(98, 54, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    scrollbar-width: thin;
    -ms-overflow-style: auto;
}

.operator-commissions-history .store-table-wrap::-webkit-scrollbar {
    display: block;
    width: 8px;
    height: 8px;
}

.operator-commissions-history .store-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(98, 54, 255, 0.35);
    border-radius: 8px;
}

.operator-commissions-history .store-table {
    table-layout: auto !important;
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.operator-commissions-history .store-table th,
.operator-commissions-history .store-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.88rem;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

.operator-commissions-history .store-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    min-width: 120px;
    max-width: 160px;
    background: rgba(236, 230, 255, 0.98);
    position: sticky;
    top: 0;
    z-index: 2;
}

.operator-commissions-history .store-table thead th:first-child,
.operator-commissions-history .store-table tbody td:first-child {
    min-width: 150px;
    max-width: 200px;
    position: sticky;
    left: 0;
    z-index: 3;
    background: rgba(236, 230, 255, 0.98);
}

.operator-commissions-history .store-table tbody td:first-child {
    background: rgba(255, 255, 255, 0.96);
    z-index: 1;
}

.operator-affiliate-form-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(98, 54, 255, 0.14);
}

.operator-signup-form-embedded .form-control {
    pointer-events: auto !important;
    user-select: text !important;
    cursor: text;
}

.operator-signup-form-grid {
    margin-top: 0.15rem;
}

.operator-signup-form-field .form-control {
    margin-top: 0.15rem;
}

.operator-signup-form-field .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.operator-signup-form-field .form-control {
    min-height: 46px;
}

.operator-signup-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.35rem;
}

.operator-signup-form-actions .btn {
    min-width: min(100%, 240px);
    min-height: 48px;
    font-size: 1rem;
    font-weight: 600;
}

.operator-signup-form-embedded .operator-signup-form-grid {
    margin-top: 0.35rem;
}

.operator-signup-preview-note {
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: rgba(98, 54, 255, 0.08);
    border: 1px solid rgba(98, 54, 255, 0.14);
    line-height: 1.35;
}

.operator-affiliate-qr-wrap {
    display: flex;
    justify-content: center;
    padding: 0;
}

#content-page:has(.operator-panel-fit) .btn-profile {
    left: 12px;
    top: 12px;
    z-index: 5;
}

#content-page:has(.operator-panel-fit) .btn-lock {
    right: 68px;
    top: 12px;
    width: 44px;
    height: 44px;
    z-index: 5;
}

#content-page:has(.operator-panel-fit) .btn-logout {
    right: 12px;
    top: 12px;
    width: 44px;
    height: 44px;
    z-index: 5;
}

@media (max-width: 991px) {
    .operator-pane-inner-affiliate {
        max-width: 100%;
        padding: 1.1rem 1rem 1.15rem;
    }

    .operator-panel-pane-body {
        padding: 1rem !important;
    }

    .operator-pane-inner {
        padding: 1.1rem 1.15rem;
    }

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

    .operator-commissions-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .operator-pane-inner-commissions {
        padding: 1.1rem 1.15rem;
    }

    .operator-pane-inner-store {
        padding: 1.15rem 1.2rem;
    }

    .operator-pane-inner-store .operator-panel-store-stats {
        grid-template-columns: 1fr;
    }

    .operator-pane-inner-store .operator-store-enter-btn {
        max-width: none;
    }

    .operator-commissions-chart-wrap {
        height: 240px;
        min-height: 220px;
    }
}

@media (min-width: 1200px) {
    .operator-commissions-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .operator-commissions-stats-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .operator-pane-inner-affiliate .operator-affiliate-layout {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .operator-affiliate-qr-wrap {
        justify-content: center;
    }

    .operator-affiliate-qr-img {
        width: 150px;
        height: 150px;
    }

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

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

    .operator-affiliate-copy-btn {
        width: 100%;
    }

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

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

    .operator-commissions-stats .operator-affiliate-stat strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    #content-page:has(.operator-panel-fit) .btn-lock {
        right: 58px;
        top: 10px;
        width: 40px;
        height: 40px;
    }

    #content-page:has(.operator-panel-fit) .btn-logout {
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
    }

    #content-page:has(.operator-panel-fit) .btn-profile {
        left: 10px;
        top: 10px;
    }
}

.btn-board {
    font-size: 1rem;
    background: linear-gradient(145deg, #77DDFF, #55AAFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-board:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-board:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-board i {
    transition: transform 0.3s ease-in-out;
}

.btn-board:hover i {
    transform: scale(1.3);
}

.btn-award {
    font-size: 1rem;
    background: linear-gradient(145deg, #77DDFF, #55AAFF);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-award:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-award:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-award i {
    transition: transform 0.3s ease-in-out;
}

.btn-award:hover i {
    transform: scale(1.3);
}

.btn-cells {
    font-size: 1rem;
    background: linear-gradient(145deg, #FBD60D, #FFE869);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-cells:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-cells:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-cells i {
    transition: transform 0.3s ease-in-out;
}

.btn-cells:hover i {
    transform: scale(1.3);
}

.btn-chat {
    position: fixed;
    left: 15px;
    bottom: 15px;
    background: linear-gradient(145deg, #22cbe6, #0d6efd);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-chat:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-chat:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-chat i {
    transition: transform 0.3s ease-in-out;
}

.btn-chat:hover i {
    color: #ffffff;
    transform: scale(1.3);
    animation: bounce 0.6s ease-in-out infinite alternate;
}

.count_notifications {
    position: absolute;
    left: 100%;
    transform: translate(-50%, -50%);
    background-color: red;
    color: white;
    font-size: .8rem;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-award {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-bingooo {
    position: fixed;
    right: 15px;
    bottom: 15px;
    width: 150px;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    background: linear-gradient(to bottom, #4cd137, #44bd32);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
}

.btn-bingooo:hover {
    background: linear-gradient(to bottom, #44bd32, #3a9e2e);
    transform: scale(1.05);
}

@keyframes clickPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
}

.btn-bingooo.animate-click {
  animation: clickPulse 0.4s ease;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
    animation: explode 3s forwards;
}

@keyframes explode {
    0% {
        transform: translateY(-100vh) rotate(0deg); 
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
    }
}

.btn-bingo {
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: #ffffff;
    border-radius: 50px;
    padding: 14px;
    font-size: 1rem;
    box-shadow: 6px 6px 15px rgba(135, 103, 250, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-bingo:hover {
    background-color: #8767fa;
}

.btn-bingo.focus,.btn-bingo:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-bingo.disabled,.btn-bingo:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.btn-bingo:active {
    box-shadow: 0px 0px 10px rgba(135, 103, 250, 0.2), 0px 0px 20px rgba(135, 103, 250, 0.3);
    transform: translateY(4px);
}

.btn-bingo:hover {
    color: #ffffff;
    animation: pulse-icon 0.5s ease-in-out;
    box-shadow: 0px 0px 10px rgba(135, 103, 250, 0.2), 0px 0px 20px rgba(135, 103, 250, 0.3);
    transform: scale(1.05);
}

.google {
    background: linear-gradient(145deg, #ffffff, #ffffff);
    color: #535560;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 6px 6px 15px rgba(135, 103, 250, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 55%;
    height: 35px;
}

.google:hover {
    color: #535560;
}

.btn-bingo:not(:disabled):not(.disabled).active,.btn-bingo:not(:disabled):not(.disabled):active,.show>.btn-bingo.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-bingo:not(:disabled):not(.disabled).active:focus,.btn-bingo:not(:disabled):not(.disabled):active:focus,.show>.btn-bingo.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-primary:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-primary:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-primary i {
    transition: transform 0.3s ease-in-out;
}

.btn-primary:hover i {
    transform: scale(1.3);
}

.btn-minus {
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: #ffffff;
    border-radius: 50px 0 0 50px;
    border: none;
    width: 50px;
    height: 56px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3); 
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-minus:hover {
    animation: pulse-icon 0.5s ease-in-out;
    box-shadow: 0px 0px 10px rgba(135, 103, 250, 0.2), 0px 0px 20px rgba(135, 103, 250, 0.3);
    transform: scale(1.05);
}

.btn-minus.disabled,.btn-minus:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.btn-minus:not(:disabled):not(.disabled).active,.btn-minus:not(:disabled):not(.disabled):active,.show>.btn-minus.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-minus:not(:disabled):not(.disabled).active:focus,.btn-minus:not(:disabled):not(.disabled):active:focus,.show>.btn-minus.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-plus {
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: #ffffff;
    border-radius: 0 50px 50px 0;
    border: none;
    width: 50px;
    height: 56px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plus:hover {
    animation: pulse-icon 0.5s ease-in-out;
    box-shadow: 0px 0px 10px rgba(135, 103, 250, 0.2), 0px 0px 20px rgba(135, 103, 250, 0.3);
    transform: scale(1.05);
}

.btn-plus.disabled,.btn-plus:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.btn-plus:not(:disabled):not(.disabled).active,.btn-plus:not(:disabled):not(.disabled):active,.show>.btn-plus.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-plus:not(:disabled):not(.disabled).active:focus,.btn-plus:not(:disabled):not(.disabled):active:focus,.show>.btn-plus.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.w-90 {
    width: 90%!important;
    margin: auto;
}

.profile-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-picture img {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f1f1; 
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.logo-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-picture img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f1f1f1; 
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.cover img {
    width: 250px;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
    border: 5px solid #f1f1f1;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.edit-button {
    position: relative;
    top: -50px;
    left: -40px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    border: none;
    color: #fff;
    border-radius: 50%;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cover .img-button {
    background: linear-gradient(145deg, #6041ce, #2e00d3);
    border: none;
    color: #fff;
    border-radius: 50%;
    height: 25px;
    padding: 4px 7px;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.edit-button:hover {
    background-color: #8767fa; 
    transform: scale(1.1);
}

.card .table-responsive {
    box-shadow: none !important;
}

.h-97 {
    height: 97% !important;
}

.edit-button.focus,.edit-button:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.edit-button.disabled,.edit-button:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.edit-button:not(:disabled):not(.disabled).active,.edit-button:not(:disabled):not(.disabled):active,.show>.edit-button.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.edit-button:not(:disabled):not(.disabled).active:focus,.edit-button:not(:disabled):not(.disabled):active:focus,.show>.edit-button.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f1f1f1;
    background: linear-gradient(145deg, #8767fa, #6236ff);
}

.profile-button {
    position: absolute;
    top: -1px;
    right: -10px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    border: none;
    color: #fff;
    border-radius: 50%;
    padding: 4px;
    cursor: pointer;
    font-size: 8px;
    box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.row {
    --bs-gutter-x: 0rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1* var(--bs-gutter-y));
    margin-right: calc(-.5* var(--bs-gutter-x));
    margin-left: calc(-.5* var(--bs-gutter-x));
}

.help-block {
    font-size: .8rem;
}

.modal-content {
    border: none;
    background-color: #8767fa;
    border-radius: 30px;
    box-shadow: -6px -6px 20px #6236ff, 6px 6px 20px #6236ff, inset 0px 0px 100px #8767fa;
}

.modal-header {
    border-bottom: 0px solid #e3e6f0 !important;
}

.modal-title {
    font-weight: 300;
    font-size: 1.2rem;
}

.modal-footer {
    border-top: 0px solid #e3e6f0 !important;
}

.btn-close {
    background: linear-gradient(241deg, #6236ff, #8767fa);
    box-shadow: 0px 0px 10px rgb(255 255 255 / 20%), 0px 0px 20px rgb(255 255 255 / 30%);
    border: none;
    border-radius: 50%;
    padding: 5px 9px;
    cursor: pointer;
    font-size: .8rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background-color: #FFC064;
    transform: scale(1.1);
}

.btn-close.focus,.btn-close:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-close.disabled,.btn-close:disabled {
    color:#fff;
    background-color:#4e73df;
    border-color:#6236ff
}

.btn-close:not(:disabled):not(.disabled).active,.btn-close:not(:disabled):not(.disabled):active,.show>.btn-close.dropdown-toggle {
    color:#fff;
    background-color:#2653d4;
    border-color:#6236ff
}

.btn-close:not(:disabled):not(.disabled).active:focus,.btn-close:not(:disabled):not(.disabled):active:focus,.show>.btn-close.dropdown-toggle:focus {
    box-shadow:0 0 0 .2rem rgba(135, 103, 250,.5)
}

.btn-modal {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(241deg, #6236ff, #8767fa);
    box-shadow: 0px 0px 10px rgb(255 255 255 / 20%), 0px 0px 20px rgb(255 255 255 / 30%);
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.btn-modal:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-modal:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-modal-add {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(145deg, #0d6efd, #4e92f6);
    box-shadow: 6px 6px 15px rgba(78, 146, 246, 0.2), -6px -6px 15px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease-in-out;
    margin: auto;
}

.btn-modal-add:active {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(4px);
}

.btn-modal-add:hover {
    color: #ffffff;
    animation: pulse-icon 0.4s ease-in-out;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

hr {
    margin: 1rem 0;
    color: #8f8f8f;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}

.table {
    --bs-table-bg: #ffffff00 !important;
    --bs-table-color: #2d0051 !important;
    --bs-table-striped-color: #2d0051 !important;
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0);
    border-color: #ffffff00 !important;
    margin-bottom: .5rem;
}

.table td {
    padding:.5rem;
    vertical-align:middle;
    border-top: 0px solid rgba(143, 143, 143, 0.25);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table th {
    padding:.5rem;
    color: #2d0051 !important;
    vertical-align:middle;
    background-color: #9c83f5;
    border-top: 0px solid rgba(143, 143, 143, 0.25);
}

.table thead th {
    vertical-align:bottom;
    border-bottom: 1px solid rgba(143, 143, 143, 0.25);
}

.table tbody+tbody {
    border-top:0px solid #c3c4c5
}

.table-sm td,.table-sm th {
    padding:.3rem
}

.table-bordered {
    border:1px solid #c3c4c5
}

.table-bordered td,.table-bordered th {
    border:1px solid #c3c4c5
}

.table-bordered thead td,.table-bordered thead th {
    border-bottom-width:2px
}

.table-borderless tbody+tbody,.table-borderless td,.table-borderless th,.table-borderless thead th {
    border:0
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color:rgba(0,0,0,.0)
}

.message-display-container {
    display: none;
    flex-direction: column;
    position: fixed;
    bottom: 15px;
    left: 0px;
    width: 330px;
    background-color: transparent;
    border: 0px solid transparent;
    z-index: 1052;
    height: 450px;
    justify-content: space-between;
    overflow: hidden;
}

.message-display-container.is-open {
    display: flex;
}

.message-display-container__toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    padding: 4px 6px 0;
}

.message-display-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.message-display-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Área de visualización de mensajes */
.message-display {
    flex-grow: 1;
    width: 100%;
    height: calc(100% - 150px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 10px;
    display: flex;
    flex-direction: column-reverse;
}

.message-display::-webkit-scrollbar {
    display: none;
}

/* Burbujas de mensaje */
.message-bubble {
    display: inline-flex; /* en vez de flex */
    align-items: center;
    margin-bottom: 3px;
    padding: 4px 8px; /* un poco más de espacio para que no quede pegado */
    border-radius: 18px;
    background: rgba(98, 54, 255, 0.7);
    backdrop-filter: blur(10px);
    animation: messageSlideIn 0.3s ease-out;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    max-width: 90%; /* sigue limitando si el texto es muy largo */
    word-wrap: break-word;
    width: fit-content; /* hace que se ajuste al contenido */
    align-self: flex-start; /* Other users' messages default to left */
}

.message-bubble.own-message {
    align-self: flex-end; /* Own messages align to the right */
}

.message-bubble.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.message-bubble .profile-pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Animación para entrada de mensajes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animación para salida de mensajes */
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.message-bubble span {
    color: white;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

/* Indicador de escritura */
.typing-indicator {
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 12px 16px !important;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    animation: typingDot 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animaciones */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Menciones */
.mention {
    color: #FFD700;
    font-weight: bold;
}

/* Enlaces */
.message-bubble a {
    color: #87CEEB;
    text-decoration: underline;
}

.message-bubble a:hover {
    color: #B0E0E6;
}

/* Responsive */
@media (max-width: 768px) {
    .message-bubble {
        max-width: 95%;
        padding: 6px 10px;
    }
    
    .message-bubble .profile-pic {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .message-bubble span {
        font-size: 13px;
    }
}

/* Panel de emojis y mensajes predefinidos */
.emoji-message-panel {
    padding: 0 10px 8px;
    z-index: 1052;
    flex-shrink: 0;
}

/* Botones de emoji */
.emoji-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 3px;
    margin: 3px 0;
    cursor: pointer;
    font-size: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.emoji-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Botones de mensaje predefinido */
.message-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    margin: 3px 0px;
    cursor: pointer;
    font-size: 13px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.message-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* Campo de entrada de texto */
.form-control-chat.message-input {
    height: 40px;
    border-radius: 20px;
    /*padding: 0 15px;*/
    font-size: 13px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.form-control-chat.message-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Botón de envío */
.btn-send {
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: #ffffff;
    border-radius: 0 20px 20px 0;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-send:hover {
    transform: scale(1.05);
}

/* Botón para mostrar/ocultar chat */
.btn-chat {
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1053;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: none;
    transition: transform 0.3s ease;
}

.btn-chat:hover {
    transform: scale(1.1);
}

/* Sliders para emojis y mensajes predefinidos */
.emoji-slider, .message-bubble-slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 4px;
    align-items: center;
    scroll-behavior: smooth;
    width: 100%;
    padding: 0 5px;
}

.emoji-slider::-webkit-scrollbar, .message-bubble-slider::-webkit-scrollbar {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.emoji-slider::-webkit-scrollbar-thumb, .message-bubble-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

/* Grupo de entrada */
.emoji-message-panel .input-group {
    margin-top: 7px;
    margin-bottom: 5px;
    width: 100%;
    margin-left: 0;
}

.last-numbers {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 5px;
    border-radius: 50px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.live .last-numbers {
    position: fixed;
    right: 9px;
    top: 130px; /* debajo del cluster 2x2 (volumen/mic/manual/sliders) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 6px;
    border-radius: 50px;
    margin-top: 0px;
    margin-bottom: 0px;
    z-index: 2;
}

.last-numbers div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.last-numbers span {
    display: flex;
    gap: 5px;
    width: 180px;
}

.live .last-numbers span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: auto;
}

.live .bingo-ball::after {
    width: 85%;
    height: 85%;
}

.controls-board {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 50px;
    margin-top: 10px;
    position: fixed;
    bottom: 15px;
    z-index: 1051;
}

.controls-board div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls-board span {
    display: flex;
    gap: 5px;
    width: 180px;
}

/* Contenedor de notificaciones */
.notifications {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    pointer-events: none;
}

/* Notificación individual */
.notification {
    background: linear-gradient(135deg, #ffffff 0%, #8767fa 100%);
    color: #2d0051 !important;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 1px 8px rgba(255, 255, 255, 0.2);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    animation: notificationShine 3s infinite;
}

@keyframes notificationShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(400px);
    opacity: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.notification-title {
    font-weight: bold;
    font-size: 1rem;
}

.notification-time {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 0.6rem;
    opacity: 0.6;
}

.notification-message {
    font-size: 0.8rem;
    line-height: 1.2;
}

.notification-close {
    display: none !important;
}

.notification-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.65rem;
    opacity: 0.65;
}

.notification.is-dragging {
    transition: none !important;
    cursor: grabbing;
}

/* Indicador de notificaciones no leídas */
.notification-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50%;
    display: none;
    animation: pulse 2s infinite;
    z-index: 10000;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

/* Diferentes tipos de notificaciones */
.notification.success {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.notification.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.notification.info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.notification.bingo {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.statistics-content .card-title {
    font-size: 1rem;
}

.statistics-content .card-text {
    font-size: 1.5rem;
}

.statistics-content span {
    font-size: 0.8rem;
}

.nav-link {
    color: var(--bs-highlight-color);
}

.bingo-ball {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #292929;
    border-radius: 50%;
    text-transform: uppercase;
    background: radial-gradient(circle at 30% 30%, #cbcbcb 10%, #757575 40%, #0c0c0c 100%);
    box-shadow:
        inset -5px -5px 10px rgba(255,255,255,0.6),
        inset 5px 5px 15px rgba(0,0,0,0.2),
        0 8px 12px rgba(0,0,0,0.4);
    /*text-shadow: 0 2px 2px rgba(255,255,255,0.5);*/
}

.bingo-ball:hover {
    animation: pulse-icon 0.4s ease-in-out;
    transform: scale(1.05);
    cursor: pointer;
}

.bingo-ball span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball::after {
    width: 80%;
    height: 80%;
}

.bingo-ball.size-30::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.size-30 {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .8rem;
    line-height: 55px;
}

.bingo-ball.size-40::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.size-40 {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    line-height: 55px;
}

.bingo-ball.size-50::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.8);
}

.size-50 {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    line-height: 55px;
}

.bingo-ball.size-60::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.8);
}

.size-60 {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    line-height: 55px;
}

.bingo-ball.size-70::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.8);
}

.size-70 {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    line-height: 55px;
}

.bingo-ball.size-80::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.size-80 {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    line-height: 55px;
}

.bingo-ball.size-90::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.8);
}

.size-90 {
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    line-height: 55px;
}

.bingo-ball.size-100::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.8);
}

.size-100 {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
    line-height: 55px;
}

.bingo-ball.size-130::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.8);
}

.size-130 {
    width: 130px;
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    line-height: 55px;
}

#last-number {
    margin-top: 10px;
}

.bingo-ball-200 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    border-radius: 50%;
    text-transform: uppercase;
    color: #131628;
    background: radial-gradient(circle at 30% 30%, #e5e5e5 10%, #757575 40%, #0c0c0c 100%);
    box-shadow:
        inset -5px -5px 10px rgba(255,255,255,0.6),
        inset 5px 5px 15px rgba(0,0,0,0.2),
        0 8px 12px rgba(0,0,0,0.4);
    /*text-shadow: 0 2px 2px rgba(255,255,255,0.5);*/
}

.bingo-ball-200 span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball-200:hover {
    cursor: pointer;
}

.size-200 {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    line-height: 55px;
}

.bingo-ball-200::after {
    width: 80%;
    height: 80%;
}

.bingo-ball-200.size-200::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 10px solid rgba(255, 255, 255, 0.8);
}

.bingo-ball-300 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7rem;
    border-radius: 50%;
    text-transform: uppercase;
    color: #131628;
    background: radial-gradient(circle at 30% 30%, #e5e5e5 10%, #757575 40%, #0c0c0c 100%);
    box-shadow:
        inset -5px -5px 10px rgba(255,255,255,0.6),
        inset 5px 5px 15px rgba(0,0,0,0.2),
        0 8px 12px rgba(0,0,0,0.4);
    /*text-shadow: 0 2px 2px rgba(255,255,255,0.5);*/
}

.bingo-ball-300 span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255);
}

.bingo-ball-300:hover {
    cursor: pointer;
}

.size-300 {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 7rem;
    line-height: 55px;
}

.bingo-ball-300::after {
    width: 80%;
    height: 80%;
}

.bingo-ball-300.size-300::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 15px solid rgba(255, 255, 255, 0.8);
}

.STOP { background: radial-gradient(circle at 30% 30%, #e5e5e5 10%, #b4b0b0 40%, #0c0c0c 100%); font-size: 1rem; }
.B { background: #FF4D4D; }
.I { background: #F39C12; }
.N { background: #32CD32; }
.G { background: #1E90FF; }
.O { background: #A020F0; }

/* Animación para escalar y rotar los emojis */
@keyframes emoji-bounce {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.emoji-message {
    display: inline-block;
    font-size: 1.5rem;
    animation: emoji-bounce 0.5s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.text-message {
    font-size: 0.8rem;
}

.icon-danger {
    color: #dc3545 !important;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hidden {
    display: none !important;
}

.block {
    display: block !important;
}

.inline {
    display: inline-block !important;
}

.countdown-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column; /* Cambiado de row (default) a column */
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    pointer-events: none;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    background: linear-gradient(145deg, #8767fa, #6236ff);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 6px 6px 15px rgba(98, 54, 255, 0.2), -6px -6px 15px rgba(135, 103, 250, 0.3);
    position: relative;
    animation: pulse 1s infinite;
}

#text-countdown {
    color: white;
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 20px;
}

/* Ganador: solo la notificación toast; ocultar círculo/overlay de bingo */
#countdown-container,
#countdown-container.countdown-container,
#countdown-container .countdown-container,
#countdown-container #countdown,
#countdown-container #text-countdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


.game-finalized {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    z-index: 9999; /* Colocado sobre todo */
    pointer-events: none; /* No bloquea clics ni eventos en el fondo */
}

#finalized {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    font-size: 2.8rem;
    font-weight: bold;
    animation: pulse 1s infinite;
}

@keyframes zoomIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    #text-countdown {
        font-size: 1.3rem;
    }
    #finalized {
        font-size: 1.8rem;
        top: 15%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes burst {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1) rotate(360deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.explosive-effect {
    font-size: 1.5rem;
    animation: burst 0.6s ease-in-out;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Colores con degradado según el nombre */
.bingo-bg-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
}

.bingo-bg-success {
    background: linear-gradient(135deg, #28a745, #1c7430);
    color: #fff;
    border: none;
}

.bingo-bg-info {
    background: linear-gradient(135deg, #17a2b8, #0c5460);
    color: #fff;
    border: none;
}

.bingo-bg-warning {
    background: linear-gradient(135deg, #ffc107, #d39e00);
    color: #212529;
    border: none;
}

.bingo-bg-bonus {
    background: linear-gradient(135deg, #f0b429, #c99400);
    color: #fff;
    border: none;
}

.text-bonus,
.icon-bonus {
    color: #c99400 !important;
}

.bingo-bg-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
    color: #fff;
    border: none;
}

.bingo-bg-secondary {
    background: linear-gradient(135deg, #6c757d, #343a40);
    color: #fff;
    border: none;
}

.bingo-bg-white {
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
    color: #212529;
    border: none;
}

.bingo-bg-dark {
    background: linear-gradient(135deg, #343a40, #1d2124);
    color: #fff;
    border: none;
}

.bingo-bg-orange {
    background: linear-gradient(135deg, #fd7e14, #cc580c);
    color: #fff;
    border: none;
}

.bingo-bg-purple {
    background: linear-gradient(135deg, #6f42c1, #4b2c91);
    color: #fff;
    border: none;
}

/* Sombra elegante para las cards con degradado */
.bingo-bg-primary,
.bingo-bg-success,
.bingo-bg-info,
.bingo-bg-warning,
.bingo-bg-danger,
.bingo-bg-secondary,
.bingo-bg-white,
.bingo-bg-dark,
.bingo-bg-orange,
.bingo-bg-purple {
    border-radius: 12px; /* esquinas suaves */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25),
                0 3px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Efecto hover más vistoso */
.bingo-bg-primary:hover,
.bingo-bg-success:hover,
.bingo-bg-info:hover,
.bingo-bg-warning:hover,
.bingo-bg-danger:hover,
.bingo-bg-secondary:hover,
.bingo-bg-white:hover,
.bingo-bg-dark:hover,
.bingo-bg-orange:hover,
.bingo-bg-purple:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35),
                0 4px 10px rgba(0, 0, 0, 0.2);
}


.btn-add-new {
    position: absolute;
    top: -20px;
    right: 5px;
    width: 40px;
    height: 40px;
}

/* Para móviles pequeños */
@media (max-width: 480px) {
    .modal-title {
        font-size: 0.9rem;
    }

    .mb-sm-3 {
        margin-bottom: 1rem !important;
    }

    .content-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .content-cartons-select {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
    }

    .one-carton .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .bingo-carton-number {
        font-size: 3.5vw;  /* Ajustar tamaño de texto */
        width: 7vw;  /* Ajustar tamaño de los números */
        height: 7vw;
    }

    .bingo-carton-header {
        font-size: 3.5vw;
        width: 7vw;  /* Ajustar tamaño de los números */
        height: 7vw;
    }

    .center-section .cartons-section .play-section {
        padding-bottom: 100px;
    }

    .board-section {
        padding-bottom: 120px;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }

    #finalized {
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
        font-size: 1.5rem;
        font-weight: bold;
        position: relative;
        animation: pulse 1s infinite;
    }

    .notifications {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .btn-small {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    .btn {
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        cursor: pointer;
        transition: all 0.3s ease-in-out;
        z-index: 1;
    }

    .google {
        width: 75%;
        font-size: 1rem;
        color: #535560;
    }

    .btn-home {
        position: fixed;
        left: 5px;
        top: 5px;
        background: linear-gradient(145deg, #fa5c93, #FF1C00);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-wallet {
        position: fixed;
        left: 50px;
        top: 5px;
        background: linear-gradient(145deg, #22cbe6, #0d6efd);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-wallet-profile {
        position: fixed;
        left: 67px;
        top: 13px;
        background: linear-gradient(145deg, #22cbe6, #0d6efd);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-statistics {
        position: fixed;
        top: 67px;
        left: 13px;
        background: linear-gradient(145deg, #16eeff, #03585e);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-low-balance-admin.btn-low-balance-admin-left {
        position: fixed;
        top: 166px;
        left: 13px;
        right: auto;
        bottom: auto;
        background: linear-gradient(145deg, #f7971e, #ffd200);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-users {
        position: fixed;
        top: 211px;
        left: 13px;
        background: linear-gradient(145deg, #7b2ff7, #b06ab3);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-users.btn-users-profile {
        left: auto;
        right: 10px;
        top: auto;
        bottom: 186px;
    }

    .btn-low-balance-admin.btn-low-balance-admin-right {
        left: auto;
        right: 10px;
        top: auto;
        bottom: 121px;
        background: linear-gradient(145deg, #f7971e, #ffd200);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-store-admin {
        position: fixed;
        top: 121px;
        left: 13px;
        background: linear-gradient(145deg, #f6a95a, #ff8100);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-store-admin.btn-store-admin-left {
        top: 121px;
        left: 13px;
        right: auto;
        bottom: auto;
    }

    .btn-store-admin.btn-store-admin-right {
        left: auto;
        right: 10px;
        top: auto;
        bottom: 166px;
    }

    .btn-low-balance-admin {
        position: fixed;
        right: 10px;
        bottom: 186px;
        background: linear-gradient(145deg, #f7971e, #ffd200);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-profile {
        position: fixed;
        left: 13px;
        top: 13px;
        background: linear-gradient(145deg, #FFFFFF, #FFFFFF);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-gamepad {
        position: fixed;
        left: 5px;
        top: 50px;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-gamepad-profile {
        position: fixed;
        left: 13px;
        top: 67px;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-won-cartons-play {
        position: fixed;
        left: 50px;
        top: 50px;
    }

    .btn-won-cartons-profile {
        position: fixed;
        left: 67px;
        top: 67px;
    }

    .player-nav-cluster {
        left: 10px;
        top: 10px;
    }

    .player-nav-cluster--home {
        grid-template-columns: 40px 40px;
        grid-template-rows: 40px 40px;
        gap: 5px;
        width: 85px;
        height: 85px;
    }

    .player-nav-cluster--home .player-nav-slot-main,
    .player-nav-cluster--home .player-nav-slot-wallet,
    .player-nav-cluster--home .player-nav-slot-gamepad,
    .player-nav-cluster--home .btn-won-cartons {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 1.35rem;
    }

    .player-nav-cluster--avatar {
        grid-template-columns: 46px 38px;
        grid-template-rows: 46px 38px;
        width: 88px;
        height: 88px;
    }

    .player-nav-cluster--avatar .player-nav-slot-main {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

    .player-nav-cluster--avatar .player-nav-slot-main.btn-profile img {
        width: 2.75rem;
        height: 2.75rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
    }

    .player-nav-cluster--avatar .player-nav-slot-wallet,
    .player-nav-cluster--avatar .player-nav-slot-gamepad,
    .player-nav-cluster--avatar .btn-won-cartons {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 1.25rem;
    }

    .player-nav-cluster--avatar .player-nav-slot-wallet {
        margin-left: -6px;
        margin-top: 3px;
    }

    .player-nav-cluster--avatar .player-nav-slot-gamepad {
        margin-top: -5px;
    }

    .player-nav-cluster--avatar .btn-won-cartons {
        margin-left: -8px;
        margin-top: -8px;
    }

    .admin-nav-cluster {
        left: 10px;
        top: 10px;
        gap: 6px;
    }

    .admin-nav-cluster-top {
        grid-template-columns: 40px 40px;
        gap: 6px;
    }

    .admin-nav-cluster-menu {
        gap: 6px;
    }

    .admin-nav-cluster .btn-profile img {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
    }

    .btn-qrcode {
        position: fixed;
        left: 5px;
        bottom: 5px;
        background: linear-gradient(145deg, #f6a95a, #ff8100);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-minus {
        width: 50px;
        height: 56px;
    }

    .btn-plus {
        width: 50px;
        height: 56px;
    }

    .total-balls {
        position: fixed;
        left: 5px;
        top: 50px;
        text-transform: uppercase;
        font-size: 0.9rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 0 8px;
        z-index: 1;
    }

    .btn-sliders {
        position: fixed;
        right: 8px;
        top: 8px;
        z-index: 1060 !important;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .time-game {
        position: fixed;
        right: 50px;
        top: 5px;
        background-color: rgba(255, 255, 255, 0.2);
        padding: 2px 10px;
        border-radius: 40px;
        text-transform: uppercase;
        text-align: center;
    }

    .total-accumulated {
        position: fixed;
        right: auto;
        left: 5px;
        top: 95px;
        text-transform: uppercase;
        font-size: 0.9rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 2px 8px;
    }

    .live .total-accumulated {
        position: fixed;
        right: auto;
        left: 5px;
        top: 90px;
        text-transform: uppercase;
        font-size: 0.9rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 0px 8px;
        z-index: 1;
    }

    .init-count {
        font-size: 0.9rem;
    }

    .header-switch {
        position: fixed;
        left: 10px;
        top: 95px;
    }

    .btn-bingooo {
        position: fixed;
        right: 5px;
        bottom: 5px;
        height: 50px;
        width: 150px;
        border: none;
        border-radius: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
        color: #ffffff;
        transition: all 0.3s ease;
        background: linear-gradient(to bottom, #4cd137, #44bd32);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-chat {
        position: fixed;
        left: 5px;
        bottom: 5px;
        z-index: 1052;
    }

    .btn-volume {
        position: fixed;
        right: 52px;
        top: 8px;
        width: 42px;
        height: 42px;
        font-size: 1.45rem;
        z-index: 1060 !important;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-microphone {
        position: fixed;
        right: 52px;
        top: 56px;
        width: 42px;
        height: 42px;
        font-size: 1.45rem;
        z-index: 1060 !important;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-binary {
        position: fixed;
        right: 8px;
        top: 56px;
        width: 42px;
        height: 42px;
        font-size: 1.45rem;
        z-index: 1080 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-binary.hidden {
        display: none !important;
    }

    .btn-sliders {
        position: fixed;
        right: 8px;
        top: 8px;
        z-index: 1060 !important;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .live .last-numbers {
        top: 110px !important;
        right: 8px !important;
        z-index: 2 !important;
    }

    .btn-logout {
        position: fixed;
        right: 8px;
        top: 110px;
        width: 42px;
        height: 42px;
        font-size: 1.45rem;
        background: linear-gradient(145deg, #181C32, #131628);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-lock {
        position: fixed;
        right: 50px;
        top: 50px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: linear-gradient(145deg, #8767fa, #6236ff);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2), 0px 0px 20px rgba(0, 0, 0, 0.3);
    }

    .btn-bingo {
        color: #ffffff;
        border-radius: 50px;
        padding: 6px;
        font-size: 0.9rem;
        border: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .message-bubble-slider {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 3px;
        align-items: center;
        scroll-behavior: smooth;
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .emoji-slider {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 3px;
        align-items: center;
        scroll-behavior: smooth;
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .form-control-chat.message-input {
        height: 40px;
        border-radius: 20px;
        font-size: 0.8rem;
        background-color: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #ffffff;
    }

    .message-btn {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        border: none;
        padding: 3px 8px;
        margin: 3px 0px;
        cursor: pointer;
        font-size: 0.8rem;
        border-radius: 50px;
        transition: all 0.2s ease;
    }

    .emoji-message-panel .input-group {
        margin-top: 2px;
        margin-bottom: 0px;
        width: 100%;
        margin-left: 0;
    }

    .max-w-20-xs {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25-xs {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30-xs {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35-xs {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40-xs {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45-xs {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50-xs {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55-xs {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60-xs {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65-xs {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70-xs {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75-xs {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80-xs {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85-xs {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90-xs {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95-xs {max-width: 95% !important; width: 95% !important; margin: auto;}

    .cartons-section {
        height: calc(100vh - 180px);
        padding-bottom: clamp(100px, calc(100vh - 180px), 220px);
    }

    .play-section {
        height: calc(100vh - 320px);
    }

    .toastify-right, .toastify-left {
        margin-left: auto;
        margin-right: auto;
        left: 5px;
        right: 5px;
        max-width: fit-content;
    }

    .play-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-width: 100%;
        padding: 0 6px;
        gap: 10px;
        width: 100%;
        justify-items: stretch;
    }

    .player-play-view .play-cards,
    .player-play-view .play-cards--multi,
    .player-play-view .play-cards--single {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
    }

    .player-play-view .play-room-slide {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex;
        justify-content: stretch;
        align-items: stretch;
        scroll-snap-align: none;
        box-sizing: border-box;
    }

    .player-play-view .play-section--multi,
    .player-play-view .play-section--single,
    .player-play-view .play-section--rooms {
        width: 100%;
        height: auto !important;
        max-height: calc(100dvh - 220px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: none !important;
        align-items: stretch !important;
        padding: 0.15rem 6px 5rem !important;
        display: block !important;
    }

    .play-cards .card,
    .player-play-view .play-cards .card,
    .player-play-view .play-cards--multi .card,
    .player-play-view .play-cards--single .card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-radius: 16px !important;
    }

    .card-hour {
        position: absolute;
        top: 8px;
        left: 8px;
        background: #ffeb3b;
        color: #000;
        font-weight: bold;
        padding: 3px 7px;
        border-radius: 999px;
        font-size: 0.62rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

    .card-price {
        position: absolute;
        top: 18px;
        right: -42px;
        background: #e53935;
        color: #fff;
        font-weight: bold;
        padding: 4px 34px;
        transform: rotate(45deg);
        font-size: 0.58rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }

    .play-section {
        padding-bottom: 70px;
    }
}

/* Para móviles grandes */
@media (min-width: 481px) and (max-width: 700px) {
    .content-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .content-cartons-select {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton, .two-cartons .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        height: 100%;
    }

    .one-carton, .two-cartons .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton, .two-cartons .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }


    .bingo-carton-number {
        font-size: 2vw;  /* Ajustar tamaño de texto */
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .bingo-carton-header {
        font-size: 2vw;
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .cartons-section {
        height: calc(90vh - 296px) !important;
    }

    .center-section .cartons-section .board-section {
        padding-bottom: 150px !important;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }
    
    .google {
        width: 75%;
    }

    .total-balls {
        padding: 0px 5px;
        left: 15px;
    }

    .notifications {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .max-w-20-xs {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25-xs {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30-xs {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35-xs {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40-xs {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45-xs {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50-xs {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55-xs {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60-xs {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65-xs {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70-xs {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75-xs {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80-xs {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85-xs {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90-xs {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95-xs {max-width: 95% !important; width: 95% !important; margin: auto;}

    .cartons-section {
        height: calc(100vh - 280px);
    }
}

/* Para tabletas */
@media (min-width: 701px) and (max-width: 1024px) {
    .content-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .content-cartons-select {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .board-number {
        display: flex;
        justify-content: center;
        gap: 5px;
        max-width: 90%;
        margin: auto;
        top: -20px;
    }

    .column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-bottom: 5px;
    }

    .one-carton, .two-cartons .bingo-border-carton {
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 20px;
        height: 100%;
    }

    .one-carton, .two-cartons .bingo-carton-number {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }

    .one-carton, .two-cartons .bingo-carton-header {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #ffffff;
        border-radius: 5px;
        transition: transform 0.3s ease;
        width: 35px;
        height: 35px;
    }


    .bingo-carton-number {
        font-size: 2vw;  /* Ajustar tamaño de texto */
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .bingo-carton-header {
        font-size: 2vw;
        width: 4.5vw;  /* Ajustar tamaño de los números */
        height: 4.5vw;
    }

    .center-section .cartons-section .board-section .play-section {
        padding-bottom: 130px;
    }

    .center-section {
        flex: 0.5;
    }

    .controls-board {
        position: fixed;
        right: 15px;
        bottom: 15px;
    }

    .total-balls {
        padding: 0px 5px;
        left: 15px;
    }

    .notifications {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .max-w-20-xs {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25-xs {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30-xs {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35-xs {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40-xs {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45-xs {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50-xs {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55-xs {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60-xs {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65-xs {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70-xs {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75-xs {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80-xs {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85-xs {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90-xs {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95-xs {max-width: 95% !important; width: 95% !important; margin: auto;}
}

/* Para escritorios pequeños */
@media (min-width: 1025px) and (max-width: 1280px) {
    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .max-w-20 {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25 {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30 {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35 {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40 {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45 {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50 {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55 {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60 {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65 {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70 {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75 {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80 {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85 {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90 {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95 {max-width: 95% !important; width: 95% !important; margin: auto;}
}

/* Para escritorios grandes */
@media (min-width: 1281px) {
    .one-carton {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .two-cartons {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .three-cartons {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .four-cartons {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .max-w-20 {max-width: 20% !important; width: 20% !important; margin: auto;}
    .max-w-25 {max-width: 25% !important; width: 25% !important; margin: auto;}
    .max-w-30 {max-width: 30% !important; width: 30% !important; margin: auto;}
    .max-w-35 {max-width: 35% !important; width: 35% !important; margin: auto;}
    .max-w-40 {max-width: 40% !important; width: 40% !important; margin: auto;}
    .max-w-45 {max-width: 45% !important; width: 45% !important; margin: auto;}
    .max-w-50 {max-width: 50% !important; width: 50% !important; margin: auto;}
    .max-w-55 {max-width: 55% !important; width: 55% !important; margin: auto;}
    .max-w-60 {max-width: 60% !important; width: 60% !important; margin: auto;}
    .max-w-65 {max-width: 65% !important; width: 65% !important; margin: auto;}
    .max-w-70 {max-width: 70% !important; width: 70% !important; margin: auto;}
    .max-w-75 {max-width: 75% !important; width: 75% !important; margin: auto;}
    .max-w-80 {max-width: 80% !important; width: 80% !important; margin: auto;}
    .max-w-85 {max-width: 85% !important; width: 85% !important; margin: auto;}
    .max-w-90 {max-width: 90% !important; width: 90% !important; margin: auto;}
    .max-w-95 {max-width: 95% !important; width: 95% !important; margin: auto;}
}

/* 😊 Feliz (Salto suave) */
.emoji-btn:focus, .emoji-btn:hover { animation: bounce 0.6s ease-in-out infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 😢 Triste (Latido lento y encogido) */
.emoji-btn:nth-child(2):focus, .emoji-btn:nth-child(2):hover { animation: sadPulse 0.8s ease-in-out infinite; }
@keyframes sadPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.9); }
}

/* 🤯 Sorprendido (Sacudida rápida) */
.emoji-btn:nth-child(3):focus, .emoji-btn:nth-child(3):hover { animation: shake 0.5s ease-in-out infinite; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* 😂 Risa (Rebote de risa) */
.emoji-btn:nth-child(4):focus, .emoji-btn:nth-child(4):hover { animation: laughBounce 0.4s ease-in-out infinite; }
@keyframes laughBounce {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(-10deg); }
}

/* 😍 Enamorado (Latido grande) */
.emoji-btn:nth-child(5):focus, .emoji-btn:nth-child(5):hover { animation: heartbeat 0.6s ease-in-out infinite; }
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 🥺 Suplicante (Temblor pequeño) */
.emoji-btn:nth-child(6):focus, .emoji-btn:nth-child(6):hover { animation: tinyShake 0.3s ease-in-out infinite; }
@keyframes tinyShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(2px); }
}

/* 🤔 Pensativo (Cabeceo lateral) */
.emoji-btn:nth-child(7):focus, .emoji-btn:nth-child(7):hover { animation: headTilt 0.5s ease-in-out infinite; }
@keyframes headTilt {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(8deg); }
}

/* 🙄 Fastidio (Giro de ojos) */
.emoji-btn:nth-child(8):focus, .emoji-btn:nth-child(8):hover { animation: eyeRoll 0.8s ease-in-out infinite; }
@keyframes eyeRoll {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
}

/* 🧐 Curioso (Zoom de inspección) */
.emoji-btn:nth-child(9):focus, .emoji-btn:nth-child(9):hover { animation: zoomIn 0.4s ease-in-out infinite; }
@keyframes zoomIn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* 😘 Beso (Inclinación con zoom) */
.emoji-btn:nth-child(10):focus, .emoji-btn:nth-child(10):hover { animation: kiss 0.6s ease-in-out infinite; }
@keyframes kiss {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.1) rotate(-10deg); }
}

/* 😜 Travieso (Lengua afuera) */
.emoji-btn:nth-child(11):focus, .emoji-btn:nth-child(11):hover { animation: tongueOut 0.5s ease-in-out infinite; }
@keyframes tongueOut {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 😅 Nervioso (Sacudida ligera) */
.emoji-btn:nth-child(12):focus, .emoji-btn:nth-child(12):hover { animation: nervousShake 0.4s ease-in-out infinite; }
@keyframes nervousShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

/* 😨 Asustado (Sacudida intensa) */
.emoji-btn:nth-child(13):focus, .emoji-btn:nth-child(13):hover { animation: scaredShake 0.3s ease-in-out infinite; }
@keyframes scaredShake {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 😎 Genial (Zoom y giro) */
.emoji-btn:nth-child(14):focus, .emoji-btn:nth-child(14):hover { animation: coolZoom 0.4s ease-in-out infinite; }
@keyframes coolZoom {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.2) rotate(-5deg); }
}

/* 🤪 Loco (Onda divertida) */
.emoji-btn:nth-child(15):focus, .emoji-btn:nth-child(15):hover { animation: crazyWave 0.5s ease-in-out infinite; }
@keyframes crazyWave {
    0%, 100% { transform: rotate(0); }
    50% { transform: rotate(15deg); }
}
a {
    color: #d7d7d7;
    text-decoration: underline;
}

.next-game {
    animation: blinkColor 1s infinite;
    /* Evita “fantasma”/rastro al cambiar el texto de ganador */
    text-shadow: none !important;
    will-change: auto;
    transform: none;
}

.next-game.is-winner {
    animation: none;
    color: #ffffff !important;
}

@keyframes blinkColor {
    0% { color: #ff4444; }
    50% { color: #44ff44; }
    100% { color: #4488ff; }
}

/* Cursor de máquina de escribir */
.cursor {
    display: inline-block;
    width: 2px;
    background: white;
    margin-left: 3px;
    animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
    0%, 50% { opacity: 1; }
    50.1%, 100% { opacity: 0; }
}

.status-badge .badge {
    font-size: 0.75rem;
}

.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.card-header h6 {
    margin-bottom: 0;
}

.form-control-sm {
    font-size: 0.875rem;
}

.table-responsive {
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Tabla de juegos admin: evitar scroll horizontal suelto en columnas */
#games-list.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#games-list .progress {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

#games-list td:first-child {
    min-width: 0;
    word-break: break-word;
}

@media (min-width: 1200px) {
    #games-list.table-responsive {
        overflow-x: visible;
    }
}

.opacity-50 {
    opacity: 0.5 !important;
    pointer-events: none;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

#statistics-cards .card {
    transition: transform 0.2s ease-in-out;
}

#statistics-cards .card:hover {
    transform: translateY(-2px);
}

.btn-bingo {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-bingo:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.available-wallet {
    font-weight: bold;
    color: #28a745;
}

.modal-available-wallet {
    font-weight: bold;
    color: #28a745;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 98% !important;
        margin: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .card-body.p-3 {
        padding: 1rem !important;
    }
    
    .col-lg-3.col-md-6.mb-3 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    .table th,
    .table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.75rem;
    }
    
    .btn-bingo {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .pagination-sm .page-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Animation for loading */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

/* Status badge colors */
.status-badge .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.status-badge .badge.bg-success {
    background-color: #198754 !important;
}

.status-badge .badge.bg-danger {
    background-color: #dc3545 !important;
}

.status-badge .badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000;
}

/* Custom scrollbar for table */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@media (min-width: 769px) {
    .sidebar.close ~ .main-content {
        width: calc(100% - 78px);
        left: 78px;
    }
}

/* Aumentar el tamaño de los cartones en los modales de selección y visualización */
@media (min-width: 701px) {
    #cartons-container .bingo-carton,
    .content-cartons-select .bingo-carton {
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto;
    }
    
    #cartons-container .bingo-carton-header,
    .content-cartons-select .bingo-carton-header,
    #cartons-container .bingo-carton-number,
    .content-cartons-select .bingo-carton-number {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 !important;
        max-width: none !important;
        max-height: none !important;
        font-size: clamp(0.9rem, 2.5vw, 1.4rem) !important;
    }
}

/* Reducir el ancho máximo del modal en pantallas grandes para que no se vea tan gigante */
@media (min-width: 1025px) {
    .modal-dialog.max-w-95,
    .max-w-95 {
        max-width: 1400px !important;
        width: 90% !important;
    }
}

/* Hacer más grande el buscador y el botón de favoritos en escritorio */
@media (min-width: 769px) {
    .carton-filters-default {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: center;
        gap: 15px !important;
    }
    
    .carton-search-wrap {
        max-width: 450px !important;
        flex: 1 1 auto;
    }
    
    .carton-serial-search {
        padding: 10px 18px 10px 42px !important;
        font-size: 1.05rem !important;
    }
    
    .carton-search-icon {
        font-size: 1.1rem !important;
        left: 15px !important;
    }
    
    .carton-open-favorites-btn {
        font-size: 1rem !important;
        padding: 9px 20px !important;
        white-space: nowrap !important;
        flex: 0 0 auto;
    }

    .carton-search-results {
        width: 100% !important;
        text-align: center !important;
        margin-top: -5px !important;
    }
}

/* Jugador — vista web (móvil sin cambios) */
@media (min-width: 769px) {
    html:has(#content-page .player-play-view) {
        overflow-y: auto;
        height: auto;
    }

    body:has(.player-play-view) {
        align-items: flex-start !important;
        height: auto !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
    }

    #content-page:has(.player-play-view) {
        min-height: 100dvh;
        height: auto;
        max-height: none;
        overflow: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .player-play-view.container {
        flex: 1;
        min-height: auto;
        max-width: min(1180px, 94vw);
        width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-top: 5.5rem !important;
        padding-bottom: 1rem;
        overflow: visible;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .player-play-view > .row.d-flex {
        flex: 1;
        min-height: auto;
        width: 100%;
        margin: 0;
        overflow: visible;
    }

    .player-play-view > .row > div {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-height: 0;
        flex: 1;
        overflow: visible;
    }

    .player-play-view > .row .row {
        flex: 1;
        min-height: 0;
        margin: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .player-play-view > .row .col {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        flex: 1;
        overflow: visible;
    }

    .player-play-view .text-center {
        flex-shrink: 0;
    }

    .player-play-view .player-wallet-card {
        margin: 0.85rem auto 0.65rem !important;
        padding: 0.85rem 1.25rem !important;
        max-width: 720px;
        border-radius: 16px !important;
    }

    .player-play-view .player-wallet-card small {
        font-size: 0.9rem;
    }

    .player-play-view .player-wallet-card strong {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .player-play-view .player-wallet-card .wallet-total-value {
        font-size: 1.55rem;
    }

    .player-play-view .player-wallet-card .d-flex.gap-2 {
        font-size: 0.9rem !important;
        gap: 0.75rem !important;
        margin-top: 0.45rem !important;
    }

    .player-play-view .player-wallet-card .btn {
        font-size: 0.95rem;
        padding: 0.45rem 1rem;
        margin-top: 0.55rem !important;
    }

    .player-play-view .next-game.play-countdown-panel {
        font-size: 1.15rem;
        padding: 10px 18px;
        border-radius: 14px;
    }

    .player-play-view .play-filters-bar {
        max-width: 720px;
        margin-bottom: 0.75rem;
        gap: 12px;
        flex-shrink: 0;
    }

    .player-play-view .play-filter-field i {
        font-size: 1rem;
        left: 16px;
    }

    .player-play-view .play-filter-field--min {
        flex: 0 0 160px;
        max-width: 160px;
    }

    .player-play-view .play-filter-input.form-bingo {
        font-size: 0.95rem !important;
        height: 46px !important;
        line-height: 46px !important;
        padding-left: 38px !important;
    }

    .player-play-view .play-filter-input.form-bingo::placeholder {
        font-size: 0.9rem !important;
    }

    .player-play-view .play-rooms-carousel {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        flex: 1 1 auto;
        min-height: 0;
        overflow: visible;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .player-play-view .play-cards {
        max-width: 1100px;
        width: 100%;
        margin: 0 auto;
    }

    .player-play-view .play-section {
        flex: 0 1 auto;
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        width: 100%;
    }

    .player-play-view .play-section--single {
        min-height: 0 !important;
        max-height: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }

    .player-play-view .play-cards--single {
        max-width: 350px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        overflow: visible;
    }
    
    .player-play-view .play-cards--single .play-room-slide {
        width: 100% !important;
    }

    .player-play-view .play-cards .card {
        overflow: visible;
        border-radius: 16px;
    }

    .player-play-view .play-cards--single .card {
        width: 100% !important;
        max-width: 350px !important;
        height: auto;
        max-height: none;
        margin: 0 auto !important;
    }

    .player-play-view .play-cards--single .card .card-img-top {
        max-height: 120px;
        width: auto;
        margin: 0 auto;
        object-fit: contain;
        display: block;
    }

    .player-play-view .play-cards--single .card .card-title {
        font-size: 1.35rem !important;
    }

    .player-play-view .play-cards--single .card .card-body p {
        font-size: 1rem !important;
        margin-bottom: 0.25rem !important;
    }

    .player-play-view .play-cards .list-group-flush li {
        font-size: 0.92rem !important;
        padding: 4px 12px !important;
    }

    .player-play-view .play-cards--single .card .card-body {
        padding: 10px 14px !important;
    }

    .player-play-view .play-cards--single .card .btn {
        font-size: 0.95rem !important;
        padding: 9px 14px !important;
        margin-bottom: 6px !important;
    }

    .player-play-view .play-cards .card-price {
        top: 32px;
        right: -46px;
        font-size: 0.82rem;
        padding: 5px 36px;
    }

    .player-play-view .play-section--multi {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        scroll-snap-type: none;
        padding-bottom: 0.5rem !important;
        height: auto !important;
        max-height: none !important;
    }

    .player-play-view .play-cards--multi {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 1100px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        flex-direction: unset !important;
        flex-wrap: wrap !important;
        justify-items: stretch !important;
    }

    .no_active_rooms {
        grid-column: 1 / -1;
        text-align: center;
        width: 100%;
        margin-top: 2rem;
        font-weight: bold;
        color: #ffffff;
    }

    .player-play-view .play-room-slide {
        flex: unset !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        scroll-snap-align: unset;
    }

    .player-play-view .play-cards--multi .card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .player-play-view .play-cards--multi .card .card-img-top {
        max-height: 120px;
        width: auto;
        margin: 0 auto;
        object-fit: contain;
        display: block;
    }

    .player-play-view .play-cards--multi .card .card-title {
        font-size: 1.35rem !important;
    }

    .player-play-view .play-cards--multi .card .card-body p {
        font-size: 1rem !important;
    }

    .player-play-view .play-cards--multi .card .list-group-flush li {
        font-size: 1rem !important;
        padding: 6px 12px !important;
    }

    .player-play-view .play-cards--multi .card .card-body {
        padding: 10px 14px !important;
    }

    .player-play-view .play-cards--multi .card .btn {
        font-size: 1rem !important;
        padding: 9px 14px !important;
    }

    .player-play-view .play-cards .card-hour {
        font-size: 0.85rem;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }

    .player-play-view .favorite-game-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .player-play-view .card-time-display {
        font-size: 0.82rem;
        padding: 4px 10px;
    }

    .player-play-view .play-cards .bingo-bg-primary:hover,
    .player-play-view .play-cards .bingo-bg-success:hover,
    .player-play-view .play-cards .bingo-bg-info:hover,
    .player-play-view .play-cards .bingo-bg-warning:hover,
    .player-play-view .play-cards .bingo-bg-danger:hover,
    .player-play-view .play-cards .bingo-bg-secondary:hover,
    .player-play-view .play-cards .bingo-bg-white:hover,
    .player-play-view .play-cards .bingo-bg-dark:hover,
    .player-play-view .play-cards .bingo-bg-orange:hover,
    .player-play-view .play-cards .bingo-bg-purple:hover {
        transform: none;
    }

    .player-nav-cluster--avatar {
        grid-template-columns: 72px 58px;
        grid-template-rows: 72px 58px;
        width: 138px;
        height: 138px;
        left: 20px;
        top: 20px;
        gap: 8px;
    }

    .player-nav-cluster--avatar .player-nav-slot-main {
        width: 72px;
        height: 72px;
        min-width: 72px;
        min-height: 72px;
    }

    .player-nav-cluster--avatar .player-nav-slot-main.btn-profile img {
        width: 68px;
        height: 68px;
    }

    .player-nav-cluster--avatar .player-nav-slot-wallet,
    .player-nav-cluster--avatar .player-nav-slot-gamepad,
    .player-nav-cluster--avatar .btn-won-cartons {
        width: 58px;
        height: 58px;
        min-width: 58px;
        min-height: 58px;
        font-size: 2rem;
    }

    #content-page:has(.player-play-view) .btn-sliders {
        width: 62px;
        height: 62px;
        font-size: 1.85rem;
        right: 20px;
        top: 20px;
    }

    #content-page:has(.player-play-view) .btn-logout {
        width: 62px;
        height: 62px;
        font-size: 1.85rem;
        right: 20px;
        top: 92px;
    }

    #content-page:has(.player-play-view) .btn-qrcode {
        width: 62px;
        height: 62px;
        font-size: 1.85rem;
        left: 20px;
        bottom: 20px;
    }

    #content-page:has(.player-play-view) .btn-lock,
    #content-page:has(.player-play-view) .btn-volume {
        width: 62px;
        height: 62px;
        font-size: 1.85rem;
    }
}

@media (min-width: 1200px) {


    .player-play-view .play-rooms-carousel {
        max-width: 1180px;
    }

    .player-play-view .play-cards {
        max-width: 1180px;
    }

    .player-play-view .play-cards--multi {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
        justify-items: stretch !important;
    }
}

/* Diferenciación de pestañas de herramientas del operador */
.store-panel-tabs .nav-link.operator-tool-tab {
    color: #0b5ed7;
    background: rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.15);
}

.store-panel-tabs .nav-link.operator-tool-tab:hover:not(.active) {
    background: rgba(13, 110, 253, 0.12);
    color: #084ab2;
}

.store-panel-tabs .nav-link.operator-tool-tab.active {
    color: #fff;
    background: linear-gradient(145deg, #3a8bf0, #0c5ed8);
    border-color: transparent;
}

/* Ancho completo para el listado de puntos de venta y retiros del operador */
.operator-pane-inner-stores-list,
.operator-pane-inner-withdraw {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: 100%;
    align-self: stretch;
}

/* Alineación para el listado de puntos de venta */
#operator-pane-stores-list .operator-panel-pane-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#operator-pane-stores-list .operator-pane-inner-stores-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.operator-stores-grid-scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}


