:root {
  --primary-color: #4361ee;
  --secondary-color: #3a0ca3;
  --success-color: #4CAF50;
  --danger-color: #f44336;
  --warning-color: #ff9800;
  --text-color: #333;
  --light-text: #666;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --border-radius: 10px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --sidebar-width: 240px;
  --header-height: 70px;
  --mobile-nav-height: 60px;
  --font-size-small: 0.9rem;
  --font-size-medium: 1rem;
  --font-size-large: 1.1rem;
}

[data-theme="dark"] {
  --primary-color: #6c63ff;
  --secondary-color: #845ef7;
  --text-color: #e4e4e4;
  --light-text: #adb5bd;
  --bg-color: #121212;
  --card-bg: #1e1e1e;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  font-size: var(--font-size-medium);
  transition: background-color 0.3s ease;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
.app-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background-color: var(--card-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0;
}

.profile-avatar {
  cursor: pointer;
  position: relative;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition);
}

.avatar-circle:hover {
  transform: scale(1.05);
}

.streak-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background-color: #ff6d00;
  color: white;
  border-radius: 10px;
  padding: 2px 5px;
  font-size: 0.7rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Main Content Area */
.main-content {
  display: flex;
  flex: 1;
  position: relative;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--card-bg);
  padding: 1.5rem 0;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  height: calc(100vh - var(--header-height));
  position: sticky;
  top: var(--header-height);
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
  gap: 1rem;
}

.nav-item i {
  font-size: 1.2rem;
  width: 1.5rem;
  text-align: center;
}

.nav-item:hover {
  background-color: rgba(67, 97, 238, 0.05);
}

.nav-item.active {
  color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.1);
  border-left: 3px solid var(--primary-color);
}

/* Content Area */
.content-area {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Voice Controls */
.voice-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

/* Recording Indicator */
#recordingIndicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--danger-color);
  font-weight: bold;
}

.pulse {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--danger-color);
  animation: pulse 1.5s infinite;
}

.waveform {
  display: flex;
  align-items: center;
  height: 20px;
  gap: 2px;
}

.waveform .bar {
  width: 3px;
  background-color: var(--danger-color);
  border-radius: 3px;
  animation: waveform 1s ease-in-out infinite;
}

.waveform .bar:nth-child(1) { animation-delay: 0.0s; height: 8px; }
.waveform .bar:nth-child(2) { animation-delay: 0.2s; height: 15px; }
.waveform .bar:nth-child(3) { animation-delay: 0.4s; height: 10px; }
.waveform .bar:nth-child(4) { animation-delay: 0.6s; height: 18px; }
.waveform .bar:nth-child(5) { animation-delay: 0.8s; height: 12px; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.2); }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
  }
}

/* Transcript */
.transcript-container {
  margin-bottom: 2rem;
}

.transcript-box {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1rem;
  min-height: 100px;
  box-shadow: var(--shadow);
  margin-top: 0.5rem;
}

.placeholder {
  color: #aaa;
  font-style: italic;
}

/* Buttons */
.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
  font-size: var(--font-size-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.primary {
  background-color: var(--primary-color);
  color: white;
}

.primary:hover:not(:disabled) {
  background-color: #3050d8;
}

.secondary {
  background-color: #e9ecef;
  color: var(--text-color);
}

.secondary:hover:not(:disabled) {
  background-color: #dee2e6;
}

.success {
  background-color: var(--success-color);
  color: white;
}

.success:hover:not(:disabled) {
  background-color: #3d8b40;
}

.danger {
  background-color: var(--danger-color);
  color: white;
}

.danger:hover:not(:disabled) {
  background-color: #d32f2f;
}

.outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.outline:hover {
  background-color: rgba(67, 97, 238, 0.1);
}

.icon-btn {
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* Status Message */
.status-message {
  text-align: center;
  margin: 1rem 0;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  font-weight: bold;
}

.success {
  background-color: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
}

.error {
  background-color: rgba(244, 67, 54, 0.2);
  color: #c62828;
}

.loading {
  background-color: rgba(67, 97, 238, 0.2);
  color: #3050d8;
}

.warning {
  background-color: rgba(255, 152, 0, 0.2);
  color: #e65100;
}

/* Tasks Container */
.tasks-container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.tasks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-controls {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-item {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: var(--border-radius);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border-left: 4px solid #ccc;
  position: relative;
  overflow: hidden;
}

.task-item.priority-high {
  border-left-color: var(--danger-color);
}

.task-item.priority-medium {
  border-left-color: var(--warning-color);
}

.task-item.priority-low {
  border-left-color: var(--success-color);
}

.task-content {
  flex: 1;
}

.task-title {
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.task-description {
  color: var(--light-text);
  font-size: var(--font-size-small);
}

.task-actions {
  display: flex;
  gap: 0.5rem;
}

.task-check {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.completed .task-title {
  text-decoration: line-through;
  color: #888;
}

.completed .task-description {
  color: #aaa;
}

/* Enhanced Notes Styles */
/* Notes List View */
.notes-list-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notes-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.note-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 220px;
  display: flex;
  flex-direction: column;
}

.note-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.note-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.note-card-title {
  font-weight: bold;
  font-size: var(--font-size-large);
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}

.note-card-date {
  font-size: var(--font-size-small);
  color: var(--light-text);
}

.note-card-content {
  color: var(--text-color);
  overflow: hidden;
  flex: 1;
  position: relative;
}

.note-card-content:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(transparent, var(--card-bg));
}

.note-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: var(--font-size-small);
  color: var(--light-text);
}

.note-card-stats {
  display: flex;
  gap: 1rem;
}

.note-card-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  color: var(--light-text);
  grid-column: 1 / -1;
  box-shadow: var(--shadow);
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ddd;
}

/* Note Editor View */
.note-editor-view {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.editor-actions-left, .editor-actions-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.note-title-input {
  font-size: 1.5rem;
  border: none;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  background-color: transparent;
  color: var(--text-color);
  width: 100%;
  max-width: 500px;
}

.note-title-input:focus {
  outline: none;
  background-color: rgba(0, 0, 0, 0.02);
}

/* Quill Editor Styles */
#editorContainer {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 1;
}

.ql-toolbar.ql-snow {
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  padding: 0.8rem !important;
}

.ql-container.ql-snow {
  border: none !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-size: var(--font-size-medium) !important;
  height: 100% !important;
}

.ql-editor {
  padding: 1.5rem !important;
  min-height: 300px !important;
  max-height: 600px !important;
  overflow-y: auto !important;
  color: var(--text-color) !important;
}

/* Image Styling in Editor */
.ql-editor img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 4px;
}

.image-caption {
  text-align: center;
  color: var(--light-text);
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

/* AI Expand Controls */
.ai-expand-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
}

.expand-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.expand-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Floating Mic Button */
.floating-mic-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 100;
  font-size: 1.5rem;
  border: none;
}

.floating-mic-btn:hover {
  transform: scale(1.1);
  background-color: #3050d8;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow);
  max-height: 90vh;
  overflow-y: auto;
}

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

/* Voice Recording Modal */
.recording-modal-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--danger-color);
  font-weight: bold;
}

.voice-transcript {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: var(--border-radius);
  padding: 1rem;
  min-height: 100px;
  max-height: 200px;
  overflow-y: auto;
}

/* AI Preview Modal */
.ai-preview-content {
  max-width: 800px;
}

.ai-preview-container {
  margin: 1.5rem 0;
  position: relative;
  min-height: 200px;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.loading-spinner i {
  font-size: 2rem;
}

.ai-preview {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  border-left: 4px solid var(--primary-color);
}

/* Image Insert Modal */
.tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-weight: bold;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-panel {
  margin-bottom: 1.5rem;
}

.image-upload-area {
  border: 2px dashed #ddd;
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.image-upload-area:hover {
  border-color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.05);
}

.image-upload-area i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ddd;
}

.image-preview-area {
  text-align: center;
  margin: 1.5rem 0;
}

.image-preview-area img {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  min-width: 180px;
  z-index: 10;
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: var(--text-color);
}

.dropdown-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.text-danger {
  color: var(--danger-color);
}

/* Points Animation */
.points-animation {
  position: fixed;
  color: var(--success-color);
  font-weight: bold;
  pointer-events: none;
  animation: floatUp 1.5s ease-out forwards;
  z-index: 1000;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px);
  }
}

/* Dark mode specific adjustments */
[data-theme="dark"] .loading-spinner {
  background-color: rgba(30, 30, 30, 0.9);
}

[data-theme="dark"] .ql-snow .ql-stroke {
  stroke: #adb5bd;
}

[data-theme="dark"] .ql-snow .ql-fill {
  fill: #adb5bd;
}

[data-theme="dark"] .ql-snow .ql-picker {
  color: #e4e4e4;
}

[data-theme="dark"] .ql-snow .ql-picker-options {
  background-color: #1e1e1e;
}

[data-theme="dark"] .image-upload-area {
  border-color: #333;
}

[data-theme="dark"] .image-upload-area i {
  color: #555;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--mobile-nav-height);
  background-color: var(--card-bg);
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav .nav-item {
  flex-direction: column;
  padding: 0.5rem;
  border-left: none;
  border-top: 3px solid transparent;
}

.mobile-nav .nav-item.active {
  border-left: none;
  border-top: 3px solid var(--primary-color);
}

.mobile-nav .nav-item span {
  font-size: 0.7rem;
}

/* Drag-over style */
.drag-over {
  border-color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.05);
}

/* Offline Mode Styling */
.offline-mode .ai-expand-controls,
.offline-mode #expandSmall,
.offline-mode #expandMedium,
.offline-mode #expandLarge {
  opacity: 0.5;
  pointer-events: none;
}

.offline-mode .mic-disabled {
  background-color: #888;
  pointer-events: none;
}

/* PWA Install Prompt */
.install-prompt {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: var(--border-radius);
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  .sidebar {
    width: 70px;
  }
  
  .sidebar .nav-item span {
    display: none;
  }
  
  .sidebar .nav-item {
    justify-content: center;
  }
  
  .content-area {
    padding: 1.5rem;
  }
  
  .notes-cards {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .app-header {
    padding: 0 1rem;
  }
  
  .content-area {
    padding: 1rem;
    padding-bottom: calc(var(--mobile-nav-height) + 1rem);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .progress-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .level-badge, .streak-counter {
    width: 100%;
  }
  
  .editor-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .editor-actions-right {
    align-self: flex-end;
  }
  
  .ai-expand-controls {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .modal-actions button {
    width: 100%;
  }
  
  .floating-mic-btn {
    bottom: calc(var(--mobile-nav-height) + 1rem);
    right: 1rem;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .tasks-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .task-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .task-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.5rem;
  }
  
  .voice-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .avatar-edit {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .notes-cards {
    grid-template-columns: 1fr;
  }
  
  .note-title-input {
    font-size: 1.2rem;
  }
}

/* Offline page style */
.offline-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 2rem;
}

.offline-icon {
  font-size: 5rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

.offline-page h1 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.offline-page p {
  margin-bottom: 2rem;
  max-width: 500px;
}
/* AI Enhancement Indicator */
.ai-enhancement-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-size: var(--font-size-small);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  background-color: rgba(67, 97, 238, 0.1);
  padding: 0.5rem;
  border-radius: var(--border-radius);
}

/* Radio Group for Enhancement Mode */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-option input[type="radio"] {
  accent-color: var(--primary-color);
}

/* Level up animation */
.level-up-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.level-up-overlay.active {
  opacity: 1;
}

.level-up-content {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(67, 97, 238, 0.5);
  transform: scale(0.8);
  transition: transform 0.5s ease;
  max-width: 90%;
  width: 400px;
}

.level-up-overlay.active .level-up-content {
  transform: scale(1);
}

.level-up-content h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}