/* ════════ Review tab (SRS hero, 7-day schedule, weak/hard cards) ════════ */

/* ── CTA hero ── */
.rv-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  margin-bottom: var(--space-3);
  transition: var(--transition);
}

.rv-cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.rv-cta.done  { background: linear-gradient(135deg, #059669, var(--success)); }

.rv-cta-left  { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.rv-cta-icon  { font-size: 1.3rem; flex-shrink: 0; }
.rv-cta-title { font-size: var(--text-sm); font-weight: var(--font-weight-bold); }
.rv-cta-sub   { font-size: var(--text-xs); opacity: 0.85; margin-top: 1px; }

.rv-cta-btn {
  flex-shrink: 0;
  min-height: 36px;
  background: var(--white-20);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0 var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.rv-cta-btn:hover { background: rgba(255, 255, 255, 0.35); }

/* ── Từ yếu + Từ khó pair ── */
.rv-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.rv-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: var(--transition);
}

.rv-card:hover       { transform: translateY(-1px); box-shadow: var(--shadow); }
.rv-weak:hover       { border-color: var(--warning); }
.rv-hard:hover       { border-color: var(--danger); }
.rv-card-icon        { font-size: 1.2rem; flex-shrink: 0; }
.rv-card-text        { font-size: var(--text-sm); font-weight: var(--font-weight-semibold); color: var(--text); }
.rv-card.rv-disabled { opacity: 0.4; cursor: default; pointer-events: none; }

/* ── Luyện thêm ── */
.rv-extra { margin-bottom: var(--space-3); }

.rv-section-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: var(--space-2);
}

.rv-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.rv-mode-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) 4px;
  font-size: var(--text-xs);
  cursor: pointer;
  color: var(--text);
  line-height: 1.5;
  text-align: center;
  transition: var(--transition);
}

.rv-mode-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* ── Lịch ôn collapsible ── */
.rv-schedule {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.rv-schedule-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  user-select: none;
  transition: var(--transition);
}

.rv-schedule-hd:hover { background: var(--border-light); }

.rv-sched-arrow {
  font-size: var(--text-xs);
  transition: transform 0.2s;
}
.rv-sched-arrow.open { transform: rotate(180deg); }
.rv-schedule-body:not(.hidden) { padding: 0 var(--space-3) var(--space-3); }

/* ── 7-day schedule row ── */
.schedule-row {
  display: flex;
  gap: var(--space-2);
  justify-content: space-between;
}

.schedule-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-3) 6px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  text-align: center;
  transition: var(--transition);
}

.schedule-day.today { background: var(--primary-light); }

.sched-label {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sched-count {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.sched-count.has-words { color: var(--primary); }

.sched-sub {
  font-size: var(--text-xs);
  color: var(--text-light);
}
