/* Tone Pairs Quiz Styles */

/* Hero — deep rose/pink, distinct from teal (Similar Sounds), purple (Tone Trainer), indigo (Number Quiz) */
.tone-pairs-hero {
    background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
}

/* Large play button for each syllable in the pair */
.play-btn {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
    border: none;
}
.play-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
.play-btn i {
    color: white !important;
}
.play-btn.playing {
    animation: pulse 1s ease-in-out infinite;
}
.play-btn:disabled {
    opacity: 0.5;
}

/* Tone option answer buttons */
.tone-option-btn {
    min-width: 130px;
    min-height: 90px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border-width: 3px;
    border-radius: 12px;
    cursor: pointer;
}
.tone-option-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.tone-option-btn.correct {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: white !important;
}
.tone-option-btn.incorrect {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}
.tone-option-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tone number badge displayed inside each option button */
.tone-option-btn .tone-combo-display {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: monospace;
    line-height: 1.2;
}
.tone-option-btn .tone-combo-label {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* The two play button cards (Syllable 1 / Syllable 2) */
.syllable-card {
    border-radius: 12px;
    min-width: 120px;
}

/* VS divider */
.plus-divider {
    font-size: 1.8rem;
    font-weight: 900;
    color: #6c757d;
}

/* Pulse animation for playing state */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

/* Score display */
.score-display {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Difficulty badge */
.difficulty-badge {
    font-size: 0.85rem;
    padding: 0.35em 0.75em;
}

/* Panel header */
.panel-header {
    background: linear-gradient(135deg, #be185d, #9d174d);
    color: white;
}

/* Tone pattern reference rows */
.tone-ref-row {
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.tone-ref-row:last-child {
    border-bottom: none;
}

/* Tone contour mini-graphic labels */
.tone-label-1 { color: #0d6efd; font-weight: bold; }
.tone-label-2 { color: #198754; font-weight: bold; }
.tone-label-3 { color: #dc3545; font-weight: bold; }
.tone-label-4 { color: #6f42c1; font-weight: bold; }
.tone-label-5 { color: #6c757d; font-weight: bold; }

/* Results card */
.results-card {
    border: none;
    border-radius: 12px;
}

/* Quiz card minimum height */
.quiz-card {
    min-height: 440px;
}

/* Combo breakdown in results */
.combo-accuracy-item {
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.combo-accuracy-item:last-child {
    border-bottom: none;
}
