/* 选号区域容器样式 */
.selection-wrapper {
    padding: 1.5rem 1rem;
    max-width: 100%;
    overflow-x: hidden;
}

/* 选号操作域样式 */
.ball-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 0;
}

/* 基础球样式 */
.ball-selector button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: white;
    color: #666;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 红球未选中状态 */
.ball-selector button.red-ball {
    border: 2px solid #ff4444;
    color: #ff4444;
    background-color: white !important;
}

/* 蓝球未选中状态 */
.ball-selector button.blue-ball {
    border: 2px solid #1976d2;
    color: #1976d2;
    background-color: white !important;
}

/* 红球选中状态 */
.ball-selector button.red-ball.selected {
    background-color: #ff4444 !important;
    color: white !important;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(255,68,68,0.4);
}

/* 蓝球选中状态 */
.ball-selector button.blue-ball.selected {
    background-color: #1976d2 !important;
    color: white !important;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(25,118,210,0.4);
}

/* 投注信息样式 */
.betting-info {
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid #e9ecef;
}

.betting-info span {
    font-size: 13px;
}

.betting-info #betCount,
.betting-info #betAmount {
    font-weight: bold;
    color: #ff4444;
    font-size: 15px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .selection-wrapper {
        padding: 1rem 0.5rem;
    }

    .ball-selector {
        gap: 4px;
    }

    .ball-selector button {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .betting-info {
        padding: 8px;
    }

    .betting-info span {
        font-size: 12px;
    }

    .betting-info .row {
        margin: 0 -4px;
    }

    .betting-info .col-auto {
        padding: 0 4px;
    }
} 

.icpfooter {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
    color: #7f8c8d;
    font-size: 14px;
}
