/* ===== FUTURISTIC AI-INSPIRED UI STYLES ===== */

/* Dashboard-specific enhancements - optimized transitions */
.dashboard-controls .btn {
    border-radius: 25px;
    padding: 8px 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-controls .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 211, 238, 0.2);
}

.chart-container {
    position: relative;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    padding: 1rem;
}

.meter-summary-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.meter-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
    /* Removed animation for performance */
}

.meter-summary-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.15);
}

.meter-icon {
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    padding: 12px;
    border: 2px solid rgba(34, 211, 238, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.meter-summary-card:hover .meter-icon {
    background: rgba(34, 211, 238, 0.2);
    border-color: rgba(34, 211, 238, 0.5);
    transform: scale(1.02);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e6edf6;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reading-item {
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
    padding-bottom: 1rem;
    transition: background-color 0.2s ease, border-radius 0.2s ease, padding 0.2s ease, margin 0.2s ease;
}

.reading-item:hover {
    background: rgba(34, 211, 238, 0.05);
    border-radius: 8px;
    padding: 0.5rem;
    margin: 0 -0.5rem;
}

.reading-item:last-child {
    border-bottom: none;
}

.reading-meter {
    font-weight: 600;
    color: #e6edf6;
}

.reading-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #22d3ee;
    font-family: 'Orbitron', monospace;
}

.reading-date {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
}

.reading-notes {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.8);
    font-style: italic;
}

.chart-controls .form-select {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #e6edf6;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chart-controls .form-select:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(34, 211, 238, 0.5);
    color: #e6edf6;
    box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.25);
}

.chart-controls .btn {
    border-radius: 20px;
    padding: 6px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chart-controls .btn:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(34, 211, 238, 0.2);
}

/* Enhanced stats cards */
.stats-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22d3ee, #8b5cf6, #f472b6);
    /* Removed animation for performance */
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.15);
}

.stats-label {
    color: rgba(34, 211, 238, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.stats-value {
    color: #e6edf6;
    font-family: 'Orbitron', monospace;
}

.stats-trend {
    color: rgba(148, 163, 184, 0.7);
    font-size: 0.8rem;
}

.icon-container {
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    padding: 20px;
    border: 2px solid rgba(34, 211, 238, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.stats-card:hover .icon-container {
    background: rgba(34, 211, 238, 0.2);
    border-color: rgba(34, 211, 238, 0.5);
    transform: scale(1.05);
}

/* Quick action buttons */
.btn-lg {
    border-radius: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-lg::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.3s ease;
}

.btn-lg:hover::before {
    left: 100%;
}

.btn-lg:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dashboard-controls .btn {
        width: 100%;
    }
    
    .chart-container {
        padding: 0.5rem;
    }
    
    .meter-summary-card {
        margin-bottom: 1rem;
    }
}

/* Shimmer animation for meter cards */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced border flow animation */
@keyframes borderFlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Animated Background with Gradient Meshes */
body {
  margin-bottom: 80px;
  padding-top: 0;
  background: 
    /* Animated gradient mesh layers */
    radial-gradient(ellipse 1200px 600px at 10% -10%, rgba(139, 92, 246, 0.3), transparent 60%),
    radial-gradient(ellipse 900px 500px at 110% 10%, rgba(34, 211, 238, 0.25), transparent 60%),
    radial-gradient(ellipse 800px 400px at 50% 80%, rgba(244, 114, 182, 0.2), transparent 70%),
    /* Base gradient */
    linear-gradient(135deg, #0a0f1a 0%, #0b1220 25%, #1a1f3a 50%, #0b1220 75%, #0a0f1a 100%);
  color: #e6edf6;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Static background particles - removed animation for performance */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(34, 211, 238, 0.2), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(244, 114, 182, 0.2), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(34, 211, 238, 0.2), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(139, 92, 246, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  pointer-events: none;
  z-index: -1;
}

@keyframes particleFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-100px); }
}

/* Static neural network grid overlay - removed animation for performance */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* Advanced Glass Morphism with Neon Accents - optimized backdrop filter */
.glass-nav {
  background: rgba(15, 23, 42, 0.8) !important;
  border-bottom: 1px solid rgba(34, 211, 238, 0.2) !important;
  box-shadow: 
    0 4px 15px rgba(2, 6, 23, 0.3), 
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1000;
  margin-bottom: 2rem;
}

/* Navigation item visibility */
.navbar-nav .nav-item {
  margin: 0 0.25rem;
}

.navbar-nav .nav-item .nav-link {
  color: #e6edf6 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.glass-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), transparent);
  /* Removed animation for performance */
}

@keyframes navGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.glass-footer {
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(34, 211, 238, 0.15);
  box-shadow: 
    0 -4px 15px rgba(2, 6, 23, 0.3), 
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 999;
  margin-top: 3rem;
  padding: 1.5rem 0;
}

.futurist-container {
  padding-top: 20px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 200px);
}

/* Advanced Neon Effects - optimized transitions */
.hover-neon {
  position: relative;
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.hover-neon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent);
  transition: left 0.3s ease;
}

.hover-neon:hover {
  color: #22d3ee !important;
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.6), 0 0 16px rgba(34, 211, 238, 0.3);
  transform: translateX(1px);
}

.hover-neon:hover::before {
  left: 100%;
}

.text-neon {
  color: #e6edf6;
  text-shadow: 
    0 0 8px rgba(139, 92, 246, 0.4), 
    0 0 16px rgba(34, 211, 238, 0.2),
    0 0 24px rgba(244, 114, 182, 0.1);
  /* Removed animation for performance */
}

@keyframes textGlow {
  0%, 100% { 
    text-shadow: 
      0 0 10px rgba(139, 92, 246, 0.5), 
      0 0 20px rgba(34, 211, 238, 0.3),
      0 0 30px rgba(244, 114, 182, 0.2);
  }
  50% { 
    text-shadow: 
      0 0 15px rgba(139, 92, 246, 0.7), 
      0 0 25px rgba(34, 211, 238, 0.5),
      0 0 35px rgba(244, 114, 182, 0.3);
  }
}

/* Futuristic Card Design - optimized performance */
.card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.3), 
    inset 0 0 0 1px rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(34, 211, 238, 0.6), 
    rgba(139, 92, 246, 0.6), 
    rgba(244, 114, 182, 0.6), 
    rgba(34, 211, 238, 0.6));
  /* Removed animation for performance */
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.card .card-header {
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    rgba(34, 211, 238, 0.2),
    rgba(244, 114, 182, 0.15));
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px 12px 0 0;
  position: relative;
  padding: 1.5rem 2rem;
}

.card .card-header h1,
.card .card-header h2,
.card .card-header h3,
.card .card-header h4,
.card .card-header h5 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4), 
    0 0 15px rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
}

/* Futuristic Button Design - Mobile Optimized */
.btn-primary, .btn-success, .btn-info, .btn-warning, .btn-secondary {
  border: 0;
  color: #0b1220;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-transform: uppercase;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  min-height: 48px;
  isolation: isolate;
}

/* Removed pulse animation for better performance */

@keyframes subtlePulse {
  0%, 100% { 
    box-shadow: 0 2px 8px rgba(34, 211, 238, 0.2);
  }
  50% { 
    box-shadow: 0 3px 12px rgba(34, 211, 238, 0.3);
  }
}

.btn-primary { 
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  box-shadow: 0 2px 8px rgba(34, 211, 238, 0.2);
}
.btn-success { 
  background: linear-gradient(135deg, #22c55e, #84cc16);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}
.btn-info { 
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.2);
}
.btn-warning { 
  background: linear-gradient(135deg, #f59e0b, #f472b6);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}
.btn-secondary { 
  background: linear-gradient(135deg, #94a3b8, #64748b);
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
}

/* Outline Button Styles */
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #e6edf6;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px) scale(1.005);
}

.btn-outline-secondary {
  background: transparent;
  border: 2px solid rgba(148, 163, 184, 0.4);
  color: #94a3b8;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-outline-secondary:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.7);
  color: #e6edf6;
  box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
  transform: translateY(-1px) scale(1.005);
}

.btn::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.3s ease;
  border-radius: inherit;
  overflow: hidden;
}

.btn:hover::before {
  left: 0;
}

.btn:focus, .btn:hover { 
  filter: brightness(1.05); 
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
  transform: translateY(-1px);
}

/* Enhanced hover effects for primary buttons */
.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  box-shadow: 0 3px 10px rgba(34, 211, 238, 0.3);
  transform: translateY(-1px) scale(1.005);
}

.btn-success:hover {
  background: linear-gradient(135deg, #16a34a, #65a30d);
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px) scale(1.005);
}

.btn-info:hover {
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  box-shadow: 0 3px 10px rgba(56, 189, 248, 0.3);
  transform: translateY(-1px) scale(1.005);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #d97706, #ec4899);
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  transform: translateY(-1px) scale(1.005);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #64748b, #475569);
  box-shadow: 0 3px 10px rgba(148, 163, 184, 0.3);
  transform: translateY(-1px) scale(1.005);
}

/* Enhanced focus states for accessibility */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.5);
}

.btn-outline-light:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.btn-outline-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.5);
}

/* Active states for better interaction feedback */
.btn:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

.btn-outline-light:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

.btn-outline-secondary:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Consistent Button Sizes */
.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  min-height: 40px;
  border-radius: 8px;
}

.btn-lg {
  font-size: 1.1rem;
  padding: 1rem 2rem;
  min-height: 56px;
  border-radius: 14px;
}

.btn-xl {
  font-size: 1.2rem;
  padding: 1.25rem 2.5rem;
  min-height: 64px;
  border-radius: 16px;
}

/* Enhanced Button Groups */
.btn-group-mobile {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-group-mobile .btn {
  flex: 1;
  min-width: 120px;
}

/* Responsive button sizing for large screens */
@media (min-width: 992px) {
  .btn-group-mobile .btn {
    min-width: 140px;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    min-height: 44px;
  }
  
  .btn-xl {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    min-height: 52px;
  }
  
  .btn-lg {
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
    min-height: 48px;
  }
}

.btn-group-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.btn-group-stack .btn {
  width: 100%;
}

/* Action Button Styles */
.btn-action-primary {
  background: linear-gradient(135deg, #1e40af, #7c3aed);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

/* Responsive action button sizing */
@media (min-width: 992px) {
  .btn-action-primary,
  .btn-action-secondary,
  .btn-action-success,
  .btn-action-danger,
  .btn-action-info,
  .btn-action-warning {
    padding: 0.7rem 1.4rem;
    min-height: 48px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

.btn-action-primary:hover {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.btn-action-secondary {
  background: linear-gradient(135deg, #64748b, #475569);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.2);
}

.btn-action-secondary:hover {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(148, 163, 184, 0.3);
}

.btn-action-success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.btn-action-success:hover {
  background: linear-gradient(135deg, #22c55e, #84cc16);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-action-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.btn-action-danger:hover {
  background: linear-gradient(135deg, #ef4444, #f97316);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-action-info {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.btn-action-info:hover {
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-action-warning {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  padding: 1rem 2rem;
  min-height: 56px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
}

.btn-action-warning:hover {
  background: linear-gradient(135deg, #f59e0b, #f472b6);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

/* Sci-Fi Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Orbitron', Inter, ui-sans-serif, system-ui;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.3);
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Removed animation for performance */
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

h2, h3 {
  color: #22d3ee;
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

/* Futuristic Forms - Mobile Optimized */
.form-control, .form-select {
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #e6edf6 !important;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  font-size: 1rem;
  padding: 0.875rem 1.125rem;
  min-height: 48px;
}

.form-control:focus, .form-select:focus {
  border-color: #22d3ee;
  box-shadow: 
    0 0 0 3px rgba(34, 211, 238, 0.2),
    0 0 20px rgba(34, 211, 238, 0.3);
  background: rgba(2, 6, 23, 0.9);
  color: #e6edf6 !important;
}

.form-control::placeholder {
  color: rgba(148, 163, 184, 0.6) !important;
}

/* Enhanced Form Labels for Mobile */
.form-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e6edf6;
  text-shadow: 0 0 5px rgba(34, 211, 238, 0.3);
}

/* Enhanced Form Checkboxes for Mobile */
.form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  border-radius: 4px;
  border: 2px solid rgba(34, 211, 238, 0.3);
  background-color: rgba(2, 6, 23, 0.8);
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #22d3ee;
  border-color: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

.form-check-input:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.form-check-label {
  font-size: 1rem;
  font-weight: 500;
  color: #e6edf6;
  padding-left: 0.5rem;
}

/* Ensure text is visible in all input states */
.form-control:not(:focus) {
  color: #e6edf6 !important;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(2, 6, 23, 0.8) inset !important;
  -webkit-text-fill-color: #e6edf6 !important;
  color: #e6edf6 !important;
}

/* Futuristic Tables */
.table {
  color: #e6edf6;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.table thead {
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.3), 
    rgba(34, 211, 238, 0.2));
  border-bottom: 2px solid rgba(34, 211, 238, 0.3);
}

.table-striped > tbody > tr:nth-of-type(odd) {
  --bs-table-accent-bg: rgba(148, 163, 184, 0.08);
  color: #e6edf6;
}

.table tbody tr:hover {
  background: rgba(34, 211, 238, 0.1);
  transform: scale(1.005);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Additional Futuristic Elements */
.badge {
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem;
}

.badge.bg-primary {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6) !important;
  box-shadow: 0 2px 8px rgba(34, 211, 238, 0.3);
}

.badge.bg-success {
  background: linear-gradient(135deg, #22c55e, #84cc16) !important;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.badge.bg-info {
  background: linear-gradient(135deg, #38bdf8, #22d3ee) !important;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
}

.badge.bg-warning {
  background: linear-gradient(135deg, #f59e0b, #f472b6) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading {
  animation: pulse 2s infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
}

/* Additional Futuristic Layout Elements */
.footer-left, .footer-right {
  display: flex;
  align-items: center;
}

.footer-left {
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-right {
  flex-direction: row;
  align-items: center;
  text-align: right;
}

/* Enhanced Navigation Brand */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
  transition: text-shadow 0.2s ease, transform 0.2s ease;
  color: #e6edf6 !important; /* Ensure brand visibility */
}

/* Navbar visibility fixes */
.navbar {
  background: rgba(15, 23, 42, 0.8) !important;
}

.navbar-toggler {
  border: 1px solid rgba(34, 211, 238, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2834, 211, 238, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-brand:hover {
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.7);
  transform: scale(1.02);
}

/* Futuristic Navigation Links */
.nav-link {
  position: relative;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e6edf6 !important; /* Ensure visibility */
}

/* Bootstrap text utilities override */
.text-light {
  color: #e6edf6 !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #e6edf6 !important;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #22d3ee !important;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #8b5cf6);
  transition: width 0.2s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 80%;
}

/* Enhanced Button Styling */
.btn-link {
  background: none;
  border: none;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-link:hover {
  background: rgba(34, 211, 238, 0.1);
  border-radius: 8px;
}

/* Mobile-First Responsive Design Enhancements */
@media (max-width: 768px) {
  .footer-left, .footer-right {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .footer-right {
    margin-top: 1rem;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .nav-link {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
  }
  
  /* Mobile form enhancements */
  .form-control, .form-select {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    min-height: 56px;
    border-radius: 12px;
  }
  
  .form-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
  }
  
  .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
  }
  
  .form-check-label {
    font-size: 1.1rem;
    padding-left: 0.5rem;
  }
  
  /* Mobile button enhancements */
  .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    min-height: 56px;
    border-radius: 12px;
    font-weight: 700;
  }
  
  .btn-lg {
    font-size: 1.2rem;
    padding: 1.25rem 2.5rem;
    min-height: 64px;
  }
  
  /* Mobile card enhancements */
  .card {
    border-radius: 16px;
    margin-bottom: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-header {
    padding: 1.5rem 1.5rem;
    font-size: 1.2rem;
  }
  
  .card .card-header h1,
  .card .card-header h2,
  .card .card-header h3,
  .card .card-header h4,
  .card .card-header h5 {
    font-size: 1.5rem;
  }
  
  /* Mobile table enhancements */
  .table {
    font-size: 1rem;
  }
  
  .table th, .table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
  }
  
  /* Mobile navigation enhancements */
  .navbar-toggler {
    padding: 0.75rem;
    font-size: 1.25rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  /* Mobile container adjustments */
  .container, .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Mobile text sizing */
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.3rem;
  }
  
  h5 {
    font-size: 1.2rem;
  }
  
  /* Mobile spacing adjustments */
  .mb-3 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2.5rem !important;
  }
  
  /* Mobile list group enhancements */
  .list-group-item {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
  }
  
  /* Mobile badge enhancements */
  .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 26, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(34, 211, 238, 0.3);
  border-top: 3px solid #22d3ee;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Focus States */
.form-control:focus, .form-select:focus, .btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dashboard-specific animations */
@keyframes neuralPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Date/Time pickers - ensure calendar/clock icons are visible on dark bg */
input[type="date"],
input[type="datetime-local"],
input[type="time"],
.form-control[type="date"],
.form-control[type="datetime-local"],
.form-control[type="time"] {
  color: #e6edf6 !important;
}

/* Chromium/WebKit calendar icon */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  background-color: transparent;
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(180deg) brightness(150%) contrast(100%);
  opacity: 1;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

input[type="date"]:hover::-webkit-calendar-picker-indicator,
input[type="datetime-local"]:hover::-webkit-calendar-picker-indicator,
input[type="time"]:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}

/* Firefox uses a button we can size/tint via accent-color */
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  accent-color: #22d3ee;
}

/* Add right padding so icon doesn't overlap text */
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  padding-right: 2.25rem;
}

/* Hint browsers to use dark pop-up UIs for form controls */
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"] {
  color-scheme: dark;
}

/* Restore native indicator, ensure visibility and prevent tiling */
input[type="date"],
input[type="datetime-local"] {
  background-image: none !important;
  background-repeat: no-repeat !important;
}

/* Hide the native calendar icon completely */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide the native time icon completely and add custom clock icon */
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Create a custom visible calendar icon using pseudo-element */
input[type="date"],
input[type="datetime-local"] {
  position: relative;
}

input[type="date"]::after,
input[type="datetime-local"]::after {
  content: "📅";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #22d3ee;
  pointer-events: auto;
  z-index: 10;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type="date"]:hover::after,
input[type="datetime-local"]:hover::after {
  color: #8b5cf6;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

/* Create a custom visible clock icon for time inputs */
input[type="time"] {
  position: relative;
}

input[type="time"]::after {
  content: "🕐";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #22d3ee;
  pointer-events: auto;
  z-index: 10;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[type="time"]:hover::after {
  color: #8b5cf6;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

/* Make the entire right area of the input clickable */
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  cursor: pointer;
}

/* Ensure the native calendar picker is still functional but invisible */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 11;
}

/* Ensure the native time picker is still functional but invisible */
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 11;
}

/* Improve contrast of editable date/time sub-fields in WebKit */
input[type="date"]::-webkit-datetime-edit,
input[type="datetime-local"]::-webkit-datetime-edit,
input[type="time"]::-webkit-datetime-edit {
  color: #e6edf6;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper,
input[type="time"]::-webkit-datetime-edit-fields-wrapper {
  background: transparent;
}

input[type="date"]::-webkit-datetime-edit-year-field,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="datetime-local"]::-webkit-datetime-edit-year-field,
input[type="datetime-local"]::-webkit-datetime-edit-month-field,
input[type="datetime-local"]::-webkit-datetime-edit-day-field,
input[type="time"]::-webkit-datetime-edit-hour-field,
input[type="time"]::-webkit-datetime-edit-minute-field,
input[type="time"]::-webkit-datetime-edit-second-field,
input[type="time"]::-webkit-datetime-edit-ampm-field {
  color: #e6edf6;
}

/* Firefox calendar/clock pop-ups (respect accent-color) */
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
  accent-color: #22d3ee;
}

/* ===== LANDING PAGE SPECIFIC STYLES ===== */

/* Responsive Design Enhancements */
.min-vh-75 { min-height: 75vh; }

.text-gradient { 
    background: linear-gradient(135deg, #22d3ee, #8b5cf6, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(34, 211, 238, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 12px;
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 10px 30px rgba(34, 211, 238, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(34, 211, 238, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bg-gradient {
    background: linear-gradient(135deg, #22d3ee, #8b5cf6) !important;
}

.cta-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(34, 211, 238, 0.1));
    border: 2px solid rgba(34, 211, 238, 0.3);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.result-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.result-item:last-child {
    border-bottom: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .min-vh-75 { min-height: 60vh; }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .metric-value {
        font-size: 1.2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .btn-lg {
        padding: 1.25rem 2.5rem !important;
        font-size: 1.2rem !important;
        min-height: 64px;
    }
    
    .hero-stats .row {
        margin-bottom: 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-bottom: 1rem;
    }
    
    /* Mobile dashboard enhancements */
    .stats-card .card-body {
        padding: 1.5rem;
    }
    
    .action-card .card-body {
        padding: 1.5rem;
    }
    
    .icon-container {
        padding: 15px;
    }
    
    .icon-wrapper {
        padding: 15px;
    }
    
    /* Mobile calendar enhancements */
    .calendar-day {
        font-size: 1rem;
        min-height: 40px;
    }
    
    .calendar-day-header {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
    
    /* Mobile form layout improvements */
    .form-row {
        margin-bottom: 1.5rem;
    }
    
    .form-row .col {
        margin-bottom: 1rem;
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .btn-lg {
        padding: 1.25rem 2rem !important;
        font-size: 1.1rem !important;
        min-height: 60px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
    }
    
    /* Extra small form enhancements */
    .form-control, .form-select {
        font-size: 1.2rem;
        padding: 1.25rem 1.5rem;
        min-height: 60px;
    }
    
    .form-label {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        font-size: 1.2rem;
        padding: 1.25rem 2.25rem;
        min-height: 60px;
    }
    
    /* Extra small navigation */
    .nav-link {
        padding: 1.25rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    /* Extra small cards */
    .card-body {
        padding: 2rem;
    }
    
    .card-header {
        padding: 1.5rem 2rem;
        font-size: 1.3rem;
    }
    
    .card .card-header h1,
    .card .card-header h2,
    .card .card-header h3,
    .card .card-header h4,
    .card .card-header h5 {
        font-size: 1.4rem;
    }
    
    /* Extra small spacing */
    .mb-3 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 2.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
    
    /* Extra small text */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    h5 {
        font-size: 1.15rem;
    }
    
    /* Extra small tables */
    .table th, .table td {
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
    }
    
    /* Extra small list groups */
    .list-group-item {
        padding: 1.25rem 1.5rem;
        font-size: 1.2rem;
    }
    
    /* Extra small badges */
    .badge {
        font-size: 0.9rem;
        padding: 0.6rem 0.85rem;
    }
}

/* Mobile Touch Enhancements */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn, .form-control, .form-select, .form-check-input {
        touch-action: manipulation;
    }
    
    /* Prevent zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Better touch feedback */
    .btn:active, .form-control:focus, .form-select:focus {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Improve scrolling performance */
    .card, .navbar, .footer {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better mobile navigation */
    .navbar-toggler {
        border: none;
        padding: 0.75rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);
    }
    
    /* Mobile-friendly dropdowns */
    .dropdown-menu {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* Better mobile modals */
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content {
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(34, 211, 238, 0.2);
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1.5rem;
        border-top: 1px solid rgba(34, 211, 238, 0.2);
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .feature-card:hover,
    .btn,
    .btn:hover {
        transition: none !important;
        transform: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .glass-card {
        background: rgba(0, 0, 0, 0.8);
        border: 2px solid #22d3ee;
    }
    
    .feature-card {
        border: 2px solid rgba(34, 211, 238, 0.5);
    }
    
    .text-muted {
        color: #e6edf6 !important;
    }
}

/* Print Styles */
@media print {
    .btn,
    .feature-icon,
    .benefit-icon,
    .cta-card {
        display: none !important;
    }
    
    .glass-card {
        background: white !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }
    
    .text-neon,
    .text-gradient {
        color: #000 !important;
    }
}

/* ===== NAVIGATION ENHANCEMENTS ===== */

/* Glass dropdown styling */
.glass-dropdown {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.glass-dropdown .dropdown-item {
    color: #e6edf6 !important;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0.25rem;
    background: transparent !important;
}

/* Dropdown menu visibility */
.dropdown-menu {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(34, 211, 238, 0.3) !important;
    backdrop-filter: blur(12px);
}

.dropdown-item {
    color: #e6edf6 !important;
}

.glass-dropdown .dropdown-item:hover {
    background: rgba(34, 211, 238, 0.1);
    color: #22d3ee;
    transform: translateX(4px);
}

.glass-dropdown .dropdown-divider {
    border-color: rgba(34, 211, 238, 0.2);
    margin: 0.5rem 0;
}

/* Enhanced user dropdown */
.navbar-nav .dropdown-menu {
    min-width: 200px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Quick action button */
/* Use .btn-circle for round icon buttons; don't override all small outline-light buttons */
.btn-circle.btn-outline-light.btn-sm {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-circle.btn-outline-light.btn-sm:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: #22d3ee;
    color: #22d3ee;
    transform: scale(1.1);
}

/* Modal enhancements */
.modal-content.glass-card {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(34, 211, 238, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 16px;
}

.modal-header {
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    padding: 1.5rem 2rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Toast notifications */
.toast-container {
    z-index: 9999;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(34, 211, 238, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.toast.bg-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(22, 163, 74, 0.9)) !important;
    border-color: rgba(34, 197, 94, 0.5);
}

.toast.bg-info {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.9), rgba(14, 165, 233, 0.9)) !important;
    border-color: rgba(56, 189, 248, 0.5);
}

.toast-body {
    font-weight: 500;
    padding: 1rem 1.25rem;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background: rgba(15, 23, 42, 0.95);
        border: 1px solid rgba(34, 211, 238, 0.3);
        border-radius: 12px;
        box-shadow: none;
    }
    
    .glass-dropdown .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content.glass-card {
        border-radius: 16px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }
    
    .btn-circle.btn-outline-light.btn-sm {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* Extra small screens */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.25rem;
    }
    
    .glass-dropdown .dropdown-item {
        padding: 1.25rem 1.75rem;
        font-size: 1.2rem;
    }
    
    .toast-body {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }
}/ *   C a c h e   b u s t   * / 
 
 