/* --- Stop Using Vocabulary Trainer Styles --- */

.stop-using-page {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.stop-using-intro-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border-left: 5px solid #004d99;
}

.stop-using-intro-card h2 {
    color: #004d99;
    margin-top: 0;
    font-size: 1.8rem;
}

.stop-using-intro-card p {
    color: #334155;
    line-height: 1.6;
    margin-bottom: 0.85rem;
}

.stop-using-intro-example {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.25rem;
}

.stop-using-ex-step {
    margin-bottom: 0.75rem;
}

.stop-using-ex-step:last-child {
    margin-bottom: 0;
}

.stop-using-ex-label {
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 0.25rem;
}

.stop-using-ex-text {
    background: #ffffff;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
}

/* --- Progress Summary --- */
.review-progress {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.stop-using-progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stop-using-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stop-using-stat-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: #004d99;
}

.stop-using-stat-label {
    font-size: 0.85rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

/* --- Controls & Mode Selector --- */
.stop-using-controls-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.stop-using-mode-selector {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.stop-using-mode-btn {
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    border-bottom: 3px solid transparent;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.stop-using-mode-btn:hover {
    color: #004d99;
}

.stop-using-mode-btn.active {
    color: #004d99;
    border-bottom-color: #004d99;
}

/* --- Learn Cards --- */
.stop-using-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

.stop-using-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    cursor: pointer;
}

.stop-using-overused-title {
    font-size: 1.35rem;
    font-weight: bold;
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stop-using-alt-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.stop-using-alt-word {
    font-size: 1.2rem;
    font-weight: bold;
    color: #166534;
    margin-bottom: 0.35rem;
}

.synonym-option {
    padding: 0.85rem 1.15rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
}

.synonym-option:hover {
    border-color: #004d99;
    background: #f0f7ff;
}

.synonym-option.selected-correct {
    border-color: #166534;
    background: #dcfce7;
    color: #166534;
    font-weight: bold;
}

.synonym-option.selected-incorrect {
    border-color: #dc2626;
    background: #fee2e2;
    color: #991b1b;
}

.upgrade-exercise {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
}

.speech-check-result {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

/* --- Context Matching --- */
.stop-using-match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stop-using-match-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .stop-using-page {
        padding: 0 0.5rem;
    }
    .stop-using-intro-card, .review-progress, .stop-using-controls-bar, .upgrade-exercise {
        padding: 1.25rem;
    }
}
