/* Auto-extracted from page-srs-review.php (P1-5) */
/* ===== SRS Review Page Styles ===== */
.abq-srs-container {
    max-width: var(--abq-content-narrow);
    margin: 0 auto;
    padding: 2rem 1.5rem;
}
.abq-srs-header {
    text-align: center;
    margin-bottom: 2rem;
}
.abq-srs-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.abq-srs-stat {
    text-align: center;
    background: var(--abq-surface, #fff);
    border-radius: var(--abq-radius-lg, 16px);
    padding: 1rem 1.5rem;
    min-width: 100px;
    box-shadow: var(--abq-shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
}
.abq-srs-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--abq-primary, #22c55e);
}
.abq-srs-stat-label {
    font-size: 0.8rem;
    color: var(--abq-text-muted, #888);
    margin-top: 0.25rem;
}
.abq-srs-stat.remaining .abq-srs-stat-num {
    color: #f59e0b;
}

/* Level indicators */
.abq-srs-levels {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.abq-srs-level-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    transition: transform 0.2s;
}
.abq-srs-level-dot:hover {
    transform: scale(1.15);
}
.abq-srs-level-dot.l0 { background: #94a3b8; }
.abq-srs-level-dot.l1 { background: #60a5fa; }
.abq-srs-level-dot.l2 { background: #34d399; }
.abq-srs-level-dot.l3 { background: #fbbf24; }
.abq-srs-level-dot.l4 { background: #f97316; }
.abq-srs-level-dot.l5 { background: #ef4444; }
.abq-srs-level-dot.l6 { background: #8b5cf6; }

/* Flashcard */
.abq-srs-card-wrap {
    perspective: 1000px;
    margin-bottom: 2rem;
}
.abq-srs-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    min-height: 300px;
    position: relative;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    cursor: pointer;
}
.abq-srs-card.flipped {
    transform: rotateY(180deg);
}
.abq-srs-card-front,
.abq-srs-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--abq-radius-xl, 20px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.abq-srs-card-front {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    color: #fff;
}
.abq-srs-card-back {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    transform: rotateY(180deg);
}

.abq-srs-card-word {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}
.abq-srs-card-phonetic {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    font-style: italic;
}
.abq-srs-card-meaning {
    font-size: 1.5rem;
    font-weight: 600;
}
.abq-srs-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.abq-srs-card-level {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Tap hint */
.abq-srs-tap-hint {
    text-align: center;
    color: var(--abq-text-muted, #888);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    animation: srs-pulse 2s infinite;
}
@keyframes srs-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Rating buttons */
.abq-srs-rating {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.abq-srs-btn {
    padding: 0.8rem 2rem;
    border-radius: 14px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    min-width: 100px;
}
.abq-srs-btn.hard {
    background: #fef2f2;
    color: #dc2626;
}
.abq-srs-btn.hard:hover {
    background: #fecaca;
}
.abq-srs-btn.good {
    background: #fffbeb;
    color: #d97706;
}
.abq-srs-btn.good:hover {
    background: #fef3c7;
}
.abq-srs-btn.easy {
    background: #f0fdf4;
    color: #16a34a;
}
.abq-srs-btn.easy:hover {
    background: #bbf7d0;
}

/* Progress */
.abq-srs-progress {
    margin-bottom: 1.5rem;
}
.abq-srs-progress-bar {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}
.abq-srs-progress-fill {
    height: 100%;
    background: var(--abq-primary, #22c55e);
    border-radius: 3px;
    transition: width 0.3s;
}
.abq-srs-progress-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--abq-text-muted, #888);
    margin-top: 0.4rem;
}

/* Empty / Complete states */
.abq-srs-empty,
.abq-srs-complete {
    text-align: center;
    padding: 3rem 2rem;
}
.abq-srs-empty-icon,
.abq-srs-complete-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.abq-srs-empty h2 { color: var(--abq-text, #333); }
.abq-srs-complete h2 { color: var(--abq-primary, #22c55e); }
.abq-srs-empty p,
.abq-srs-complete p {
    color: var(--abq-text-muted, #888);
}

/* Loading */
.abq-srs-loading {
    text-align: center;
    padding: 4rem;
    color: var(--abq-text-muted, #888);
}
.abq-srs-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--abq-primary, #22c55e);
    border-radius: 50%;
    animation: srs-loading-spin 0.8s linear infinite;
}
@keyframes srs-loading-spin {
    to { transform: rotate(360deg); }
}

/* Streak counter */
.abq-srs-streak {
    text-align: center;
    margin-bottom: 1rem;
}
.abq-srs-streak-inner {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .abq-srs-card-word { font-size: 2.2rem; }
    .abq-srs-card-meaning { font-size: 1.2rem; }
    .abq-srs-stats { gap: 1rem; }
    .abq-srs-stat { min-width: 80px; padding: 0.8rem; }
    .abq-srs-rating { flex-direction: column; align-items: center; }
    .abq-srs-btn { width: 100%; max-width: 200px; }
}
