/**
 * Стили для тренажёра "Время и календарь"
 */
 
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

.time-game .game-title { color: #4DC247; }

.time-game-area {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 25px;
    text-align: center;
}

.time-top { margin-bottom: 20px; }

.time-bar-wrap {
    height: 6px;
    background: rgba(77, 194, 71, 0.15);
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    overflow: hidden;
}

.time-bar {
    height: 100%;
    background: linear-gradient(90deg, #4DC247, #8EDC50);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.time-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.clock-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.clock-svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.time-opts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.time-opts.choice {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto 15px;
}

.time-btn {
    min-width: 80px;
    padding: 12px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    background: white;
    border: 3px solid #4DC247;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
}

.time-opts.choice .time-btn {
    width: 100%;
    text-align: center;
}

.time-btn:hover:not(:disabled) {
    background: rgba(77, 194, 71, 0.1);
    transform: scale(1.03);
}

.time-btn.ok {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.time-btn.err {
    background: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.time-btn:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

.time-fb { min-height: 60px; }

/* Results - наследуем от основных стилей */
.time-results {
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

.time-results .res-icon { font-size: 60px; margin-bottom: 10px; }
.time-results h2 { font-size: 22px; color: var(--text-primary); margin-bottom: 15px; }
.time-results .res-score { font-size: 48px; font-weight: 900; color: #4DC247; }
.time-results .res-score small { font-size: 20px; color: var(--text-muted); }
.time-results .res-pct { font-size: 18px; color: var(--text-secondary); margin-bottom: 15px; }

.time-results .res-reward {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.time-results .res-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.time-results .res-btns button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.time-results .res-btns button:first-child {
    background: linear-gradient(135deg, #4DC247, #8EDC50);
    color: white;
}

.time-results .res-btns button:last-child {
    background: #f0f0f0;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 480px) {
    .time-question { font-size: 1.1rem; }
    .time-btn { min-width: 65px; padding: 10px 15px; font-size: 1rem; }
    .clock-wrap svg { width: 130px; height: 130px; }
}