@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #09090b;
  --bg-secondary: #121214;
  --bg-card: #18181b;
  --bg-input: #0e0e11;
  --border-subtle: #27272a;
  --border-focus: #d2c84b; /* Gold */
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --color-gold: #d2c84b;
  --color-olive: #9a912d;
  --color-gold-rgb: 210, 200, 75;
  --color-olive-rgb: 154, 145, 45;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 4px 20px -2px rgba(0, 0, 0, 0.7);
  --shadow-gold-glow: 0 0 15px rgba(210, 200, 75, 0.15);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  height: 100vh;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Helper Classes */
.hidden {
  display: none !important;
}

/* Auth Screens Layout (Login & Register) */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-image: radial-gradient(circle at 10% 20%, rgba(26, 26, 20, 0.6) 0%, rgba(9, 9, 11, 1) 90%);
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(154, 145, 45, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.auth-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  padding: 3rem;
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 10;
  transition: var(--transition-smooth);
}

.auth-card:hover {
  border-color: rgba(210, 200, 75, 0.3);
  box-shadow: var(--shadow-gold-glow), var(--shadow-premium);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-logo h1 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.auth-logo h1 span {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-olive);
  padding-bottom: 2px;
}

.auth-logo p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 300;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.input-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(210, 200, 75, 0.1);
  background-color: rgba(24, 24, 27, 0.5);
}

.btn-primary {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-gold);
  color: #000;
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  margin-top: 1rem;
}

.btn-primary:hover {
  background-color: #f7ed68;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(210, 200, 75, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.auth-switch a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.auth-switch a:hover {
  color: var(--text-primary);
  border-bottom: 1px solid var(--color-gold);
}

/* Background greek statue watermark on login screen */
.auth-bg-statue {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 400px;
  height: 400px;
  opacity: 0.05;
  background-image: url('assets/greek_statue_lineart.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom left;
  pointer-events: none;
  z-index: 1;
}

/* Main Platform Dashboard Layout (With Sidebar) */
.dashboard-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
  width: 280px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  z-index: 100;
}

.sidebar-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-header .logo-monogram {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--color-gold);
  font-size: 1.1rem;
  background-color: rgba(210, 200, 75, 0.05);
}

.sidebar-header .logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.sidebar-header .logo-text span {
  color: var(--color-gold);
}

/* Profile area in Sidebar */
.sidebar-profile {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(24, 24, 27, 0.2);
}

.profile-info {
  margin-bottom: 0.75rem;
}

.profile-name {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-email {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.4rem;
}

.profile-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  background-color: rgba(154, 145, 45, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(210, 200, 75, 0.3);
  padding: 2px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Subscription trial widget */
.subscription-widget {
  background-color: rgba(9, 9, 11, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.85rem;
  margin-top: 0.75rem;
}

.sub-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
}

.sub-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.sub-progress-bar {
  height: 4px;
  background-color: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.sub-progress-fill {
  height: 100%;
  background-color: var(--color-gold);
  width: 100%; /* Mocked as 90/90 remaining initially */
  border-radius: 2px;
}

.sub-note {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

/* Navigation Links */
.sidebar-menu {
  flex-grow: 1;
  padding: 1.5rem 0.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border-left: 3px solid transparent;
}

.menu-item i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.menu-item:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.02);
}

.menu-item:hover i {
  color: var(--color-gold);
}

.menu-item.active {
  color: var(--color-gold);
  background-color: rgba(210, 200, 75, 0.05);
  border-left-color: var(--color-gold);
  font-weight: 600;
}

.menu-item.active i {
  color: var(--color-gold);
}

/* Sidebar Footer (Logout) */
.sidebar-footer {
  padding: 1rem 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  color: #ef4444;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-logout:hover {
  background-color: rgba(239, 68, 68, 0.05);
}

/* Content Area */
.content-area {
  flex-grow: 1;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  position: relative;
}

.content-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-title-section h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.header-title-section p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.current-date-badge {
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--color-gold);
}

/* Screen Content Wrapper */
.screen-content {
  padding: 2rem;
  flex-grow: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard Home Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

/* Cards Design System */
.card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.card:hover {
  border-color: rgba(210, 200, 75, 0.2);
}

.card-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.6rem;
}

.card-title i {
  color: var(--color-gold);
}

/* Column sizes */
.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

/* Dashboard Welcome Banner */
.welcome-banner {
  background-image: linear-gradient(135deg, rgba(154, 145, 45, 0.15) 0%, rgba(9, 9, 11, 0.8) 100%), url('assets/greek_statue_lineart.png');
  background-size: 300px;
  background-repeat: no-repeat;
  background-position: right 30px center;
  border: 1px solid var(--color-olive);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 160px;
}

.welcome-banner h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.welcome-banner p {
  max-width: 60%;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Widget Habit Tracker Mini */
.mini-habit-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mini-habit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.mini-habit-item.completed {
  border-color: rgba(16, 185, 129, 0.3);
  background-color: rgba(16, 185, 129, 0.02);
}

.habit-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.habit-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.mini-habit-item.completed .habit-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.habit-tag {
  font-size: 0.65rem;
  font-weight: 700;
  background-color: rgba(210, 200, 75, 0.1);
  color: var(--color-gold);
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

/* Custom Checkbox Design */
.custom-checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--color-gold);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.custom-checkbox .checkmark::after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Circadian Clock Widget */
.circadian-widget {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.circadian-current {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.circadian-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--color-gold);
}

.circadian-current-time {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.circadian-current-block {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.circadian-current-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.circadian-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid transparent;
  background-color: rgba(255, 255, 255, 0.01);
}

.timeline-step.active {
  background-color: rgba(210, 200, 75, 0.03);
  border: 1px solid rgba(210, 200, 75, 0.15);
  position: relative;
}

.timeline-step.active::before {
  content: "ATIVO";
  position: absolute;
  right: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  background-color: var(--color-gold);
  color: #000;
  padding: 1px 5px;
  border-radius: 2px;
}

.timeline-time {
  font-family: var(--font-title);
  font-weight: 700;
  width: 90px;
  color: var(--text-muted);
}

.timeline-step.active .timeline-time {
  color: var(--color-gold);
}

.timeline-name {
  font-weight: 500;
  color: var(--text-secondary);
}

.timeline-step.active .timeline-name {
  color: var(--text-primary);
}

/* Diagnostic Progress Widget */
.diagnostic-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  text-align: center;
}

.gauge-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 8px solid var(--border-subtle);
  border-top-color: var(--color-gold);
  border-right-color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  animation: rotateGauge 1s ease-out;
}

.gauge-level-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.gauge-level-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  max-width: 220px;
  margin-bottom: 1.2rem;
}

.btn-secondary {
  padding: 0.6rem 1.2rem;
  background: none;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: rgba(210, 200, 75, 0.08);
  color: #fff;
  border-color: #fff;
}

/* SMART Goals Screen styling */
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.goal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  transition: var(--transition-smooth);
}

.goal-card:hover {
  border-color: rgba(210, 200, 75, 0.15);
}

.goal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.goal-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.goal-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 15px;
  margin-top: 0.2rem;
}

.goal-meta span i {
  color: var(--color-olive);
  margin-right: 4px;
}

.btn-icon-danger {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 4px;
}

.btn-icon-danger:hover {
  color: #ef4444;
}

.goal-progress-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.goal-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  outline: none;
}

.goal-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background-color: var(--color-gold);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.goal-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(210, 200, 75, 0.4);
}

.goal-progress-value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-gold);
  width: 40px;
  text-align: right;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Diaries Screen */
.diaries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.diary-textarea {
  width: 100%;
  height: 120px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem;
  resize: none;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.diary-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(24, 24, 27, 0.5);
}

.diary-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.diary-block-header i {
  font-size: 1.1rem;
}

.diary-history-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.history-date {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.history-q-a {
  margin-bottom: 0.5rem;
}

.history-q {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.history-a {
  color: var(--text-primary);
  font-style: italic;
  padding-left: 0.5rem;
  border-left: 2px solid var(--color-olive);
}

/* Diagnostic Quiz Screen styling */
.diagnostic-container {
  max-width: 700px;
  margin: 0 auto;
}

.diagnostic-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.diagnostic-intro p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.quiz-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: var(--shadow-premium);
  margin-bottom: 1.5rem;
}

.quiz-progress {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.quiz-question {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.quiz-option:hover {
  border-color: var(--color-gold);
  background-color: rgba(210, 200, 75, 0.02);
}

.quiz-option.selected {
  border-color: var(--color-gold);
  background-color: rgba(210, 200, 75, 0.08);
}

.quiz-option-radio {
  margin-right: 15px;
  accent-color: var(--color-gold);
  width: 18px;
  height: 18px;
}

.quiz-option-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.btn-nav {
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-nav:hover {
  background-color: var(--border-subtle);
}

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

/* Responsive Styles */
.mobile-header {
  display: none;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .dashboard-wrapper {
    flex-direction: column;
  }
  
  .sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    height: 100vh;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .mobile-header {
    display: flex;
  }
  
  .col-8, .col-4, .col-6 {
    grid-column: span 12;
  }
  
  .dashboard-grid {
    gap: 1rem;
  }
  
  .screen-content {
    padding: 1rem;
  }
  
  .diaries-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-banner {
    background-size: 180px;
    background-position: right bottom;
  }
  
  .welcome-banner p {
    max-width: 80%;
  }
}
