/* 自定义样式 */
:root {
    --primary: #0d6efd;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    background-color: #f8f9fa;
}

/* 卡片悬浮效果 */
.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.1) !important;
    transition: box-shadow 0.2s;
}

/* 答题选项悬浮 */
.exam-option:hover, .question-option:hover {
    background-color: #e7f1ff;
    border-color: #0d6efd !important;
    cursor: pointer;
}

/* 答题选项选中 */
.exam-option input:checked + label,
.question-option input:checked + label {
    color: #0d6efd;
    font-weight: 600;
}

.exam-option:has(input:checked),
.question-option:has(input:checked) {
    background-color: #e7f1ff;
    border-color: #0d6efd !important;
}

/* 答题卡 */
.sheet-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 12px;
}

/* 考试头部 */
.exam-header {
    background: #fff;
}

/* 导航栏 */
.navbar {
    transition: box-shadow 0.2s;
}

.navbar-brand {
    letter-spacing: 0.5px;
}

/* 表格 */
.table th {
    font-weight: 600;
    white-space: nowrap;
}

/* 按钮 */
.btn {
    font-weight: 500;
    border-radius: 6px;
}

/* 进度条 */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

/* 欢迎横幅 */
.welcome-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

/* 特性图标 */
.feature-icon i {
    font-size: 2rem;
}

/* 表单 */
.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}

/* 徽章 */
.badge {
    font-weight: 500;
}

/* 答卷解析区 */
.accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
}

/* 响应式 */
@media (max-width: 768px) {
    .sticky-top {
        position: relative !important;
    }
}
