/* ============================================
   config-modal-simple.css - 简洁配置弹窗样式
   与游戏设置窗口风格一致
   ============================================ */

/* 弹窗遮罩 */
.config-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.config-modal-overlay.active {
    display: flex;
}

/* 弹窗主体 - 与 game-settings-window 风格一致 */
.config-modal {
    background: linear-gradient(180deg, #2d2d2d 0%, #1f1f1f 100%);
    border: 1px solid #3d3d3d;
    border-radius: 3px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    width: 400px;
    max-width: 90vw;
}

/* 标题栏 */
.config-modal-header {
    background: linear-gradient(180deg, #3d3d3d 0%, #2d2d2d 100%);
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.config-modal-title {
    color: #c4b998;
    font-size: 14px;
    font-weight: bold;
}

.config-modal-close {
    width: 18px;
    height: 18px;
    background: #8b0000;
    border: 1px solid #a52a2a;
    color: #fff;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

/* 内容区 */
.config-modal-body {
    padding: 20px;
    color: #aaa;
    font-size: 13px;
}

/* 底部按钮 */
.config-modal-footer {
    padding: 15px;
    border-top: 1px solid #3d3d3d;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 按钮 - 与 game-btn 风格一致 */
.config-modal-btn {
    padding: 6px 20px;
    background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
    border: 1px solid #5a5a5a;
    border-radius: 3px;
    color: #aaa;
    font-size: 13px;
    cursor: url('../img/cursor/wot_link.cur'), pointer;
}

.config-modal-btn:hover {
    background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 100%);
    color: #fff;
}

.config-modal-btn.primary {
    background: linear-gradient(180deg, #8b6914 0%, #6b4e0a 100%);
    border-color: #a57c1e;
    color: #fff;
}

.config-modal-btn.primary:hover {
    background: linear-gradient(180deg, #a57c1e 0%, #8b6914 100%);
}