/* 代理管理系统主要样式 */

/* 登入页面样式 */
.login-container {
    margin-top: 100px;
}

/* 导航栏调整 */
.navbar .nav-link {
    padding: 0.5rem 1rem;
    transition: all 0.3s;
    color: rgba(255, 255, 255, 0.92);
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
}

/* 仪表板卡片效果 */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 表格样式优化 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.agent-report-toolbar {
    gap: 0.75rem;
}

.agent-report-toolbar-actions {
    flex-wrap: wrap;
}

.agent-report-scroll-hint {
    display: none;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.agent-report-table-wrap {
    border: 1px solid #dbe3f0;
    background: #fff;
}

.agent-report-table {
    min-width: 1380px;
    margin-bottom: 0;
}

.agent-report-table th,
.agent-report-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.member-bet-records-scroll-hint {
    display: none;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.member-bet-records-table-wrap {
    border: 1px solid #dbe3f0;
    background: #fff;
    border-radius: 14px;
}

.member-bet-records-table {
    min-width: 1180px;
    margin-bottom: 0;
    font-size: 14px;
}

.member-bet-records-table th,
.member-bet-records-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.table th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1;
}

/* 按钮组样式 */
.btn-group .btn {
    margin: 0 2px;
}

/* 代理状态标签 */
.badge {
    padding: 6px 10px;
    border-radius: 15px;
}

/* 模态框样式 */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
}

/* 分页器样式 */
.pagination {
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
    
    .btn-group .btn {
        padding: 0.25rem 0.5rem;
    }
}

/* 自订滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 表单验证视觉提示 */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* 添加开奖球样式 */
.draw-ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    margin: 0 2px;
}

/* 开奖号码显示样式 - 与游戏端一致 */
.draw-number-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    margin: 0 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 新增开奖号码球样式 */
.number-ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
    margin: 0 1px;
    border: 1px solid #ccc;
    font-size: 12px;
}

.number-ball.bg-danger {
    border-color: #dc3545;
}

.number-ball.bg-primary {
    border-color: #0d6efd;
}

/* 修改颜色与游戏端实际显示一致 */
/* 与游戏前端一致的颜色 */
.color-1 { background-color: #ffcc00; color: #000; } /* 金黄色 */
.color-2 { background-color: #3399ff; color: #fff; } /* 鲜蓝色 */
.color-3 { background-color: #777777; color: #fff; } /* 深灰色 */
.color-4 { background-color: #ff9933; color: #fff; } /* 橙色 */
.color-5 { background-color: #00ccff; color: #fff; } /* 天蓝色 */
.color-6 { background-color: #9966cc; color: #fff; } /* 紫色 */
.color-7 { background-color: #aaaaaa; color: #fff; } /* 灰色 */
.color-8 { background-color: #ff3333; color: #fff; } /* 红色 */
.color-9 { background-color: #990000; color: #fff; } /* 深红色 */
.color-10 { background-color: #33cc33; color: #fff; } /* 绿色 */
.color-0 { background-color: #33cc33; color: #fff; } /* 绿色 (0与10同色) */
/* 魔力球专属：橘/紫双色 */
.ball-orange { background: linear-gradient(135deg, #ff8c00, #ff6600) !important; color: #fff !important; box-shadow: 0 2px 6px rgba(255,140,0,0.4); }
.ball-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important; color: #fff !important; box-shadow: 0 2px 6px rgba(139,92,246,0.4); }

/* 投注类型标签 */
.bet-type-badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 0.25rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
}

.bet-number { background-color: #17a2b8; color: white; } /* 号码投注 */
.bet-bs { background-color: #6c757d; color: white; }     /* 大小投注 */
.bet-oe { background-color: #fd7e14; color: white; }     /* 单双投注 */
.bet-dt { background-color: #20c997; color: white; }     /* 龙虎投注 */
.bet-sum { background-color: #6f42c1; color: white; }    /* 冠亚和投注 */

/* 统计表格强调 */
.stats-card {
    transition: all 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 投注记录表格行样式 */
.bet-row-win {
    background-color: rgba(40, 167, 69, 0.1) !important;
}

/* 系统公告样式 */
.notice-item {
    transition: all 0.3s ease;
    background-color: #fff;
}

.notice-item:hover {
    background-color: #f8f9fa !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.notice-item .badge {
    font-size: 0.8em;
    padding: 0.4em 0.8em;
}

.notice-item h5 {
    color: #333;
    font-weight: 600;
}

.notice-item p {
    line-height: 1.6;
    color: #666;
}

/* 公告分类按钮样式 */
.btn-check:checked + .btn-outline-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-check:checked + .btn-outline-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.btn-check:checked + .btn-outline-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-check:checked + .btn-outline-success {
    background-color: #198754;
    border-color: #198754;
}

/* 公告内容区域 */
.notice-content {
    border-left: 4px solid transparent;
    padding-left: 1rem;
}

.notice-content.category-最新公告 {
    border-left-color: #0dcaf0;
}

.notice-content.category-维修 {
    border-left-color: #ffc107;
}

.notice-content.category-活动 {
    border-left-color: #198754;
}

.bet-row-lose {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* 移动适配 */
@media (max-width: 768px) {
    .draw-ball, .number-ball {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
    }
    
    .bet-type-badge {
        font-size: 0.8em;
        padding: 0.2em 0.5em;
    }
}

/* 个人资料模态框样式 */
.profile-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.profile-modal .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.profile-modal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.profile-modal .card {
    border-radius: 10px;
    border: none;
    transition: transform 0.3s ease;
}

.profile-modal .card:hover {
    transform: translateY(-5px);
}

.profile-modal h6 {
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f3f4;
}

.profile-modal .btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

/* 个人资料统计卡片动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-modal .card {
    animation: fadeInUp 0.6s ease-out;
}

.profile-modal .card:nth-child(1) { animation-delay: 0.1s; }
.profile-modal .card:nth-child(2) { animation-delay: 0.2s; }
.profile-modal .card:nth-child(3) { animation-delay: 0.3s; }
.profile-modal .card:nth-child(4) { animation-delay: 0.4s; }

/* 盘口选择器禁用选项样式 */
select option:disabled {
    color: #999 !important;
    background-color: #f8f9fa !important;
    font-style: italic;
    cursor: not-allowed !important;
}

select option:disabled::before {
    content: "🚫 ";
}

/* 盘口选择器整体禁用样式 */
select:disabled {
    background-color: #e9ecef !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

/* 专门针对创建代理模态框的盘口选择器 */
#createAgentModal select[v-model="newAgent.market_type"]:disabled {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
}

/* 确保限红Modal显示在最上层 */
#adjustBettingLimitModal {
    z-index: 2000 !important;
}

#adjustBettingLimitModal .modal-backdrop {
    z-index: 1999 !important;
}

/* 代理平台通用互动元件 */
.navbar .nav-link.btn.btn-link {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    box-shadow: none;
}

.navbar .nav-link.btn.btn-link:focus {
    box-shadow: none;
}

.navbar .navbar-brand,
.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .dropdown-toggle,
.navbar .navbar-nav .dropdown-toggle.btn.btn-link,
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus,
.navbar .navbar-nav .dropdown-toggle:hover,
.navbar .navbar-nav .dropdown-toggle:focus {
    color: #fff !important;
}

.navbar-balance {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.page-link {
    cursor: pointer;
}

.accounts-scroll-hint {
    display: none;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

.accounts-table-wrap {
    border: 1px solid #dbe3f0;
    background: #fff;
}

.accounts-table {
    min-width: 1110px;
    margin-bottom: 0;
}

.accounts-table th,
.accounts-table td {
    white-space: nowrap;
    vertical-align: middle;
}

.modal,
.custom-member-modal-overlay {
    overscroll-behavior: contain;
}

.modal-header .btn-close {
    width: 44px;
    height: 44px;
    padding: 0.75rem;
    margin: 0;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.08);
    background-position: center;
    background-size: 14px;
    opacity: 1;
}

.modal-header .btn-close:hover {
    background-color: rgba(15, 23, 42, 0.14);
}

.modal-header .btn-close.btn-close-white {
    background-color: rgba(255, 255, 255, 0.16);
    filter: invert(1) grayscale(1) brightness(200%);
}

.mobile-entity-link,
.mobile-report-link {
    text-align: left;
    white-space: normal;
}

@media (max-width: 768px) {
    .login-container {
        margin-top: 48px;
        padding: 0 12px;
    }

    .navbar .container-fluid {
        align-items: flex-start;
    }

    .navbar .navbar-collapse {
        padding-top: 0.75rem;
    }

    .navbar .nav-link,
    .navbar .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .navbar-balance {
        min-height: 44px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .nav-tabs {
        border-bottom: 0;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-tabs .nav-item {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .nav-tabs .nav-link {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        border: 1px solid #d7def5;
        border-radius: 12px;
        background: #fff;
    }

    .nav-tabs .nav-link.active {
        border-color: #335dff;
        box-shadow: 0 8px 20px rgba(51, 93, 255, 0.16);
    }

    .accounts-toolbar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 0.75rem;
    }

    .accounts-toolbar-title {
        margin: 0;
        font-size: 1.35rem;
    }

    .accounts-toolbar-actions {
        width: 100%;
        gap: 0.625rem !important;
        flex-wrap: wrap;
    }

    .accounts-toolbar-actions .btn,
    .accounts-summary-badge {
        flex: 1 1 calc(50% - 0.625rem);
        min-height: 44px;
        margin: 0 !important;
        justify-content: center;
    }

    .accounts-summary-badge {
        flex-basis: 100%;
        height: auto !important;
        padding: 0.75rem !important;
        line-height: 1.45;
        white-space: normal;
    }

    .accounts-scroll-hint {
        display: inline-flex;
    }

    .accounts-table-wrap {
        border-radius: 14px;
        box-shadow: inset 0 0 0 1px rgba(219, 227, 240, 0.45);
    }

    .accounts-table {
        min-width: 1060px;
        font-size: 0.8rem;
    }

    .accounts-table th,
    .accounts-table td {
        padding: 0.55rem 0.45rem;
    }

    .accounts-table .btn-group {
        flex-wrap: nowrap;
    }

    .accounts-table .btn-group .btn,
    .accounts-table .btn-group .dropdown-toggle {
        white-space: nowrap;
    }

    .card-body .row.g-3 > [class*="col-"] {
        margin-bottom: 0.25rem;
    }

    .app-sheet-modal .modal-dialog,
    .modal.show .modal-dialog,
    .modal.d-block .modal-dialog {
        margin: 12px auto;
        max-width: calc(100vw - 24px) !important;
    }

    .app-modal-dialog-wide {
        max-width: calc(100vw - 24px) !important;
    }

    .app-sheet-modal .modal-content,
    .modal.show .modal-content,
    .modal.d-block .modal-content {
        max-height: calc(100dvh - 24px);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        border-radius: 20px;
    }

    .app-sheet-modal .modal-header,
    .modal.show .modal-header,
    .modal.d-block .modal-header {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }

    .app-sheet-modal .modal-title,
    .modal.show .modal-title,
    .modal.d-block .modal-title {
        font-size: 1.05rem;
        line-height: 1.35;
    }

    .app-sheet-modal .modal-body,
    .modal.show .modal-body,
    .modal.d-block .modal-body {
        padding: 1rem;
        overflow: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .app-sheet-modal .modal-footer,
    .modal.show .modal-footer,
    .modal.d-block .modal-footer {
        position: sticky;
        bottom: 0;
        z-index: 2;
        background: #fff;
        padding: 0.875rem 1rem max(0.875rem, env(safe-area-inset-bottom));
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .app-sheet-modal .modal-footer .btn,
    .modal.show .modal-footer .btn,
    .modal.d-block .modal-footer .btn {
        flex: 1 1 0;
        min-height: 44px;
    }

    .app-modal-action-row,
    .modal-body > .text-end,
    .modal-body form > .text-end {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        position: sticky;
        bottom: -1rem;
        background: linear-gradient(to top, #fff 72%, rgba(255, 255, 255, 0));
        padding-top: 0.875rem;
        margin-top: 1rem !important;
    }

    .app-modal-action-row .btn,
    .modal-body > .text-end .btn,
    .modal-body form > .text-end .btn {
        width: 100%;
        min-height: 44px;
        margin: 0 !important;
    }

    .modal-body .btn-group.w-100 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .modal-body .btn-group.w-100 > .btn {
        margin: 0 !important;
        border-radius: 12px !important;
    }

    .pagination {
        gap: 0.375rem;
        flex-wrap: wrap;
    }

    .pagination .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px !important;
    }

    .table-responsive {
        border-radius: 14px;
    }

    .agent-report-toolbar {
        align-items: flex-start !important;
        flex-wrap: wrap;
    }

    .agent-report-toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .agent-report-scroll-hint {
        display: flex;
    }

    .agent-report-table-wrap {
        margin: 0 -0.25rem;
        overscroll-behavior-x: contain;
    }

    .agent-report-table {
        min-width: 1320px;
        font-size: 11px;
    }

    .agent-report-table th,
    .agent-report-table td {
        padding: 0.42rem 0.5rem;
    }

    .member-bet-records-scroll-hint {
        display: flex;
    }

    .member-bet-records-table-wrap {
        margin: 0 -0.25rem;
        overscroll-behavior-x: contain;
    }

    .member-bet-records-table {
        min-width: 1120px;
        font-size: 11px;
    }

    .member-bet-records-table th,
    .member-bet-records-table td {
        padding: 0.42rem 0.5rem;
    }

    .custom-member-modal-overlay {
        padding: 12px;
        align-items: stretch !important;
    }

    .custom-member-modal-shell {
        width: min(100%, 560px) !important;
        max-height: calc(100dvh - 24px) !important;
        margin: auto;
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    .custom-member-modal-card {
        border-radius: 18px !important;
        display: flex;
        flex-direction: column;
        max-height: calc(100dvh - 30px);
    }

    .custom-member-modal-header {
        padding: 18px 56px 18px 18px !important;
    }

    .custom-member-modal-title {
        font-size: 1.08rem !important;
        text-align: left !important;
        line-height: 1.35 !important;
    }

    .custom-member-modal-close {
        width: 44px !important;
        height: 44px !important;
        top: 10px !important;
        right: 10px !important;
    }

    .custom-member-modal-body {
        padding: 18px 16px 20px !important;
        overflow: auto;
        max-height: calc(100dvh - 170px);
    }

    .custom-member-agent {
        padding: 12px !important;
        margin-bottom: 16px !important;
    }

    .custom-member-modal-actions {
        position: sticky;
        bottom: 0;
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 0.75rem !important;
        background: linear-gradient(to top, #fff 72%, rgba(255, 255, 255, 0));
        padding-top: 0.875rem;
        margin-top: 1rem !important;
    }

    .custom-member-modal-actions .btn {
        width: 100%;
        min-height: 46px;
        margin: 0 !important;
    }

    .mobile-entity-list,
    .mobile-report-list,
    .mobile-record-list,
    .mobile-log-list,
    .limit-preview-grid {
        display: grid;
        gap: 0.875rem;
    }

    .mobile-entity-card,
    .mobile-report-card,
    .mobile-record-card,
    .mobile-log-card,
    .limit-preview-card {
        background: #fff;
        border: 1px solid #e7ebf6;
        border-radius: 18px;
        padding: 0.95rem;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    }

    .mobile-entity-card-top,
    .mobile-report-card-top,
    .mobile-record-card-top,
    .mobile-log-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .mobile-entity-heading {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .mobile-entity-id,
    .mobile-record-sub,
    .mobile-report-remark {
        color: #64748b;
        font-size: 0.82rem;
    }

    .mobile-entity-user {
        display: grid;
        gap: 0.375rem;
        margin-bottom: 0.875rem;
    }

    .mobile-entity-meta,
    .mobile-report-stats,
    .mobile-record-grid,
    .mobile-log-grid,
    .limit-preview-values {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .mobile-entity-meta-full,
    .mobile-record-field-full,
    .mobile-log-field-full,
    .mobile-report-stat-full {
        grid-column: 1 / -1;
    }

    .mobile-entity-meta-item,
    .mobile-report-stat,
    .mobile-record-field,
    .mobile-log-field,
    .limit-preview-values > div {
        background: #f8fafc;
        border-radius: 14px;
        padding: 0.75rem;
    }

    .mobile-entity-meta-label,
    .mobile-report-stat span,
    .mobile-record-field span,
    .mobile-log-field span,
    .limit-preview-values span {
        display: block;
        margin-bottom: 0.25rem;
        color: #64748b;
        font-size: 0.76rem;
    }

    .mobile-entity-meta-value,
    .mobile-report-stat strong,
    .mobile-record-field strong,
    .mobile-log-field strong,
    .limit-preview-values strong {
        display: block;
        font-size: 0.96rem;
        line-height: 1.35;
        word-break: break-word;
    }

    .mobile-entity-note {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .mobile-entity-actions,
    .mobile-record-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.625rem;
        margin-top: 0.875rem;
    }

    .mobile-entity-actions .btn,
    .mobile-record-actions .btn {
        width: 100%;
        min-height: 42px;
    }

    .mobile-record-title,
    .mobile-report-total-title {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.35;
    }

    .mobile-report-total-card {
        background: linear-gradient(180deg, #f8fffb 0%, #ffffff 100%);
        border-color: #cde8d7;
    }

    .limit-preview-name {
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    .member-bet-filter-bar {
        padding: 0.875rem;
        border: 1px solid #e7ebf6;
        border-radius: 18px;
        background: #f8fafc;
    }

    .member-bet-filter-actions .d-grid {
        width: 100%;
    }

    .member-bet-filter-actions .btn {
        min-height: 44px;
    }
}
