/* Theme Variables */

:root {
  /* Base Theme Properties */
  --primary-color: #4361ee;
  --primary-color-hover: #3a56d4;
  --secondary-color: #6c757d;
  --accent-color: #2dc653;
  --danger-color: #e63946;
  --warning-color: #ffb703;
  --info-color: #a8dadc;
}

/* Dark Theme (Default) */
[data-bs-theme="dark"] {
  /* Background Colors */
  --background-body: #121212;
  --background-card: #1e1e1e;
  --background-nav: #1e1e1e;
  --background-muted: #2d2d2d;
  
  /* Text Colors */
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-nav: rgba(255, 255, 255, 0.8);
  --text-nav-active: rgba(255, 255, 255, 1);
  
  /* Border Colors */
  --border-color: #2d2d2d;
  
  /* Shadows */
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.25);
  --navbar-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  --dropdown-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  --modal-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  
  /* Resume Preview Colors */
  --resume-preview-bg: #1e1e1e;
  --resume-preview-text: rgba(255, 255, 255, 0.95);
}

/* Light Theme */
[data-bs-theme="light"] {
  /* Background Colors */
  --background-body: #f8f9fa;
  --background-card: #ffffff;
  --background-nav: #ffffff;
  --background-muted: #e9ecef;
  
  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #495057;
  --text-muted: #6c757d;
  --text-nav: #495057;
  --text-nav-active: #212529;
  
  /* Border Colors */
  --border-color: #dee2e6;
  
  /* Shadows */
  --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --navbar-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --dropdown-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --modal-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
  
  /* Resume Preview Colors */
  --resume-preview-bg: #ffffff;
  --resume-preview-text: #212529;
}

/* Body Theme Styling */
body {
  background-color: var(--background-body);
  color: var(--text-primary);
}

/* Theme transition for smooth switches */
.theme-transition * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}