/* ============================================================
   StudyHub Page-Specific Styles
   ============================================================ */

/* ── SPLASH SCREEN ── */
.splash-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #FFFFFF 0%, var(--primary-50) 50%, var(--primary-100) 100%);
  text-align: center;
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.splash-logo {
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-6);
  animation: splash-logo-in 0.8s ease-out;
}

.splash-brand {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  animation: splash-fade-up 0.8s ease-out 0.2s both;
}

.splash-brand span {
  color: var(--primary);
}

.splash-tagline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
  animation: splash-fade-up 0.8s ease-out 0.4s both;
}

.splash-subtitle {
  font-size: var(--text-base);
  color: var(--text-tertiary);
  margin-bottom: var(--space-10);
  animation: splash-fade-up 0.8s ease-out 0.5s both;
}

.splash-cta {
  animation: splash-fade-up 0.8s ease-out 0.7s both;
}

.splash-cta .btn {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  border-radius: var(--radius-full);
}

@keyframes splash-logo-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes splash-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Decorative circles */
.splash-page::before,
.splash-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: var(--primary-100);
  opacity: 0.3;
}

.splash-page::before {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
}

.splash-page::after {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -60px;
}

/* ── AUTH PAGES (Login, Register, Forgot) ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-body);
}

.auth-header {
  padding: var(--space-8) var(--space-6) var(--space-6);
  text-align: center;
}

.auth-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
}

.auth-title {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.auth-form-container {
  flex: 1;
  background: var(--bg-card);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  padding: var(--space-6);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

.auth-form .form-group:last-of-type {
  margin-bottom: var(--space-6);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}

.auth-footer {
  text-align: center;
  padding: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.auth-footer a {
  font-weight: var(--font-semibold);
}

.password-strength {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.password-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.password-strength-bar.active.weak   { background: var(--error-500); }
.password-strength-bar.active.medium { background: var(--warning-500); }
.password-strength-bar.active.strong { background: var(--success-500); }

/* ── HOME PAGE ── */
.home-greeting {
  padding: var(--space-5) var(--space-4) var(--space-3);
}

.greeting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.greeting-text h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
}

.greeting-text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.greeting-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.notification-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gray-50);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.notification-btn:hover {
  background: var(--gray-100);
  color: var(--text-primary);
}

.notification-btn .badge-count {
  position: absolute;
  top: 6px;
  right: 6px;
}

.home-search {
  padding: var(--space-2) var(--space-4) var(--space-4);
}

/* ── Hero Banner ── */
.hero-banner {
  margin: 0 var(--space-4) var(--space-4);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  align-items: center;
}

.hero-banner::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.hero-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.hero-content p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.hero-illustration {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  padding: var(--space-3) 0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ── Class Selection ── */
.class-select-section {
  padding: 0 var(--space-4) var(--space-4);
}

.class-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.class-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.class-card:hover {
  border-color: var(--primary-300);
  background: var(--primary-50);
}

.class-card.active {
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: var(--shadow-blue);
}

.class-card-number {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--primary);
  line-height: 1;
}

.class-card-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 2px;
  font-weight: var(--font-medium);
}

.class-card.active .class-card-number {
  color: var(--primary-700);
}

/* ── Subject Cards Grid ── */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding: 0 var(--space-4);
}

.subject-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.subject-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.subject-card:active {
  transform: translateY(0);
}

.subject-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  font-size: var(--text-2xl);
}

.subject-card-name {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

/* ── Subject List (Class Page) ── */
.subject-list {
  padding: 0 var(--space-4);
}

.subject-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.subject-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.subject-list-item:active {
  transform: translateY(0);
}

.subject-list-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xl);
}

.subject-list-info {
  flex: 1;
  min-width: 0;
}

.subject-list-name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.subject-list-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.subject-list-arrow {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ── Chapter List ── */
.chapter-list {
  padding: 0 var(--space-4);
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chapter-item:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow-sm);
}

.chapter-item:active {
  background: var(--gray-100);
}

.chapter-number {
  width: 36px;
  height: 36px;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.chapter-title {
  flex: 1;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--text-primary);
}

.chapter-arrow {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ── Chapter Detail / Resource Page ── */
.chapter-info {
  padding: var(--space-4);
  text-align: center;
}

.chapter-info h1 {
  font-size: var(--text-2xl);
}

.chapter-info .chapter-meta {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}

.resource-tabs {
  padding: 0 var(--space-4);
  margin-bottom: var(--space-4);
}

.resource-list {
  padding: 0 var(--space-4);
}

.resource-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
}

.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-info {
  flex: 1;
  min-width: 0;
}

.resource-title {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.resource-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.resource-action {
  flex-shrink: 0;
}

/* ── PDF Viewer ── */
.pdf-viewer-page {
  background: var(--gray-100);
}

.pdf-viewer-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
}

.pdf-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  overflow: auto;
}

.pdf-canvas-container {
  background: white;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  max-width: 100%;
  overflow: hidden;
}

.pdf-toolbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gray-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-fixed);
}

.pdf-toolbar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  cursor: pointer;
  padding: var(--space-1);
  min-width: 56px;
  transition: color var(--transition-fast);
}

.pdf-toolbar-btn:hover {
  color: white;
}

.pdf-toolbar-btn svg {
  width: 22px;
  height: 22px;
}

.pdf-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.pdf-page-info {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  white-space: nowrap;
}

.pdf-nav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transition: background var(--transition-fast);
}

.pdf-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.pdf-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ── Quiz ── */
.quiz-header-info {
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-progress-text {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-secondary);
}

.quiz-timer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--primary);
  background: var(--primary-50);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}

.quiz-timer.warning {
  color: var(--warning-600);
  background: var(--warning-50);
}

.quiz-timer.danger {
  color: var(--error-600);
  background: var(--error-50);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.quiz-progress-bar {
  margin: 0 var(--space-4);
}

.quiz-question-container {
  padding: var(--space-5) var(--space-4);
}

.quiz-question {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-6);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 52px;
}

.quiz-option:hover {
  border-color: var(--primary-300);
  background: var(--primary-50);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary-50);
}

.quiz-option.correct {
  border-color: var(--success-500);
  background: var(--success-50);
}

.quiz-option.incorrect {
  border-color: var(--error-500);
  background: var(--error-50);
}

.quiz-option-letter {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz-option.selected .quiz-option-letter {
  background: var(--primary);
  color: white;
}

.quiz-option.correct .quiz-option-letter {
  background: var(--success-500);
  color: white;
}

.quiz-option.incorrect .quiz-option-letter {
  background: var(--error-500);
  color: white;
}

.quiz-option-text {
  flex: 1;
  font-size: var(--text-base);
  color: var(--text-primary);
}

.quiz-actions {
  padding: var(--space-4);
  display: flex;
  gap: var(--space-3);
  position: sticky;
  bottom: var(--bottom-nav-height);
  background: var(--bg-body);
}

/* ── Quiz Result ── */
.result-hero {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

.result-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: var(--shadow-lg);
}

.result-score-value {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--primary);
  line-height: 1;
}

.result-score-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.result-message {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
}

.result-stat {
  text-align: center;
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.result-stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
}

.result-stat-value.correct { color: var(--success-600); }
.result-stat-value.wrong   { color: var(--error-600); }
.result-stat-value.skipped { color: var(--warning-600); }

.result-stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.result-actions {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* ── Profile Page ── */
.profile-header {
  text-align: center;
  padding: var(--space-6) var(--space-4);
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-3);
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-4xl);
  color: var(--primary-600);
  overflow: hidden;
  position: relative;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}

.profile-email {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  margin: 0 var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.profile-stat {
  text-align: center;
  padding: var(--space-2);
}

.profile-stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}

.profile-stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.profile-menu {
  padding: var(--space-4);
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.profile-menu-item:hover {
  background: var(--gray-50);
}

.profile-menu-item svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.profile-menu-item span {
  flex: 1;
  font-size: var(--text-base);
  font-weight: var(--font-medium);
}

.profile-menu-item .arrow {
  color: var(--text-tertiary);
}

.profile-menu-item.danger {
  color: var(--error-600);
}

.profile-menu-item.danger svg {
  color: var(--error-500);
}

/* ── Search Page ── */
.search-page-bar {
  padding: var(--space-4);
  position: sticky;
  top: var(--header-height);
  background: var(--bg-body);
  z-index: 10;
}

.search-filters {
  padding: 0 var(--space-4) var(--space-3);
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
}

.search-filters::-webkit-scrollbar { display: none; }

.search-filter-chip {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: all var(--transition-fast);
}

.search-filter-chip:hover {
  border-color: var(--primary-300);
}

.search-filter-chip.active {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary);
}

.search-results {
  padding: 0 var(--space-4);
}

.search-result-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.search-result-card:hover {
  box-shadow: var(--shadow-md);
}

/* ── Downloads Page ── */
.download-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-xs);
}

.download-icon {
  width: 44px;
  height: 44px;
  background: var(--error-50);
  color: var(--error-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-info {
  flex: 1;
  min-width: 0;
}

.download-name {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.download-meta {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 2px;
}

.download-more {
  color: var(--text-tertiary);
  cursor: pointer;
  padding: var(--space-2);
}

/* ── Bookmarks Page ── */
.bookmark-tabs {
  padding: 0 var(--space-4);
  margin-bottom: var(--space-4);
}

/* ── Contact Page ── */
.contact-form {
  padding: var(--space-4);
}

.contact-info {
  padding: var(--space-4);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Static pages (about, privacy, terms) ── */
.static-content {
  padding: var(--space-6) var(--space-4);
  max-width: 700px;
  margin: 0 auto;
}

.static-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.static-content p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-loose);
}

.static-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.static-content li {
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
}

/* ── Notes page ── */
.notes-filter {
  padding: var(--space-3) var(--space-4);
}

.notes-list {
  padding: 0 var(--space-4);
}

/* ── Settings page ── */
.settings-section {
  padding: var(--space-4);
}

.settings-group {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.settings-group-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-4) var(--space-4) var(--space-2);
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  min-height: 52px;
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item:hover {
  background: var(--gray-50);
}

.settings-item-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.settings-item-left svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.settings-item-label {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
}

.settings-item-value {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}
