.review-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: slideUp 0.45s ease-out;
}

.review-title {
  font-size: 2.35rem;
}

.review-error {
  color: #ff9c96;
  text-align: left;
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.4);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.review-select-panel,
.review-session-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.review-state {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.review-subjects {
  display: grid;
  gap: 1rem;
}

.review-subject-section {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 0.9rem;
}

.review-subject-section h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.review-library-list {
  display: grid;
  gap: 0.6rem;
}

.review-library-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
}

.review-library-item input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

.review-library-texts {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.review-library-texts strong {
  font-size: 0.95rem;
}

.review-library-texts span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.review-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
}

.review-progress {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.8rem;
}

.review-progress span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  min-width: 60px;
}

.review-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.review-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(var(--color-accent-rgb), 0.8), rgba(var(--color-accent-rgb), 1));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.review-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  min-height: 250px;
}

.review-card header {
  margin-bottom: 0.8rem;
}

.review-card small {
  color: rgba(255, 255, 255, 0.62);
}

.review-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.review-card p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.55;
}

.review-session-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

@media (max-width: 740px) {
  .review-session-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
