/* ==========================================================================
   AuraFit Style Guide & Design System
   ========================================================================== */

/* Color & Theme Variables */
:root {
  /* Common Accent Colors */
  --primary: #4CAF50;
  --primary-hover: #43A047;
  --primary-rgb: 76, 175, 80;
  
  --secondary: #2196F3;
  --secondary-hover: #1E88E5;
  --secondary-rgb: 33, 150, 243;
  
  --danger: #EF5350;
  --danger-hover: #E53935;
  --danger-rgb: 239, 83, 80;

  --warning: #FFB300;
  --warning-rgb: 255, 179, 0;

  --cyan: #00BCD4;
  --cyan-rgb: 0, 188, 212;

  --purple: #9C27B0;
  --purple-rgb: 156, 39, 176;

  --orange: #FF9800;
  --orange-rgb: 255, 152, 0;
  
  /* Fonts */
  --font-sans: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Sidebar Settings */
  --sidebar-width: 260px;
  --topbar-height: 80px;

  /* Theme: Light Mode (Default) */
  --bg-primary: #F5F7FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EDF1F7;
  --border-color: #E2E8F0;
  --border-glass: rgba(226, 232, 240, 0.8);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -6px rgba(0, 0, 0, 0.04);
  --glow-shadow: 0 0 15px rgba(76, 175, 80, 0.15);
  
  --scroll-thumb: #CBD5E1;
  --scroll-track: #F1F5F9;
}

/* Theme: Dark Mode override */
body.dark-mode {
  --bg-primary: #0B0F19;
  --bg-secondary: #131B2E;
  --bg-tertiary: #1E293B;
  --border-color: #1E293B;
  --border-glass: rgba(30, 41, 59, 0.7);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --glow-shadow: 0 0 20px rgba(76, 175, 80, 0.25);
  
  --scroll-thumb: #334155;
  --scroll-track: #0F172A;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}
.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.btn-secondary-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.btn-secondary-outline:hover {
  background-color: var(--bg-tertiary);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-block {
  width: 100%;
}

/* Layout Container */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* ==========================================================================
   Sidebar Styling
   ========================================================================== */
.app-sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal);
}

.sidebar-header {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-color);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(76, 175, 80, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.logo-text span {
  color: var(--secondary);
}

.mobile-close-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.avatar-container {
  position: relative;
  width: 46px;
  height: 46px;
}

.user-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-secondary);
  z-index: 2;
  position: relative;
}

.avatar-ring {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: 1;
}

.profile-info {
  overflow: hidden;
}

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

.user-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sidebar-nav {
  flex: 1;
  padding: 24px 16px;
  overflow-y: auto;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.nav-link i {
  width: 20px;
  height: 20px;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.nav-link.active {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary);
  font-weight: 600;
}
body.dark-mode .nav-link.active {
  background-color: rgba(76, 175, 80, 0.15);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.auth-out-btn {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}
.auth-out-btn:hover {
  background-color: var(--border-color);
}

.auth-in-btn {
  background-color: rgba(239, 83, 80, 0.1);
  color: var(--danger);
}
.auth-in-btn:hover {
  background-color: rgba(239, 83, 80, 0.2);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition-normal);
}

/* Top Navigation Bar */
.top-bar {
  height: var(--topbar-height);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.top-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.greeting-container h2 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.greeting-container p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.theme-toggle-btn:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Notifications Button & Dropdown */
.notification-wrapper {
  position: relative;
}

.notification-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.notification-btn:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: var(--danger);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-secondary);
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  display: none;
  z-index: 110;
  overflow: hidden;
  animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-dropdown.active {
  display: block;
}

.dropdown-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dropdown-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
}
.dropdown-header button {
  background: none;
  border: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.notification-list {
  list-style: none;
  max-height: 280px;
  overflow-y: auto;
}

.notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background-color var(--transition-fast);
}
.notification-item:hover {
  background-color: var(--bg-primary);
}

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

.noti-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.noti-icon-info { background-color: rgba(33, 150, 243, 0.1); color: var(--secondary); }
.noti-icon-success { background-color: rgba(76, 175, 80, 0.1); color: var(--primary); }
.noti-icon-warning { background-color: rgba(255, 179, 0, 0.1); color: var(--warning); }
.noti-icon-danger { background-color: rgba(239, 83, 80, 0.1); color: var(--danger); }

.noti-content {
  flex: 1;
}
.noti-text {
  font-size: 0.82rem;
  color: var(--text-primary);
}
.noti-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.empty-notification {
  padding: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Date Selector Box */
.global-date-input {
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.global-date-input:focus {
  border-color: var(--primary);
}

/* Content Views Container */
.content-view-container {
  padding: 32px;
  flex: 1;
}

.view-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.view-panel.active-view {
  display: block;
}

/* Common Card Base */
.dashboard-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

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

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.card-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

/* ==========================================================================
   1. Landing Page Styles
   ========================================================================== */
.landing-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 80px 0;
}

.hero-content {
  max-width: 620px;
}

.badge-pill {
  display: inline-flex;
  padding: 6px 16px;
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Illustration Graphic */
.hero-illustration {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-graphic {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
}

.shadow-ring {
  width: 280px;
  height: 280px;
  border: 1px dashed var(--border-color);
  animation: rotate 20s linear infinite;
}

.circle-inner {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 70%);
}

.floating-dashboard-card {
  position: absolute;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--card-shadow);
  animation: float 6s ease-in-out infinite;
}

.floating-dashboard-card .card-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-dashboard-card .card-detail {
  display: flex;
  flex-direction: column;
}
.floating-dashboard-card .label {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.floating-dashboard-card .val {
  font-size: 0.9rem;
  font-weight: 700;
}

.card-steps {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}
.card-steps .card-icon { background-color: var(--primary); }

.card-health {
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}
.card-health .card-icon { background-color: var(--secondary); }

.card-water {
  top: 40%;
  right: 5%;
  animation-delay: 4s;
}
.card-water .card-icon { background-color: var(--cyan); }

/* Features Grid */
.landing-features {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 32px 24px;
  border-radius: 16px;
  transition: all var(--transition-normal);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(76, 175, 80, 0.3);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.color-green { background-color: rgba(76, 175, 80, 0.1); color: var(--primary); }
.color-blue { background-color: rgba(33, 150, 243, 0.1); color: var(--secondary); }
.color-purple { background-color: rgba(156, 39, 176, 0.1); color: var(--purple); }
.color-red { background-color: rgba(239, 83, 80, 0.1); color: var(--danger); }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Benefits Section */
.landing-benefits {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}

.benefits-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.benefits-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 24px;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.list-bullet {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.list-bullet i {
  width: 22px;
  height: 22px;
}

/* Footer styling */
.landing-footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-team {
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   2. Login/Register Tabbed Card
   ========================================================================== */
.auth-card {
  max-width: 480px;
  margin: 60px auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.auth-tab {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.auth-tab.active {
  color: var(--primary);
  background-color: var(--bg-secondary);
  border-bottom: 2px solid var(--primary);
}

.auth-form {
  padding: 40px;
  display: none;
}
.auth-form.active-form {
  display: block;
}

.auth-form h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.input-icon-wrapper input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.input-icon-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.validation-error {
  font-size: 0.78rem;
  color: var(--danger);
  display: block;
  margin-top: 4px;
  min-height: 16px;
}

.validation-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.password-strength {
  height: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.strength-fill {
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--danger);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.88rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
  color: var(--text-secondary);
}

.checkbox-container input {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all var(--transition-fast);
}

.checkbox-container input:checked + .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked + .checkmark::after {
  display: block;
}

.forgot-pwd {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
}
.forgot-pwd:hover {
  text-decoration: underline;
}

/* ==========================================================================
   3. Dashboard Layout & Cards
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Overall Health Score Ring */
.health-score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.health-gauge-container {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 10px 0 24px 0;
}

.health-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: var(--bg-tertiary);
  stroke-width: 8px;
}

.gauge-fill {
  fill: none;
  stroke: url(#healthGrad); /* Set by browser/JS style */
  stroke: var(--primary);
  stroke-width: 8px;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-in-out;
}

.gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-text span:first-child {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.gauge-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.score-summary-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Stats Cards Grid */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all var(--transition-normal);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-light-green { background-color: rgba(76, 175, 80, 0.1); }
.text-green { color: var(--primary); }
.border-green:hover { border-color: rgba(76, 175, 80, 0.3); }

.bg-light-blue { background-color: rgba(33, 150, 243, 0.1); }
.text-blue { color: var(--secondary); }
.border-blue:hover { border-color: rgba(33, 150, 243, 0.3); }

.bg-light-red { background-color: rgba(239, 83, 80, 0.1); }
.text-red { color: var(--danger); }
.border-red:hover { border-color: rgba(239, 83, 80, 0.3); }

.bg-light-cyan { background-color: rgba(0, 188, 212, 0.1); }
.text-cyan { color: var(--cyan); }
.border-cyan:hover { border-color: rgba(0, 188, 212, 0.3); }

.bg-light-purple { background-color: rgba(156, 39, 176, 0.1); }
.text-purple { color: var(--purple); }
.border-purple:hover { border-color: rgba(156, 39, 176, 0.3); }

.bg-light-orange { background-color: rgba(255, 152, 0, 0.1); }
.text-orange { color: var(--orange); }
.border-orange:hover { border-color: rgba(255, 152, 0, 0.3); }

.stat-info {
  flex: 1;
  overflow: hidden;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 2px 0 6px 0;
  white-space: nowrap;
}
.stat-value .unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-progress-bar {
  height: 5px;
  background-color: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  width: 0%;
  transition: width 0.8s ease-out;
}

.bg-green { background-color: var(--primary); }
.bg-blue { background-color: var(--secondary); }
.bg-red { background-color: var(--danger); }
.bg-cyan { background-color: var(--cyan); }
.bg-purple { background-color: var(--purple); }

.stat-goal-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.mood-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 4px;
}

/* Dashboard Footer Grid Row */
.dashboard-footer-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.preview-card, .tip-card {
  min-height: 150px;
}

.view-all-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover {
  text-decoration: underline;
}

.insight-preview-box {
  background-color: var(--bg-primary);
  border-left: 4px solid var(--primary);
  padding: 16px;
  border-radius: 0 12px 12px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 80px;
}

.insight-preview-box i {
  color: var(--primary);
  flex-shrink: 0;
}

.insight-preview-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.motivation-quote {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 12px;
  margin-top: 10px;
}

.motivation-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   4. Activity Tracker Views & Form Elements
   ========================================================================== */
.tracker-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-helper {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Custom Number Inputs style */
#activityLogForm input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
#activityLogForm input[type="number"]:focus {
  border-color: var(--primary);
}

.label-mood {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 12px !important;
}

/* Mood Emoji Selection Grid */
.mood-selector-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.mood-option {
  cursor: pointer;
}

.mood-option input {
  display: none;
}

.mood-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-secondary);
  text-align: center;
  transition: all var(--transition-fast);
}

.mood-emoji {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.mood-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.mood-option input:checked + .mood-circle {
  background-color: rgba(33, 150, 243, 0.08);
  border-color: var(--secondary);
  box-shadow: 0 4px 10px rgba(33, 150, 243, 0.15);
}

.hover-grow:hover {
  transform: translateY(-2px);
  border-color: var(--text-muted);
}

.log-date-label {
  padding: 4px 10px;
  background-color: var(--bg-tertiary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 5px;
}

/* Logs Table list */
.history-table-container {
  overflow-x: auto;
  margin-top: 10px;
  max-height: 480px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.history-table th, .history-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.history-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.history-table td {
  font-size: 0.9rem;
}

.history-table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.02);
}
body.dark-mode .history-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.empty-table {
  text-align: center;
  color: var(--text-muted);
  padding: 40px !important;
}

.btn-delete-log {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.btn-delete-log:hover {
  background-color: rgba(239, 83, 80, 0.1);
}

/* ==========================================================================
   5. Reports and Charts Layouts
   ========================================================================== */
.analytics-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.analytics-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
}
.analytics-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.chart-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.chart-container {
  flex: 1;
  position: relative;
  min-height: 250px;
  width: 100%;
}

/* ==========================================================================
   6. AI Insights & Gamified Badges
   ========================================================================== */
.insights-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.score-deep-card {
  margin-bottom: 24px;
}

.score-breakdown-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
}

.circular-score-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.score-breakdown-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--bg-tertiary);
  stroke-width: 6px;
}

.ring-fg {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6px;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease-in-out;
}

.circular-score-wrapper .score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.breakdown-details {
  flex: 1;
}

.breakdown-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.goal-progress-group {
  margin-bottom: 12px;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.bar-progress {
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 3px;
}

.breakdown-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Badges section */
.badge-count {
  font-size: 0.8rem;
  font-weight: 600;
  background-color: rgba(33, 150, 243, 0.1);
  color: var(--secondary);
  padding: 4px 10px;
  border-radius: 5px;
}

.badges-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 16px 8px;
  border-radius: 12px;
  transition: all var(--transition-fast);
  opacity: 0.4;
  filter: grayscale(100%);
}

.badge-item.unlocked {
  opacity: 1;
  filter: grayscale(0%);
  border-color: rgba(76, 175, 80, 0.3);
  background-color: rgba(76, 175, 80, 0.02);
}

.badge-item i {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

.badge-item.unlocked i {
  animation: bounce 2s infinite;
}

.badge-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-requirement {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* AI Bullet Recommendations */
.summary-card {
  margin-bottom: 24px;
}

.summary-para-wrapper p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.suggestions-list {
  list-style: none;
}

.suggestions-list li {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 12px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
}
.suggestions-list li:last-child {
  margin-bottom: 0;
}

.suggestion-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.suggestion-text {
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.suggestion-success { border-left: 4px solid var(--primary); }
.suggestion-success .suggestion-icon { background-color: rgba(76, 175, 80, 0.1); color: var(--primary); }

.suggestion-warning { border-left: 4px solid var(--danger); }
.suggestion-warning .suggestion-icon { background-color: rgba(239, 83, 80, 0.1); color: var(--danger); }

.suggestion-info { border-left: 4px solid var(--secondary); }
.suggestion-info .suggestion-icon { background-color: rgba(33, 150, 243, 0.1); color: var(--secondary); }

.empty-suggestion {
  align-items: center !important;
  color: var(--text-muted);
}
.empty-suggestion .suggestion-icon {
  background-color: var(--bg-tertiary);
  color: var(--text-muted);
}

/* ==========================================================================
   7. Profile Settings Layout
   ========================================================================== */
.profile-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.profile-details-card {
  display: flex;
  flex-direction: column;
}

.profile-header-edit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.avatar-edit-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
}

.avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.avatar-upload-label {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background-color var(--transition-fast);
}
.avatar-upload-label:hover {
  background-color: var(--secondary-hover);
}
.avatar-upload-label i {
  width: 16px;
  height: 16px;
}

.profile-header-edit h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-divider {
  border: none;
  border-bottom: 1px solid var(--border-color);
  margin: 10px 0 20px 0;
}

#profileInfoForm .form-group label {
  font-size: 0.85rem;
  font-weight: 600;
}
#profileInfoForm input[type="text"], 
#profileInfoForm input[type="number"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}
#profileInfoForm input[type="text"]:focus, 
#profileInfoForm input[type="number"]:focus {
  border-color: var(--primary);
}

/* Custom sliders customization */
.goals-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.range-input-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-input-wrapper input[type="range"] {
  flex: 1;
  height: 6px;
  background-color: var(--bg-tertiary);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
}

.range-value {
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 90px;
  text-align: right;
  color: var(--text-primary);
}

#goalsConfigForm .form-group {
  margin-bottom: 24px;
}

/* ==========================================================================
   Supporting Components: Toasters & Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.3s ease;
}

.toast-success { border-left-color: var(--primary); }
.toast-info { border-left-color: var(--secondary); }
.toast-warning { border-left-color: var(--warning); }
.toast-error { border-left-color: var(--danger); }

.toast-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.toast-success .toast-icon { color: var(--primary); }
.toast-info .toast-icon { color: var(--secondary); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-error .toast-icon { color: var(--danger); }

.toast-body {
  flex: 1;
}

.toast-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.toast-msg {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: inline-flex;
}
.toast-close-btn:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ==========================================================================
   Responsive Grid media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .tracker-layout {
    grid-template-columns: 1fr;
  }

  .insights-layout {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Toggle Navigation sidebar */
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.sidebar-open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  
  .mobile-close-btn {
    display: block;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  /* Landing page grids */
  .landing-hero {
    grid-template-columns: 1fr;
    padding-bottom: 40px;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-illustration {
    height: 320px;
    margin-top: 20px;
  }
  
  .benefits-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .charts-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-footer-row {
    grid-template-columns: 1fr;
  }

  .top-bar {
    padding: 0 16px;
  }

  .content-view-container {
    padding: 20px 16px;
  }
  
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .score-breakdown-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .mood-selector-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Print / Export CSS Rules
   ========================================================================== */
@media print {
  /* Hide interactive controls, side menus, and widgets */
  .app-sidebar,
  .top-bar,
  .toast-container,
  .history-actions,
  #exportPdfBtn,
  #loadMockDataBtn,
  .btn,
  form,
  .mood-selector-container {
    display: none !important;
  }

  /* Expand content workspace area to full sheet width */
  .main-content {
    margin-left: 0 !important;
    padding: 0 !important;
    background-color: white !important;
  }
  
  body {
    background-color: white !important;
    color: black !important;
    font-size: 10pt;
  }

  /* Ensure all views (Dashboard, reports, insights) print together cleanly */
  .view-panel {
    display: block !important;
    page-break-after: always;
  }
  
  /* Prevent landing and login/register from printing */
  #landing-view, 
  #auth-view {
    display: none !important;
  }

  /* Custom print cards styles */
  .dashboard-card, .stat-card {
    background-color: white !important;
    border: 1px solid #CCC !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    transform: none !important;
    margin-bottom: 20px !important;
  }

  .charts-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
  }

  .chart-card {
    min-height: 250px !important;
  }

  .history-table-container {
    max-height: none !important;
  }
}

/* ==========================================================================
   Splash Screen Styles
   ========================================================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  visibility: visible;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeIn 0.6s ease-out;
}

.splash-logo {
  font-size: 2.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 14px;
}

.splash-logo .logo-icon {
  width: 58px;
  height: 58px;
  background-color: rgba(76, 175, 80, 0.15);
  border-radius: 16px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo .logo-icon i {
  width: 32px;
  height: 32px;
}

.splash-loader-bar {
  width: 200px;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
}

.splash-loader-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: loadProgress 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.splash-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.8;
}

@keyframes loadProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

