:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

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

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

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

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

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

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

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

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

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
:root {
  /* 🎆 VedhAI ULTIMATE Design System - Production Ready */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);
  
  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08);
  --color-bg-2: rgba(245, 158, 11, 0.08);
  --color-bg-3: rgba(34, 197, 94, 0.08);
  --color-bg-4: rgba(239, 68, 68, 0.08);
  --color-bg-5: rgba(147, 51, 234, 0.08);
  --color-bg-6: rgba(249, 115, 22, 0.08);
  --color-bg-7: rgba(236, 72, 153, 0.08);
  --color-bg-8: rgba(6, 182, 212, 0.08);
  
  /* Semantic Color Tokens */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  
  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  
  /* VedhAI Premium Color System */
  /* VedhAI Premium Color System (Enhanced) */
  --primary-teal: #00C9A7;
  --primary-teal-dark: #21808D;
  --primary-teal-light: #32B8C6;
  --primary-gold: #D4AF37;
  --primary-navy: #1B263B;
  
  /* Dark Backgrounds */
  --bg-dark: #0A0F1C;
  --bg-surface: #1A1F2E;
  --bg-card: rgba(26, 31, 46, 0.8);
  
  /* Neon Accents */
  --neon-cyan: #00FFFF;
  --neon-purple: #8A2BE2;
  --neon-green: #39FF14;
  --electric-blue: #007BFF;
  
  /* Text Colors */
  --text-white: #FFFFFF;
  --text-secondary: #B0B8C9;
  --text-muted: #6B7280;
  
  /* Gradients */
  --gradient-cyber: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--primary-teal));
  --gradient-holo: linear-gradient(45deg, #ff006e, var(--neon-cyan), var(--primary-gold), var(--neon-green));
  --gradient-card: linear-gradient(135deg, rgba(26, 31, 46, 0.9), rgba(16, 20, 32, 0.9));
  
  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Shadows & Effects */
  --shadow-neon: 0 0 20px currentColor, 0 0 40px currentColor;
  --shadow-glow: 0 0 30px rgba(0, 201, 167, 0.3);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --blur-glass: blur(20px);
  
  /* Transitions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  --transition-fast: cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}



/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 201, 167, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, #0A0F1C 0%, #1A1F2E 100%);
  z-index: -2;
}

.particle {
  position: absolute;
  background: var(--primary-teal);
  border-radius: 50%;
  animation: float 20s infinite linear;
  opacity: 0.6;
}

/* Particles will be created dynamically by JavaScript */
.particle {
  position: absolute;
  background: var(--primary-teal);
  border-radius: 50%;
  opacity: 0.8;
  animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

.particle:nth-child(even) {
  animation-direction: reverse;
  background: var(--neon-cyan);
}

.particle:nth-child(3n) {
  background: var(--primary-gold);
  animation-duration: 20s;
}

.particle-old:nth-child(1) {
  width: 2px;
  height: 2px;
  top: 10%;
  left: 10%;
  animation-duration: 15s;
}

.particle:nth-child(2) {
  width: 3px;
  height: 3px;
  top: 20%;
  left: 70%;
  animation-duration: 25s;
  background: var(--neon-cyan);
}

.particle:nth-child(3) {
  width: 1px;
  height: 1px;
  top: 60%;
  left: 30%;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  width: 4px;
  height: 4px;
  top: 80%;
  left: 80%;
  animation-duration: 22s;
  background: var(--primary-gold);
}

.particle:nth-child(5) {
  width: 2px;
  height: 2px;
  top: 40%;
  left: 90%;
  animation-duration: 16s;
}

.particle:nth-child(6) {
  width: 3px;
  height: 3px;
  top: 30%;
  left: 50%;
  animation-duration: 28s;
  background: var(--neon-purple);
}

.particle:nth-child(7) {
  width: 1px;
  height: 1px;
  top: 70%;
  left: 20%;
  animation-duration: 19s;
}

.particle:nth-child(8) {
  width: 2px;
  height: 2px;
  top: 90%;
  left: 60%;
  animation-duration: 24s;
}

.particle:nth-child(9) {
  width: 3px;
  height: 3px;
  top: 50%;
  left: 80%;
  animation-duration: 17s;
  background: var(--neon-green);
}

.particle:nth-child(10) {
  width: 1px;
  height: 1px;
  top: 15%;
  left: 40%;
  animation-duration: 21s;
}

/* PREMIUM ANIMATIONS */

/* 1. Morphing Blob Shapes */
@keyframes morph {
  0%, 100% { 
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: translate(0, 0) scale(1);
  }
  25% { 
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    transform: translate(20px, -20px) scale(1.1);
  }
  50% { 
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% { 
    border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%;
    transform: translate(10px, -10px) scale(1.05);
  }
}

.blob {
  position: fixed;
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, var(--color-teal-300), var(--color-teal-500));
  opacity: 0.15;
  filter: blur(40px);
  animation: morph 8s infinite ease-in-out;
  z-index: -1;
  pointer-events: none;
}

.blob-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.blob-2 {
  bottom: 20%;
  right: 15%;
  animation-delay: -4s;
  animation-direction: reverse;
}

/* 2. Text Gradient Shimmer */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--color-teal-300), var(--color-teal-500), var(--color-teal-300));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* 3. Floating Elements */
@keyframes float-vertical {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating {
  animation: float-vertical 3s ease-in-out infinite;
}

/* 4. Button Glow Effect */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-glow:hover::before {
  left: 100%;
}

/* 5. Ripple Effect */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* 6. Confetti Animation */
@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  z-index: 9999;
  animation: confetti-fall 3s linear;
  pointer-events: none;
}

/* 7. Progress Bar Glow */
@keyframes progressGlow {
  0% { box-shadow: 0 0 5px var(--color-teal-300); }
  50% { box-shadow: 0 0 20px var(--color-teal-300), 0 0 30px var(--color-teal-500); }
  100% { box-shadow: 0 0 5px var(--color-teal-300); }
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--color-teal-300), var(--color-teal-500));
  animation: progressGlow 2s ease-in-out infinite;
}

/* 8. Skeleton Loading Shimmer */
@keyframes skeleton-loading {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
  background-size: 200px 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) translateX(20px) rotate(360deg);
    opacity: 0;
  }
}

/* 🔥 Firebase Auth Container - VISIBLE BY DEFAULT */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-lg);
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Remove auth fade in - show immediately */

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: var(--space-2xl);
  text-align: center;
  animation: authSlideUp 0.8s ease-out, cardGlow 3s ease-in-out infinite;
  border: 1px solid rgba(0, 201, 167, 0.3);
  box-shadow: 
    0 0 30px rgba(0, 201, 167, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

@keyframes cardGlow {
  0%, 100% {
    box-shadow: 
      0 0 30px rgba(0, 201, 167, 0.2),
      0 20px 40px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 0 50px rgba(0, 201, 167, 0.4),
      0 25px 50px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 201, 167, 0.1), transparent);
  animation: cardShine 3s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes cardShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

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

.auth-form {
  margin: var(--space-xl) 0;
}

.auth-form .form-group {
  margin-bottom: var(--space-md);
  text-align: left;
}

.auth-status {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.auth-status.success {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.auth-status.error {
  background: rgba(255, 0, 110, 0.1);
  color: #ff006e;
  border: 1px solid rgba(255, 0, 110, 0.3);
}

.auth-status.info {
  background: rgba(0, 201, 167, 0.1);
  color: var(--primary-teal);
  border: 1px solid rgba(0, 201, 167, 0.3);
}



/* Page System - Auth shows by default, Main app hidden */
.page {
  min-height: 100vh;
}

#auth-page {
  display: flex !important; /* Always visible by default */
}

#main-app {
  display: none; /* Hidden by default */
}

#main-app.active {
  display: flex;
}

#auth-page.hidden {
  display: none !important;
}

/* 🔍 DIAGNOSTIC MODE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0A0F1C;
  color: #fff;
  padding: 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.header {
  background: #1A1F2E;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 2px solid #00C9A7;
}

.header h1 {
  font-size: 24px;
  color: #00C9A7;
  margin-bottom: 8px;
}

.header p {
  color: #B0B8C9;
  font-size: 14px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.panel {
  background: #1A1F2E;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.panel h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #00C9A7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  margin-bottom: 8px;
}

.status-label {
  color: #B0B8C9;
}

.status-value {
  font-weight: 600;
}

.status-success {
  color: #4CAF50;
}

.status-error {
  color: #F44336;
}

.status-pending {
  color: #FFC107;
}

.btn-test {
  width: 100%;
  padding: 16px;
  background: white;
  color: #333;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.btn-test:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

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

.log-panel {
  grid-column: 1 / -1;
  max-height: 400px;
  overflow-y: auto;
  background: #000;
  padding: 16px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}

.log-entry {
  padding: 8px;
  margin-bottom: 4px;
  border-radius: 4px;
  border-left: 3px solid #666;
}

.log-info {
  border-left-color: #2196F3;
  background: rgba(33, 150, 243, 0.05);
}

.log-success {
  border-left-color: #4CAF50;
  background: rgba(76, 175, 80, 0.05);
}

.log-error {
  border-left-color: #F44336;
  background: rgba(244, 67, 54, 0.1);
}

.log-warning {
  border-left-color: #FFC107;
  background: rgba(255, 193, 7, 0.05);
}

.log-timestamp {
  color: #666;
  font-size: 11px;
  margin-right: 8px;
}

.test-section {
  background: #1A1F2E;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.test-section h3 {
  margin-bottom: 16px;
  color: #00C9A7;
}

.icon-success {
  color: #4CAF50;
}

.icon-error {
  color: #F44336;
}

.icon-pending {
  color: #FFC107;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  body {
    padding: 10px;
  }
  
  .header {
    padding: 15px;
  }
  
  .panel {
    padding: 15px;
  }
  
  .btn-test {
    padding: 12px;
    font-size: 14px;
  }
}

/* 🎆 ULTIMATE Enhanced Glass Card Effect with 3D Tilt */
.glass-card {
  background: rgba(26, 31, 46, 0.3);
  backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 201, 167, 0.1), 
    transparent);
  transition: left 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  background: rgba(26, 31, 46, 0.4);
  border-color: rgba(0, 201, 167, 0.3);
  box-shadow: 
    0 0 30px rgba(0, 201, 167, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: perspective(1000px) rotateX(2deg) rotateY(5deg) scale(1.02) translateY(-5px);
}

.glass-card.tilt-active {
  transition: transform 0.1s ease-out;
}

/* Original Glass Card Effect */
.glass-card {
  background: rgba(26, 31, 46, 0.3);
  backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(26, 31, 46, 0.4);
  border-color: rgba(0, 201, 167, 0.3);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

/* Login Page */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--space-lg);
  position: relative;
  z-index: 1;
}

.login-card {
  width: 100%;
  max-width: 400px;
  padding: var(--space-2xl);
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

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

.logo-section {
  margin-bottom: var(--space-xl);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
  animation: logoGlow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 20px rgba(0, 201, 167, 0.5);
}

@keyframes logoGlow {
  from {
    text-shadow: 0 0 20px rgba(0, 201, 167, 0.5);
    transform: scale(1);
  }
  to {
    text-shadow: 
      0 0 30px rgba(0, 201, 167, 0.8),
      0 0 40px rgba(50, 184, 198, 0.6);
    transform: scale(1.02);
  }
}

.ai-text {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: var(--shadow-neon);
}

.tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0.9;
}

.login-form {
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--text-white);
  font-size: 0.9rem;
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 2px rgba(0, 201, 167, 0.2);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-teal);
}

.btn-full {
  width: 100%;
}

.neon-btn {
  position: relative;
  background: var(--gradient-cyber);
  color: var(--text-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 0 20px rgba(0, 201, 167, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(0, 201, 167, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(0, 201, 167, 0.5),
      0 0 40px rgba(50, 184, 198, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.neon-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-smooth);
}

.neon-btn:hover::before {
  left: 100%;
}





.forgot-link {
  color: var(--primary-teal);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.forgot-link:hover {
  color: var(--primary-teal-light);
}

/* Main App Layout */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-teal);
}

.app-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.header-center {
  flex: 1;
  max-width: 500px;
  margin: 0 var(--space-lg);
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-container i {
  position: absolute;
  left: var(--space-md);
  color: var(--text-muted);
  z-index: 1;
}

.global-search {
  width: 100%;
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-2xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.global-search:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-teal);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.notification-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.notification-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-teal);
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #ff006e;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-teal);
}

.user-name {
  font-weight: 500;
  color: var(--text-white);
}

.logout-btn, .admin-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.logout-btn:hover, .admin-toggle:hover {
  color: var(--primary-teal);
  background: rgba(255, 255, 255, 0.1);
}

/* Notification Dropdown */
.notification-dropdown {
  position: absolute;
  top: 60px;
  right: var(--space-lg);
  width: 320px;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: none;
  z-index: 1001;
}

.notification-dropdown.active {
  display: block;
  animation: fadeInDown 0.3s ease-out;
}

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

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.mark-all-read {
  background: none;
  border: none;
  color: var(--primary-teal);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.mark-all-read:hover {
  color: var(--primary-teal-light);
}

.notification-list {
  max-height: 300px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
  background: rgba(0, 201, 167, 0.05);
}

.neon-icon {
  color: var(--primary-teal);
  text-shadow: 0 0 10px currentColor;
}

.notification-content {
  flex: 1;
}

.notification-content p {
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
}

.notification-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* App Body */
.app-body {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: var(--blur-glass);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1000;
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-teal);
}

/* Mobile Sidebar Styles */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    height: 100vh;
    z-index: 2000;
    background: rgba(26, 31, 46, 0.98);
    transition: left var(--transition-smooth);
  }
  
  .sidebar.mobile-active {
    left: 0;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .main-content {
    margin-left: 0;
    width: 100%;
  }
}

.sidebar.collapsed {
  width: 70px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: 0 var(--space-md);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.nav-item.active {
  background: rgba(0, 201, 167, 0.1);
  color: var(--primary-teal);
  border-left: 3px solid var(--primary-teal);
}

.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

.sidebar.collapsed .nav-item span {
  display: none;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: var(--space-xl);
  overflow-x: auto;
  margin-left: 0;
  transition: margin-left var(--transition-smooth);
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

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

.page-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  color: var(--text-white);
}

.highlight {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dashboard */
.welcome-section {
  margin-bottom: var(--space-xl);
}

.ai-greeting {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: var(--space-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-card {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-cyber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-white);
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.quick-actions, .skill-progress, .recent-activity {
  padding: var(--space-lg);
}

.quick-actions h3, .skill-progress h3, .recent-activity h3 {
  margin-bottom: var(--space-md);
  font-weight: 600;
  color: var(--text-white);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.action-btn:hover {
  background: rgba(0, 201, 167, 0.1);
  color: var(--primary-teal);
}

/* Progress Rings */
.progress-rings {
  display: flex;
  justify-content: space-around;
  gap: var(--space-md);
}

.progress-ring {
  text-align: center;
  position: relative;
}

.progress-svg {
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 4;
}

.progress-bar {
  fill: none;
  stroke: var(--primary-teal);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1s ease-in-out;
  filter: drop-shadow(0 0 5px currentColor);
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-white);
}

.progress-ring p {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-teal);
}

.activity-icon {
  color: var(--primary-teal);
  width: 20px;
  text-align: center;
}

.activity-item p {
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
}

.activity-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Profile Page */
.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.profile-card {
  padding: var(--space-xl);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar-large {
  position: relative;
}

.profile-avatar-large img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary-teal);
}

.avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--primary-teal);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.avatar-edit:hover {
  background: var(--primary-teal-dark);
  transform: scale(1.1);
}

.profile-info h2 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.profile-title {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.profile-stats {
  display: flex;
  gap: var(--space-lg);
}

.profile-stats .stat {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.profile-stats .stat strong {
  color: var(--primary-teal);
}

.profile-details h3 {
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Profile Sidebar */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.skill-tags, .qr-code, .portfolio-link {
  padding: var(--space-lg);
}

.skill-tags h3, .qr-code h3, .portfolio-link h3 {
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.skill-tag {
  padding: var(--space-sm) var(--space-md);
  background: var(--gradient-cyber);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 500;
}

.qr-placeholder {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.qr-placeholder i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.link-container {
  display: flex;
  gap: var(--space-sm);
}

.copy-btn {
  padding: var(--space-md);
  min-width: auto;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 90px;
  right: var(--space-lg);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  color: var(--text-white);
  min-width: 300px;
  animation: slideInRight 0.3s ease-out;
}

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

.toast.success {
  border-left: 4px solid var(--neon-green);
}

.toast.error {
  border-left: 4px solid #ff006e;
}

.toast.info {
  border-left: 4px solid var(--primary-teal);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: var(--blur-glass);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-weight: 600;
  color: var(--text-white);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: var(--space-lg);
}

.modal-footer {
  padding: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
}

/* Course Difficulty Badges */
.course-difficulty {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.course-difficulty.beginner {
  background: rgba(57, 255, 20, 0.2);
  color: var(--neon-green);
}

.course-difficulty.intermediate {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.course-difficulty.advanced {
  background: rgba(255, 0, 110, 0.2);
  color: #ff006e;
}

.course-duration {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.course-title {
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.course-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.course-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.course-actions {
  margin-top: auto;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.course-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.course-filters {
  display: flex;
  gap: var(--space-sm);
}

/* Projects Section */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

/* Certificates Section */
.certificates-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.certificate-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.certificate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.certificate-icon {
  font-size: 2rem;
  color: var(--primary-gold);
}

.blockchain-badge {
  background: rgba(0, 201, 167, 0.2);
  color: var(--primary-teal);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.certificate-name {
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.certificate-date {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.certificate-hash {
  margin-bottom: var(--space-md);
}

.certificate-hash label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.hash-code {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--primary-teal);
}

.qr-code-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-md);
}

.qr-code-placeholder i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.certificate-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: auto;
}

.verification-section {
  padding: var(--space-lg);
}

.verification-form {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.verification-form input {
  flex: 1;
}

/* Career Section */
.career-intro {
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  text-align: center;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.career-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.career-match {
  text-align: center;
}

.match-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.match-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.market-trend {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.market-trend.rising {
  background: rgba(57, 255, 20, 0.2);
  color: var(--neon-green);
}

.career-title {
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: 1.2rem;
}

.career-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.career-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.career-stats .stat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
}

.career-stats i {
  color: var(--primary-teal);
  width: 16px;
}

.required-skills h4 {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.required-skills .skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.career-actions {
  margin-top: auto;
}

.career-trends {
  padding: var(--space-lg);
}

.trends-chart {
  position: relative;
  height: 300px;
}

/* School Dashboard */
.school-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.school-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.students-table {
  padding: var(--space-lg);
}

.table-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.table-controls {
  display: flex;
  gap: var(--space-sm);
}

.students-list {
  overflow-x: auto;
}

.student-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.student-row.header {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.student-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.student-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary-teal);
}

.progress-bar.small {
  width: 80px;
  height: 4px;
}

.school-analytics {
  padding: var(--space-lg);
}

.analytics-chart {
  position: relative;
  height: 250px;
  margin-bottom: var(--space-lg);
}

.top-performers h4 {
  margin-bottom: var(--space-md);
}

.performers-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.performer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}

.performer-item .rank {
  font-weight: 600;
  color: var(--primary-teal);
  min-width: 30px;
}

.performer-item .name {
  flex: 1;
  text-align: center;
}

.performer-item .score {
  font-weight: 600;
  color: var(--primary-gold);
}

.admin-required {
  padding: var(--space-2xl);
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-header {
    display: none; /* Hide header on mobile as we have sidebar header */
  }
  
  /* Sidebar styles already handled above */
  
  .main-content {
    padding: var(--space-md);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .progress-rings {
    flex-direction: column;
    align-items: center;
  }
  
  .signup-form .form-row {
    grid-template-columns: 1fr;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  
  .school-content-grid {
    grid-template-columns: 1fr;
  }
  
  .course-filters,
  .leaderboard-filters {
    flex-wrap: wrap;
  }
  
  .verification-form {
    flex-direction: column;
  }
  
  .table-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .courses-grid,
  .projects-grid,
  .certificates-grid,
  .career-grid {
    grid-template-columns: 1fr;
  }
  
  .notification-dropdown {
    right: var(--space-sm);
    left: var(--space-sm);
    width: auto;
  }
  
  .auth-card {
    margin: var(--space-md);
    padding: var(--space-lg);
  }
  
  .blob {
    width: 150px;
    height: 150px;
  }
  
  .shimmer-text {
    font-size: 2rem;
  }
  
  .floating {
    animation-duration: 4s;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: var(--space-lg);
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .courses-header,
  .projects-header {
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .career-header {
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
  }
  
  .career-stats {
    font-size: 0.8rem;
  }
  
  .table-header,
  .table-row,
  .student-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xs);
  }
  
  .student-info {
    justify-content: center;
  }
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid var(--primary-teal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Button Loading State */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:disabled .spinner {
  margin-right: var(--space-sm);
}

/* Certificate Verification Results */
.verification-success {
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  text-align: center;
  margin-top: var(--space-md);
}

.verification-success i {
  font-size: 2rem;
  color: var(--neon-green);
  margin-bottom: var(--space-md);
}

.verification-error {
  background: rgba(255, 0, 110, 0.1);
  border: 1px solid rgba(255, 0, 110, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  text-align: center;
  margin-top: var(--space-md);
}

.verification-error i {
  font-size: 2rem;
  color: #ff006e;
  margin-bottom: var(--space-md);
}

.cert-details {
  margin-top: var(--space-md);
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
}

.cert-details p {
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
}

/* Signup Modal Styles */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.signup-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.signup-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Project Upload Styles */
.upload-zone {
  margin-bottom: var(--space-xl);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.upload-zone:hover {
  background: rgba(26, 31, 46, 0.5);
}

.upload-content {
  text-align: center;
  padding: var(--space-2xl);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.upload-content:hover {
  border-color: var(--primary-teal);
}

.upload-content i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.upload-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-white);
}

.project-form {
  margin-top: var(--space-xl);
  text-align: left;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* Course Progress Bars */
.course-progress {
  margin-top: var(--space-md);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.progress-fill {
  height: 100%;
  background: var(--gradient-cyber);
  transition: width 0.3s ease;
}

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

/* Project Grid Enhancements */
.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-image:hover .project-overlay {
  opacity: 1;
}

.project-image:hover img {
  transform: scale(1.1);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.project-category {
  background: var(--primary-teal);
  color: var(--text-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.project-date {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.project-title {
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.project-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.project-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Leaderboard Enhancements */
.leaderboard-filters {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.leaderboard-stats {
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
}

.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-teal);
}

.leaderboard-table {
  padding: 0;
  overflow-x: auto;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 80px 2fr 2fr 1fr 1fr;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-header {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.table-row.current-user {
  background: rgba(0, 201, 167, 0.1);
  border-left: 3px solid var(--primary-teal);
}

.medal {
  font-size: 1.2rem;
}

.medal.gold { color: #FFD700; }
.medal.silver { color: #C0C0C0; }
.medal.bronze { color: #CD7F32; }

/* Badge Showcase */
.badges-showcase {
  padding: var(--space-lg);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.badge-item.earned {
  background: rgba(0, 201, 167, 0.1);
  border-color: rgba(0, 201, 167, 0.3);
}

.badge-item.locked {
  opacity: 0.5;
}

.badge-icon {
  font-size: 2rem;
  width: 60px;
  text-align: center;
}

.badge-info h4 {
  margin-bottom: var(--space-xs);
  color: var(--text-white);
}

.badge-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.earned-checkmark {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--neon-green);
  color: var(--bg-dark);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Analytics Enhancements */
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.ai-recommendations {
  grid-column: 1 / -1;
}

.chart-wrapper {
  position: relative;
  height: 300px;
  padding: var(--space-md);
}

.skill-breakdown {
  padding: var(--space-lg);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

.skill-name {
  font-weight: 500;
}

.skill-score {
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.skill-score.strength {
  background: rgba(57, 255, 20, 0.2);
  color: var(--neon-green);
}

.skill-score.good {
  background: rgba(0, 201, 167, 0.2);
  color: var(--primary-teal);
}

.skill-score.needs_improvement {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.skill-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background: var(--gradient-cyber);
  transition: width 0.5s ease;
}

.skill-level {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.recommendation-section {
  margin-bottom: var(--space-lg);
}

.recommendation-section h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--primary-teal);
}

.recommendation-section ul {
  list-style: none;
  padding: 0;
}

.recommendation-section li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: var(--text-secondary);
}

.recommendation-section li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
}

/* Firebase Connection Status */
.connection-status {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(26, 31, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  z-index: 2000;
  display: none;
}

.connection-status.offline {
  display: block;
  color: #ff006e;
  border-color: rgba(255, 0, 110, 0.3);
}

.connection-status.reconnecting {
  display: block;
  color: #ffc107;
  border-color: rgba(255, 193, 7, 0.3);
}

/* Debug Panel */
.debug-panel {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 2000;
}

.debug-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cyber);
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.debug-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-smooth);
}

.debug-toggle:hover::before {
  left: 100%;
}

.debug-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow), var(--shadow-card), 0 0 30px rgba(0, 201, 167, 0.5);
}

.debug-content {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 400px;
  max-height: 600px;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  overflow: hidden;
  animation: debugSlideUp 0.3s ease-out;
}

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

.debug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: rgba(0, 201, 167, 0.1);
  border-bottom: 1px solid rgba(0, 201, 167, 0.2);
}

.debug-header h3 {
  margin: 0;
  color: var(--primary-teal);
  font-size: 1rem;
}

.debug-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.debug-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.debug-body {
  max-height: 500px;
  overflow-y: auto;
  padding: var(--space-md);
}

.debug-section {
  margin-bottom: var(--space-lg);
}

.debug-section h4 {
  margin-bottom: var(--space-sm);
  color: var(--primary-teal);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.status-indicators {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.status-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.status-value {
  color: var(--text-white);
  font-family: var(--font-mono);
}

.status-value.success {
  color: var(--neon-green);
}

.status-value.error {
  color: #ff006e;
}

.status-value.warning {
  color: #ffc107;
}

.operations-log, .console-logs {
  max-height: 150px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.log-entry {
  margin-bottom: var(--space-xs);
  padding: var(--space-xs);
  border-left: 2px solid var(--primary-teal);
  background: rgba(255, 255, 255, 0.02);
}

.log-entry.error {
  border-left-color: #ff006e;
  background: rgba(255, 0, 110, 0.05);
}

.log-entry.success {
  border-left-color: var(--neon-green);
  background: rgba(57, 255, 20, 0.05);
}

.log-entry.warning {
  border-left-color: #ffc107;
  background: rgba(255, 193, 7, 0.05);
}

.log-time {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.log-message {
  color: var(--text-white);
  margin-top: var(--space-xs);
}

.no-operations, .no-logs {
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.user-debug-info {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font-size: 0.8rem;
}

.user-debug-info p {
  margin-bottom: var(--space-xs);
  display: flex;
  justify-content: space-between;
}

.user-debug-info strong {
  color: var(--primary-teal);
}

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

.text-center {
  text-align: center;
}

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

.mb-0 {
  margin-bottom: 0;
}

.mt-lg {
  margin-top: var(--space-lg);
}

/* 🎆 Production Ready Enhancements */
.firebase-connected {
  animation: firebaseGlow 2s ease-in-out infinite;
}

@keyframes firebaseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 5px rgba(0, 201, 167, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(0, 201, 167, 0.6));
  }
}

.production-badge {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(45deg, #00C9A7, #32B8C6);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 10000;
  animation: badgePulse 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 201, 167, 0.3);
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(0, 201, 167, 0.4), 0 0 30px rgba(212, 175, 55, 0.3);
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 6px 25px rgba(0, 201, 167, 0.6), 0 0 40px rgba(212, 175, 55, 0.5);
  }
}

.fallback-demo {
  background: linear-gradient(45deg, rgba(212, 175, 55, 0.2), rgba(255, 193, 7, 0.2));
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  animation: demoShimmer 2s ease-in-out infinite;
}

@keyframes demoShimmer {
  0%, 100% {
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  }
}

/* Enhanced Loading States */
.loading-shimmer {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 201, 167, 0.1) 50%, 
    transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Advanced Particle Effects */
.particle-enhanced {
  background: radial-gradient(circle, rgba(0, 201, 167, 0.8) 0%, transparent 70%);
  animation: particleEnhanced 20s linear infinite;
}

@keyframes particleEnhanced {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(90vh) translateX(10px) rotate(36deg) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateY(10vh) translateX(-10px) rotate(324deg) scale(0.8);
  }
  100% {
    transform: translateY(-10vh) translateX(0) rotate(360deg) scale(0);
    opacity: 0;
  }
}

/* Premium Glass Effects */
.glass-enhanced {
  background: rgba(26, 31, 46, 0.1);
  backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-enhanced:hover {
  background: rgba(26, 31, 46, 0.2);
  backdrop-filter: blur(25px) saturate(150%);
  border-color: rgba(0, 201, 167, 0.3);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 201, 167, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Advanced Neon Effects */
.neon-enhanced {
  color: #00C9A7;
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor,
    0 0 20px currentColor;
  animation: neonFlicker 4s ease-in-out infinite;
}

@keyframes neonFlicker {
  0%, 100% {
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      0 0 20px currentColor;
  }
  2% {
    text-shadow: none;
  }
  4% {
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      0 0 20px currentColor;
  }
  6% {
    text-shadow: none;
  }
  8%, 98% {
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor,
      0 0 20px currentColor;
  }
}

/* Success States with Celebration */
.success-celebration {
  animation: successBounce 0.6s ease-out, successGlow 2s ease-in-out;
}

@keyframes successBounce {
  0% { transform: scale(0.3) rotate(-10deg); }
  50% { transform: scale(1.05) rotate(5deg); }
  70% { transform: scale(0.9) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes successGlow {
  0% { box-shadow: 0 0 0 rgba(57, 255, 20, 0); }
  50% { box-shadow: 0 0 30px rgba(57, 255, 20, 0.6); }
  100% { box-shadow: 0 0 0 rgba(57, 255, 20, 0); }
}

/* Premium Card Interactions */
.card-glass {
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 201, 167, 0.1), transparent);
  transition: left 0.8s ease;
  z-index: 1;
  pointer-events: none;
}

.card-glass:hover::before {
  left: 100%;
}

.card-glass:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(5deg) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 201, 167, 0.1),
    0 0 30px rgba(0, 201, 167, 0.2),
    var(--shadow-card);
}

/* Premium Progress Bars */
.progress-fill {
  position: relative;
  overflow: hidden;
}

.progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* 3D Card Tilt Effect */
.tilt-card {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

/* Smooth Page Transitions */
.content-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.content-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Neon Effects */
.neon-icon {
  color: var(--primary-teal);
  text-shadow: 
    0 0 5px currentColor,
    0 0 10px currentColor,
    0 0 15px currentColor;
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  from {
    text-shadow: 
      0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 15px currentColor;
  }
  to {
    text-shadow: 
      0 0 2px currentColor,
      0 0 5px currentColor,
      0 0 8px currentColor;
  }
}

/* Toast Enhancements */
.toast {
  animation: toastSlideIn 0.3s ease-out, toastFadeOut 0.3s ease-in 3.5s;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.toast:hover::before {
  left: 100%;
}

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

@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* 🎯 NEW SECTION STYLES */

/* Page Headers */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: var(--space-sm);
}

.filter-tabs, .tab-btn {
  display: flex;
  gap: var(--space-sm);
}

.tab-btn {
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
}

/* Profile Section */
.profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
}

.profile-main-card {
  padding: var(--space-xl);
  text-align: center;
}

.profile-avatar-section {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.profile-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--primary-teal);
}

.avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--primary-teal);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
}

.avatar-edit-btn:hover {
  background: var(--primary-teal-dark);
  transform: scale(1.1);
}

.profile-name {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  color: var(--text-white);
}

.profile-subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.profile-stats-inline {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.stat-inline {
  text-align: center;
}

.stat-inline strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-teal);
  font-weight: 700;
}

.stat-inline span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.profile-form-section {
  text-align: left;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-field label {
  font-weight: 500;
  color: var(--text-white);
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.profile-card {
  padding: var(--space-lg);
}

.skill-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.skill-tag {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-white);
}

.skill-tag.gradient-1 { background: linear-gradient(45deg, var(--primary-teal), var(--neon-cyan)); }
.skill-tag.gradient-2 { background: linear-gradient(45deg, var(--neon-purple), var(--primary-gold)); }
.skill-tag.gradient-3 { background: linear-gradient(45deg, var(--neon-green), var(--primary-teal)); }
.skill-tag.gradient-4 { background: linear-gradient(45deg, var(--primary-gold), var(--neon-purple)); }

.qr-code-placeholder {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.qr-code-placeholder i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.portfolio-link {
  display: flex;
  gap: var(--space-sm);
}

.portfolio-link input {
  flex: 1;
}

/* Course Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.course-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.difficulty-badge {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.difficulty-badge.beginner {
  background: rgba(57, 255, 20, 0.2);
  color: var(--neon-green);
}

.difficulty-badge.intermediate {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.difficulty-badge.advanced {
  background: rgba(255, 0, 110, 0.2);
  color: #ff006e;
}

.course-duration {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.tag {
  padding: var(--space-xs) var(--space-sm);
  background: rgba(0, 201, 167, 0.2);
  color: var(--primary-teal);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

/* Project Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  overflow: hidden;
}

.project-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.project-content {
  padding: var(--space-lg);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.project-category {
  background: var(--primary-teal);
  color: var(--text-white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.project-date {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.project-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Certificate Section */
.certificates-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-lg);
}

.certificate-card {
  padding: var(--space-lg);
}

.blockchain-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 201, 167, 0.2);
  color: var(--primary-teal);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
  width: fit-content;
}

.cert-date {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.blockchain-info {
  margin-bottom: var(--space-md);
}

.blockchain-info code {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  word-break: break-all;
  color: var(--primary-teal);
  margin: var(--space-sm) 0;
}

.qr-code-small {
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
  margin-top: var(--space-sm);
}

.qr-code-small i {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.cert-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Analytics Section */
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.analytics-card {
  padding: var(--space-lg);
}

.chart-card {
  text-align: center;
}

.chart-legend {
  margin-top: var(--space-md);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.legend-color.your-skills {
  background: var(--primary-teal);
}

.skill-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-name {
  font-weight: 500;
}

.skill-level {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: var(--gradient-cyber);
  transition: width 0.5s ease;
}

/* Leaderboard Section */
.leaderboard-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
}

.stat-box {
  text-align: center;
}

.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.leaderboard-table {
  padding: 0;
  overflow-x: auto;
}

.leaderboard-table table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--text-secondary);
}

.rank-gold td:first-child { color: #FFD700; }
.rank-silver td:first-child { color: #C0C0C0; }
.rank-bronze td:first-child { color: #CD7F32; }

.current-user-rank {
  background: rgba(0, 201, 167, 0.1);
  border-left: 3px solid var(--primary-teal);
}

/* Career Section */
.career-intro {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  text-align: center;
  font-size: 1.1rem;
}

.career-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.career-card {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.career-match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.match-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.match-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.match-trend {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.match-trend.rising {
  background: rgba(57, 255, 20, 0.2);
  color: var(--neon-green);
}

.career-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.career-stat {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
}

.career-stat i {
  color: var(--primary-teal);
  width: 16px;
}

.required-skills h4 {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-body {
    flex-direction: column;
  }
  
  .main-content {
    padding: var(--space-md);
  }
  
  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
  }
  
  .filter-tabs {
    justify-content: center;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  
  .courses-grid,
  .projects-grid,
  .certificates-list,
  .career-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-stats-inline {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .leaderboard-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .career-match {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .project-actions,
  .cert-actions {
    flex-direction: column;
  }
  
  .leaderboard-table {
    font-size: 0.8rem;
  }
  
  .leaderboard-table th,
  .leaderboard-table td {
    padding: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: var(--space-sm);
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .filter-tabs {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
  }
  
  .skill-tags-grid,
  .skills-tags {
    justify-content: center;
  }
  
  .career-stats {
    font-size: 0.8rem;
  }
  
  .blockchain-info code {
    font-size: 0.7rem;
    word-break: break-all;
  }
}

/* 🎨 Premium Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, rgba(0, 201, 167, 0.7), rgba(50, 184, 198, 0.7));
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 201, 167, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, rgba(0, 201, 167, 1), rgba(50, 184, 198, 1));
  box-shadow: 0 0 15px rgba(0, 201, 167, 0.5);
}

/* Premium Loading States */
.firebase-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  color: var(--text-secondary);
  position: relative;
}

.firebase-loading::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(0, 201, 167, 0.1);
  border-top: 2px solid var(--primary-teal);
  border-radius: 50%;
  animation: spinGlow 1s linear infinite;
}

@keyframes spinGlow {
  0% { transform: rotate(0deg); box-shadow: 0 0 5px var(--primary-teal); }
  50% { box-shadow: 0 0 20px var(--primary-teal), 0 0 30px var(--primary-teal-light); }
  100% { transform: rotate(360deg); box-shadow: 0 0 5px var(--primary-teal); }
}

.firebase-loading .spinner {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-md);
  border-width: 3px;
  animation: spinGlow 1s linear infinite;
}

/* 🎆 ULTIMATE Premium Hover Effects */
.premium-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}

.premium-hover:hover {
  transform: translateY(-5px) rotateX(5deg);
  box-shadow: 
    0 15px 35px rgba(0, 201, 167, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.3);
}

.premium-hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.1) 0%, transparent 70%);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.premium-hover:hover::after {
  width: 300px;
  height: 300px;
}

/* Original Firebase Loading States */
.firebase-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  color: var(--text-secondary);
}

.firebase-loading .spinner {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-md);
}

/* Error States */
.error-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-secondary);
}

.error-state i {
  font-size: 3rem;
  color: #ff006e;
  margin-bottom: var(--space-md);
}

/* Success States */
.success-state {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--radius-sm);
  color: var(--neon-green);
}

.success-state i {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.empty-state h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-white);
}

.empty-state p {
  margin-bottom: var(--space-lg);
}

/* Achievement Celebration */
.celebration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Premium Form Enhancements */
.form-input {
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 
    0 0 0 2px rgba(0, 201, 167, 0.2),
    0 0 20px rgba(0, 201, 167, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-input:focus + .form-label {
  color: var(--primary-teal);
  transform: translateY(-2px);
}

/* 🚀 ULTIMATE Enhanced Button States */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.btn:hover {
  transform: translateY(-3px) rotateX(5deg);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 0 25px rgba(0, 201, 167, 0.4),
    0 0 50px rgba(0, 201, 167, 0.2);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(0, 201, 167, 0.3);
}

/* Parallax Effects */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Premium Card Stack */
.card-stack {
  position: relative;
}

.card-stack::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, var(--primary-teal), var(--neon-cyan), var(--primary-gold));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-stack:hover::before {
  opacity: 0.3;
}

/* Responsive Premium Animations */
@media (max-width: 768px) {
  .blob {
    width: 200px;
    height: 200px;
  }
  
  .glass-card:hover {
    transform: scale(1.01);
  }
  
  .premium-hover:hover::after {
    width: 200px;
    height: 200px;
  }
}

/* ========================================
   LOGO SIZE & ANIMATION ENHANCEMENTS
   Updated: October 23, 2025
   ======================================== */

/* Login Page Logo - Optimized Size & Animation */
.login-logo img {
  width: 140px !important;                    /* Perfect size */
  height: auto;
  margin-bottom: 16px;
  animation: logoFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 201, 167, 0.3));
  transition: transform 0.3s ease;
  cursor: pointer;
}

.login-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 16px rgba(0, 201, 167, 0.5));
}

/* Floating animation for login logo */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Login subtitle animation */
.login-subtitle, .tagline {
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}

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

/* Sidebar Logo - Perfect Size & Hover Effects */
.sidebar-logo img {
  width: 90px !important;                     /* Sidebar size */
  height: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-logo {
  transition: background 0.3s ease;
}

.sidebar-logo:hover {
  background: rgba(0, 201, 167, 0.03);
}

.sidebar-logo img:hover {
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 0 15px rgba(0, 201, 167, 0.6));
}

/* Logo text fallback */
.logo-text, .sidebar-logo h1 {
  transition: transform 0.3s ease;
}

.logo-text:hover, .sidebar-logo h1:hover {
  transform: scale(1.05);
  text-shadow: 0 0 30px rgba(0, 201, 167, 0.8), 
               0 0 40px rgba(50, 184, 198, 0.6);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .login-logo img {
    width: 120px !important;
  }

  .sidebar-logo img {
    width: 80px !important;
  }
}

@media (max-width: 480px) {
  .login-logo img {
    width: 100px !important;
  }

  .sidebar-logo img {
    width: 70px !important;
  }
}
:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */

  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

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

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

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

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

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

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

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

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

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* ============================================
   VEDHAI COURSES - GRID & CARD STYLING
   Add this to your student-portal.css
   ============================================ */

/* END PERPLEXITY DESIGN SYSTEM */
/* ============================================
   VEDHAI COURSES - GRID & CARD STYLING
   Add this to your student-portal.css
   ============================================ */

/* Header */
.portal-header {
  background: linear-gradient(135deg, var(--color-charcoal-700) 0%, var(--color-charcoal-800) 100%);
  padding: var(--space-32) var(--space-20);
  text-align: center;
  border-bottom: 2px solid var(--color-primary);
}

.header-content .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-16);
  font-family: var(--font-family-base);
}

.portal-header h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-text);
  margin: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-teal-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-base);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

/* Hero Section */
.courses-hero {
  text-align: center;
  padding: var(--space-32) var(--space-20);
  background: linear-gradient(135deg, rgba(var(--color-teal-500-rgb), 0.1), rgba(var(--color-teal-300-rgb), 0.05));
  border-bottom: 1px solid rgba(var(--color-teal-500-rgb), 0.2);
}

.courses-hero h2 {
  font-size: var(--font-size-3xl);
  color: var(--color-text);
  margin: 0 0 var(--space-16) 0;
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-family-base);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

.courses-hero p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
}

/* Main Container */
.courses-main {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-32) var(--space-20);
  background: var(--color-background);
  min-height: 100vh;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-24);
  margin-bottom: var(--space-32);
}

/* ================= FUTURISTIC COURSE GRID ================= */
/* Course Card */
.course-card {
  background: linear-gradient(135deg, rgba(var(--color-charcoal-800), 0.95), rgba(var(--color-charcoal-700), 0.95));
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-standard);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-lg);
  animation: slideInUp 0.6s var(--ease-standard) forwards;
}

/* Staggered animation delays (keeps visual rhythm) */
.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }
.course-card:nth-child(4) { animation-delay: 0.4s; }
.course-card:nth-child(5) { animation-delay: 0.5s; }
.course-card:nth-child(6) { animation-delay: 0.6s; }
.course-card:nth-child(7) { animation-delay: 0.7s; }
.course-card:nth-child(8) { animation-delay: 0.8s; }

.course-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 16px 32px rgba(var(--color-teal-500-rgb), 0.2);
  transform: translateY(-8px);
}

.course-card:focus-within {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-lg);
}

/* Course Header */
.course-header {
  position: relative;
  padding: var(--space-24) var(--space-20);
  background: linear-gradient(135deg, rgba(var(--color-teal-500-rgb), 0.1), rgba(var(--color-teal-300-rgb), 0.05));
  border-bottom: 1px solid var(--color-card-border-inner);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  color: var(--color-btn-primary-text);
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Small glowing pulse on icons */
.course-icon:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(var(--color-teal-500-rgb), 0.18), 0 0 12px rgba(var(--color-primary-rgb), 0.08);
}

.course-level {
  background: rgba(var(--color-teal-500-rgb), 0.2);
  color: var(--color-primary);
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  font-family: var(--font-family-base);
}

/* Thumbnail support (optional) */
.course-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

/* Course Body */
.course-body {
  padding: var(--space-20) var(--space-20);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-body h3 {
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin: 0 0 var(--space-12) 0;
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family-base);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

.course-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-20);
  flex: 1;
  font-family: var(--font-family-base);
}

/* Course Info */
.course-info {
  display: flex;
  gap: var(--space-20);
  margin-bottom: var(--space-20);
  padding-bottom: var(--space-20);
  border-bottom: 1px solid var(--color-card-border-inner);
}

.course-info span {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-family: var(--font-family-base);
}

.course-info i {
  color: var(--color-teal-300);
}

/* Course Features */
.course-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.course-features li {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin: 0;
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
}

.course-features li::before {
  content: "✓";
  margin-right: var(--space-8);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

/* Learn Now Button */
.btn-learn-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  padding: var(--space-12) var(--space-24);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-base);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-base);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  text-decoration: none;
  width: 100%;
  margin-top: auto;
  font-family: var(--font-family-base);
}

.btn-learn-now:hover {
  background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary-active));
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(var(--color-teal-500-rgb), 0.4);
}

.btn-learn-now:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-learn-now i {
  transition: transform var(--duration-normal) var(--ease-standard);
}

.btn-learn-now:hover i {
  transform: translateX(4px);
}

/* Footer */
.portal-footer {
  background: linear-gradient(135deg, var(--color-charcoal-700) 0%, var(--color-charcoal-800) 100%);
  border-top: 1px solid var(--color-card-border);
  padding: var(--space-32) var(--space-20);
  text-align: center;
  color: var(--color-text-secondary);
  margin-top: var(--space-32);
}

.portal-footer p {
  margin: 0;
  font-size: var(--font-size-sm);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .portal-header {
    padding: var(--space-24) var(--space-16);
  }

  .portal-header h1 {
    font-size: var(--font-size-2xl);
  }

  .courses-hero {
    padding: var(--space-24) var(--space-16);
  }

  .courses-hero h2 {
    font-size: var(--font-size-xl);
  }

  .courses-hero p {
    font-size: var(--font-size-sm);
  }

  .courses-main {
    padding: var(--space-20) var(--space-16);
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .course-header {
    padding: var(--space-16);
    flex-direction: column;
    gap: var(--space-12);
    text-align: center;
  }

  .course-body {
    padding: var(--space-16);
  }

  .course-info {
    flex-direction: column;
    gap: var(--space-8);
  }

  .btn-learn-now {
    padding: var(--space-10) var(--space-16);
    font-size: var(--font-size-sm);
  }

  .portal-footer {
    padding: var(--space-24) var(--space-16);
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .portal-header h1 {
    font-size: var(--font-size-3xl);
  }

  .courses-hero h2 {
    font-size: var(--font-size-2xl);
  }

  .courses-hero p {
    font-size: var(--font-size-base);
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: var(--space-20);
  }

  .course-body {
    padding: var(--space-20);
  }

  .course-info {
    flex-direction: column;
    gap: var(--space-10);
  }

  .btn-learn-now {
    padding: var(--space-12) var(--space-20);
    font-size: var(--font-size-sm);
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================================================
   MOBILE NAVIGATION - ANCHOR LINK STYLES
   ============================================================ */

/* Mobile Navigation Container */
.mobile-nav-simple {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 46, 0.98);
    border-top: 1px solid rgba(0, 201, 167, 0.2);
    display: none;
    justify-content: space-around;
    align-items: center;
    height: 70px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Navigation Button Styling */
.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #B0B8C9;
    text-decoration: none;
    flex: 1;
    height: 100%;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

/* Icon Styling */
.mobile-nav-btn i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* Hover/Active State */
.mobile-nav-btn:hover,
.mobile-nav-btn:active {
    color: #00C9A7;
    background: rgba(0, 201, 167, 0.1);
}

/* Show Navigation Only on Mobile (max-width: 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    
    .mobile-nav-simple {
        display: flex !important;
    }
}

/* Smooth Scroll Offset for Anchor Links */
#dashboard-section, 
#courses-main, 
#projects-section, 
#profile-section, 
#certificates-section, 
#analytics-section,
#leaderboard-section, 
#career-section {
    scroll-margin-top: 80px;
}
/* Show all sections for anchor link navigation */
/* Show all content - single page layout */
.content-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
    clip: auto !important;
    clip-path: none !important;
    pointer-events: auto !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    overflow: visible !important;
}

main.courses-main {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}

/* ========================================================
   MORE BUTTON - MENU SYSTEM
   ======================================================== */

/* Menu Container */
.mobile-menu-sheet {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 31, 46, 0.98);
    border-top: 1px solid rgba(0, 201, 167, 0.2);
    max-height: 60vh;
    overflow-y: auto;
    z-index: 999;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
    backdrop-filter: blur(10px);
}

/* Show menu when active */
.mobile-menu-sheet.active {
    display: flex !important;
}

/* Menu Header */
.mobile-sheet-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 201, 167, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 31, 46, 0.95);
    position: sticky;
    top: 0;
}

.mobile-sheet-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
}

/* Close Button */
.mobile-sheet-close {
    background: none;
    border: none;
    color: #B0B8C9;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.mobile-sheet-close:hover {
    color: #00C9A7;
}

/* Menu Items Container */
.mobile-sheet-menu {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

/* Menu Items */
.mobile-sheet-item {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #B0B8C9;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 201, 167, 0.05);
    cursor: pointer;
}

.mobile-sheet-item:hover {
    background: rgba(0, 201, 167, 0.1);
    color: #00C9A7;
    padding-left: 25px;
}

.mobile-sheet-item i {
    font-size: 1.2rem;
    min-width: 20px;
}

/* Overlay */
.mobile-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sheet-overlay.active {
    display: block !important;
    opacity: 1 !important;
}

/* Slide up animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* More button styling */
#more-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Desktop Sidebar Navigation Styling */
.nav-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #B0B8C9;
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-item:hover {
    background: rgba(0, 201, 167, 0.1);
    color: #00C9A7;
    border-left-color: #00C9A7;
    padding-left: 20px;
}

.nav-item.active {
    background: rgba(0, 201, 167, 0.15);
    color: #00C9A7;
    border-left-color: #00C9A7;
    font-weight: 600;
}

/* Smooth scrolling for entire page */
html {
    scroll-behavior: smooth;
}
/* ===================================
   PROFILE SECTION - PERSISTENT IMAGES
   =================================== */

.profile-header {
  margin-bottom: 2rem;
}

.profile-header h1 {
  font-size: 2.5rem;
  color: #00C9A7;
  margin-bottom: 0.5rem;
}

.profile-status-message {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  min-height: 20px;
}

/* ===== COVER IMAGE ===== */

.profile-cover-container {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
  aspect-ratio: 1200/300;
}

.profile-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.profile-cover-img:hover {
  opacity: 1;
}

.change-cover-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 201, 167, 0.9);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.change-cover-btn:hover {
  background: #00C9A7;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 201, 167, 0.3);
}

/* ===== PROFILE CARD ===== */

.profile-card {
  display: flex;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 201, 167, 0.1);
  margin-bottom: 2rem;
}

/* Avatar */

.profile-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #00C9A7;
  transition: transform 0.3s ease;
}

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

.change-avatar-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #00C9A7;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.change-avatar-btn:hover {
  background: #00A877;
  transform: scale(1.1);
}

/* Profile Info */

.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-name {
  font-size: 1.8rem;
  color: #00C9A7;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.profile-email {
  font-size: 1rem;
  color: #B0B8C9;
  margin-bottom: 1.5rem;
}

.profile-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00C9A7;
}

.stat-label {
  font-size: 0.85rem;
  color: #B0B8C9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-actions {
  display: flex;
  gap: 1rem;
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00C9A7;
  color: #00C9A7;
}

.btn-secondary:hover {
  background: rgba(0, 201, 167, 0.1);
}

/* ===== PROFILE EDIT SECTIONS ===== */

.profile-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.profile-section-card {
  background: rgba(0, 201, 167, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 201, 167, 0.1);
}

.profile-section-card h3 {
  font-size: 1.1rem;
  color: #00C9A7;
  margin-bottom: 1rem;
  font-weight: 600;
}

.profile-input,
.profile-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 201, 167, 0.2);
  border-radius: 6px;
  color: #E0E0E0;
  font-family: inherit;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.profile-input:focus,
.profile-textarea:focus {
  outline: none;
  border-color: #00C9A7;
  background: rgba(0, 201, 167, 0.1);
  box-shadow: 0 0 0 3px rgba(0, 201, 167, 0.1);
}

.profile-textarea {
  resize: vertical;
  min-height: 100px;
}

.char-count {
  font-size: 0.8rem;
  color: #B0B8C9;
  display: block;
  margin-bottom: 0.75rem;
}

/* Skill Tags */

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.skill-tag {
  background: rgba(0, 201, 167, 0.2);
  color: #00C9A7;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-tag i {
  cursor: pointer;
  transition: all 0.2s ease;
}

.skill-tag i:hover {
  transform: scale(1.2);
}

/* Responsive */

@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .profile-stats {
    justify-content: center;
  }
}



/* END OF COURSE GRID CSS */
/* END LOGO ENHANCEMENTS */
