/* 下注金额选择弹窗样式 - 现代化设计 */

/* 弹窗遮罩层 */
.bet-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* 弹窗容器 */
.bet-modal-container {
    background: #fff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    max-width: 750px;
    padding: 15px 15px 20px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* 弹窗标题 */
.bet-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

/* 金额按钮网格 */
.bet-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

/* 金额按钮 */
.bet-amount-btn {
    background: #fff;
    border: 2px solid #4A90E2;
    border-radius: 6px;
    padding: 10px 8px;
    font-size: 16px;
    font-weight: 500;
    color: #4A90E2;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.bet-amount-btn:hover {
    background: #E8F4FF;
    transform: translateY(-2px);
}

.bet-amount-btn:active {
    transform: translateY(0);
}

.bet-amount-btn.selected {
    background: #4A90E2;
    color: #fff;
    border-color: #4A90E2;
}

/* 已选注数显示 */
.bet-selected-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.bet-selected-count {
    color: #FF4444;
    font-size: 18px;
    font-weight: bold;
    margin: 0 6px;
}

.bet-selected-label {
    color: #333;
}

/* 自定义金额输入框 */
.bet-custom-input {
    width: 100%;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    padding: 12px;
    font-size: 15px;
    text-align: center;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bet-custom-input:focus {
    outline: none;
    border-color: #4A90E2;
}

/* 底部按钮组 */
.bet-modal-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
}

/* 清空按钮 */
.bet-clear-btn {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 20px;
    padding: 12px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bet-clear-btn:hover {
    background: #F5F5F5;
}

.bet-clear-btn:active {
    transform: scale(0.98);
}

/* 确定按钮 */
.bet-confirm-btn {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border: none;
    border-radius: 20px;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.bet-confirm-btn:hover {
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
    transform: translateY(-1px);
}

.bet-confirm-btn:active {
    transform: translateY(0);
}

.bet-confirm-btn:disabled {
    background: #CCCCCC;
    box-shadow: none;
    cursor: not-allowed;
}

/* 响应式调整 */
@media (min-width: 600px) {
    .bet-amount-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
