:root {
    --app-primary: #0d6efd;
}

body {
    min-height: 100vh;
    background: #f6f8fb;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 430px;
    border: 0;
    border-radius: 18px;
}

.brand-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--app-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    font-weight: bold;
}

.mode-card {
    border: 0;
    border-radius: 18px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.mode-card:hover {
    transform: translateY(-3px);
}

.mode-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.setup-card {
    max-width: 650px;
    border: 0;
    border-radius: 18px;
}

.question-card {
    border: 0;
    border-radius: 18px;
}

.question-number {
    color: #6c757d;
    font-size: .9rem;
    margin-bottom: 8px;
}

.question-text {
    line-height: 1.55;
}

.option-item {
    border: 2px solid #e2e6ea;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all .12s ease;
}

.option-item:hover {
    border-color: #9ec5fe;
    background: #f8fbff;
}

.option-item.selected {
    border-color: var(--app-primary);
    background: #eef5ff;
}

.option-item.correct {
    border-color: #198754;
    background: #eaf7f0;
}

.option-item.incorrect {
    border-color: #dc3545;
    background: #fff0f1;
}

.option-label {
    font-weight: 700;
    min-width: 30px;
}

.timer-box {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    min-width: 90px;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: #212529;
    color: white;
}

.timer-box.warning {
    background: #dc3545;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 8px solid #0d6efd;
    font-size: 28px;
    font-weight: 800;
}

.result-item {
    border: 0;
    border-radius: 14px;
    margin-bottom: 15px;
}

@media (max-width: 576px) {
    .question-card .card-body {
        padding: 1.25rem !important;
    }
}
