/* /assets/css/custom.css */

/* 1. 开奖球样式 */
.ball {
    display: inline-block;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    margin: 1px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}
.ball-1 { background-color: #FFFF00; color: black; }
.ball-2 { background-color: #0000FF; color: white; }
.ball-3 { background-color: #696969; color: white; }
.ball-4 { background-color: #FFA500; color: black; }
.ball-5 { background-color: #87CEEB; color: black; }
.ball-6 { background-color: #800080; color: white; }
.ball-7 { background-color: #D3D3D3; color: black; }
.ball-8 { background-color: #FF0000; color: white; }
.ball-9 { background-color: #A52A2A; color: white; }
.ball-10{ background-color: #008000; color: white; }


/* 2. 表格颜色 */
.text-success-custom {
    color: #198754 !important; /* 绿色 */
    font-weight: bold;
}
.text-danger-custom {
    color: #dc3545 !important; /* 红色 */
    font-weight: bold;
}

/* 3. 固定序号列 */
.table-responsive {
    overflow-x: auto;
}
.sticky-col {
    position: sticky;
    left: 0;
    background-color: #f8f9fa;
    z-index: 10;
}

/* 4. 预测单元格 */
.prediction-cell {
    cursor: pointer;
    color: #0d6efd;
    text-decoration: underline;
}

/* 5. 优化筛选栏样式 */
.filter-bar {
    background-color: #ffffff;
}
.form-label-sm {
    font-size: 0.75rem; /* 12px */
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
    display: block;
}

/* 6. 多选下拉框样式 */
.dropdown-menu-custom {
    max-height: 400px;
    overflow-y: auto;
    min-width: 220px;
    padding: 0.5rem;
}
.dropdown-menu-custom .dropdown-item {
    cursor: pointer;
    border-radius: .25rem;
}

/* 7. 模态框中的 Textarea 样式 */
.json-textarea {
    font-family: monospace;
    font-size: 0.9em;
    background-color: #f8f9fa;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 8. 历史统计表格趋势背景色 */
.bg-trend-red {
    background-color: #ff8a8a !important; /* 红色 */
}
.bg-trend-green {
    background-color: #78f57a !important; /* 绿色 */
}

/* (*************** 核心新增 ***************)
   9. 历史统计-详情行 样式
*/
.stats-data-row {
    cursor: pointer; /* 提示用户这行可以点击 */
}
.stats-detail-row td {
    background-color: #fff9e6 !important; /* 淡黄色背景 */
    color: #5d4037;
    font-weight: bold;
    font-size: 1.1em;
}
.stats-detail-row-label {
    text-align: right;
    font-style: italic;
    padding-right: 8px;
}
/* (*************** 新增结束 ***************) */