/**
 * ConfGuru - Azure Developer CLI Template For Planning App
 * Custom Bootstrap 5 Theme & Components
 */

/* ===== CORE VARIABLES - 2025 MODERN DESIGN SYSTEM ===== */
:root {
  /* 🎨 Premium Brand Colors - Latest Professional Trends */
  --bs-primary: #6366f1;      /* Modern Indigo - Primary Brand */
  --bs-primary-rgb: 99, 102, 241;
  --bs-primary-hover: #4f46e5; /* Deeper Indigo */
  --bs-secondary: #64748b;     /* Sophisticated Slate */
  --bs-success: #059669;       /* Modern Emerald */
  --bs-danger: #dc2626;        /* Refined Red */
  --bs-warning: #d97706;       /* Warm Orange */
  --bs-info: #0284c7;         /* Sky Blue */
  
  /* 🌟 2025 Professional Palette - Sophisticated & Modern */
  --conf-navy: #1e293b;       /* Deep Navy */
  --conf-blue: #3b82f6;       /* Bright Blue */
  --conf-purple: #8b5cf6;     /* Modern Purple */
  --conf-emerald: #10b981;    /* Trendy Emerald */
  --conf-rose: #f43f5e;       /* Accent Rose */
  
  /* 🎭 Advanced Grays - Premium Feel */
  --conf-gray-25: #fefefe;
  --conf-gray-50: #f8fafc;
  --conf-gray-100: #f1f5f9;
  --conf-gray-200: #e2e8f0;
  --conf-gray-300: #cbd5e1;
  --conf-gray-400: #94a3b8;
  --conf-gray-500: #64748b;
  --conf-gray-600: #475569;
  --conf-gray-700: #334155;
  --conf-gray-800: #1e293b;
  --conf-gray-900: #0f172a;
  --conf-gray-950: #020617;
  
  /* 🌈 Modern Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --gradient-secondary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --gradient-success: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-surface: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* ✨ Glassmorphism & Modern Effects */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --backdrop-blur: blur(16px);
  
  /* 🔥 Typography - Professional & Modern */
  --bs-body-font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --bs-headings-font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  
  /* 📐 Modern Layout System */
  --conf-border-radius: 0.875rem;    /* Slightly larger for modern feel */
  --conf-border-radius-lg: 1.25rem;  /* More rounded */
  --conf-border-radius-xl: 1.5rem;   /* Extra large */
  --conf-border-radius-2xl: 2rem;    /* Pill-like */
  
  /* 🎯 Enhanced Shadows - 2025 Style */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-colored: 0 10px 15px -3px rgba(99, 102, 241, 0.4), 0 4px 6px -4px rgba(99, 102, 241, 0.1);
  
  /* ⚡ Animation System */
  --animation-speed-fast: 0.15s;
  --animation-speed-normal: 0.25s;
  --animation-speed-slow: 0.35s;
  --animation-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  text-size-adjust: 100%;
}

/* ===== BASE STYLES - 2025 MODERN DESIGN ===== */
body {
  font-family: var(--bs-body-font-family);
  background: var(--gradient-surface);
  background-attachment: fixed;
  line-height: 1.65;
  color: var(--conf-gray-700);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-weight: 400;
  letter-spacing: -0.01em;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-wrapper {
  flex: 1 0 auto;
  position: relative;
}

/* ✨ Modern Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  z-index: -2;
  pointer-events: none;
}

/* 🎨 Modern Glass Container */
.glass-container {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--conf-border-radius-lg);
  box-shadow: var(--glass-shadow);
}

/* ===== NAVIGATION - MODERN GLASSMORPHISM ===== */
.navbar {
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  background: rgba(255, 255, 255, 0.85) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  padding: 1rem 0;
  transition: all var(--animation-speed-normal) var(--animation-ease);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--conf-gray-900) !important;
  letter-spacing: -0.025em;
  transition: all var(--animation-speed-fast) var(--animation-ease);
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--bs-primary) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--conf-gray-600) !important;
  padding: 0.625rem 1rem !important;
  border-radius: var(--conf-border-radius);
  transition: all var(--animation-speed-normal) var(--animation-ease);
  font-size: 0.9rem;
  position: relative;
  letter-spacing: -0.01em;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--animation-speed-normal) var(--animation-ease);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--bs-primary) !important;
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-1px);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 80%;
}

.nav-link.active {
  color: var(--bs-primary) !important;
  background: rgba(99, 102, 241, 0.08);
  font-weight: 600;
}

.dropdown-menu {
  border: 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-xl);
  border-radius: var(--conf-border-radius-lg);
  padding: 0.75rem 0;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.dropdown-item {
  padding: 0.625rem 1.25rem;
  font-weight: 450;
  color: var(--conf-gray-700);
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: var(--conf-light-blue);
  color: var(--bs-primary);
}

/* ===== 2025 PROFESSIONAL TYPOGRAPHY ===== */
.fw-semibold {
  font-weight: 600 !important;
}

.fw-medium {
  font-weight: 500 !important;
}

/* 🎨 Modern Heading Hierarchy */
h1, .h1 { 
  font-size: 2.5rem !important; 
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
}

h2, .h2 { 
  font-size: 2rem !important; 
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}

h3, .h3 { 
  font-size: 1.75rem !important; 
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.4 !important;
}

h4, .h4 { 
  font-size: 1.5rem !important; 
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

h5, .h5 { 
  font-size: 1.25rem !important; 
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

h6, .h6 { 
  font-size: 1.125rem !important; 
  font-weight: 500 !important;
}

/* ✨ Typography Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.text-glass {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== MODERN BUTTONS - 2025 DESIGN ===== */
.btn {
  font-weight: 500;
  border-radius: var(--conf-border-radius);
  padding: 0.625rem 1.25rem;
  border: 0;
  transition: all var(--animation-speed-normal) var(--animation-ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* ✨ Primary Button - Modern Gradient */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-md);
  position: relative;
}

.btn-primary::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: left var(--animation-speed-slow) var(--animation-ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-colored);
  background: linear-gradient(135deg, #5b61f0 0%, #7c3aed 50%, #c840e7 100%);
}

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

.btn-primary:active {
  transform: translateY(0);
  transition-duration: var(--animation-speed-fast);
}

/* 🎯 Outline Primary - Modern Glass */
.btn-outline-primary {
  background: rgba(99, 102, 241, 0.05);
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  color: var(--bs-primary);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
  background: var(--gradient-primary);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-success {
  background: linear-gradient(135deg, var(--bs-success) 0%, #15803d 100%);
  box-shadow: 0 4px 12px rgba(25, 135, 84, 0.25);
}

.btn-danger {
  background: linear-gradient(135deg, var(--bs-danger) 0%, #b91c1c 100%);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ===== MODERN CARDS - GLASSMORPHISM & MICRO-INTERACTIONS ===== */
.card {
  border: 0;
  border-radius: var(--conf-border-radius-lg);
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  transition: all var(--animation-speed-normal) var(--animation-ease);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--animation-speed-normal) var(--animation-ease);
}

/* Removed default card hover effect - applies only to interactive cards */

/* 🎨 Modern Card Header */
.card-header {
  background: var(--gradient-surface);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  font-weight: 600;
  color: var(--conf-gray-900);
  padding: 1.5rem;
  position: relative;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

/* 💫 Enhanced Card Body */
.card-body {
  padding: 1.5rem;
  position: relative;
}

/* 🌟 Modern Card Footer */
.card-footer {
  background: rgba(248, 250, 252, 0.8);
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  padding: 1.25rem 1.5rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ✨ Special Glass Card Variant */
.card-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* 🎯 Enhanced Card Interactions */
.card-interactive {
  cursor: pointer;
  transition: all var(--animation-speed-normal) var(--animation-ease);
}

.card-interactive:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: var(--shadow-colored);
}

/* ===== MODERN FORMS - ENHANCED UX ===== */
.form-control {
  border: 1.5px solid var(--conf-gray-300);
  border-radius: var(--conf-border-radius);
  padding: 0.875rem 1.125rem;
  font-weight: 450;
  transition: all var(--animation-speed-normal) var(--animation-ease);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
  outline: none;
}

.form-control::placeholder {
  color: var(--conf-gray-400);
  font-weight: 400;
}

/* 🎨 Modern Form Labels */
.form-label {
  font-weight: 600;
  color: var(--conf-gray-800);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

/* ✨ Input Groups with Glass Effect */
.input-group .form-control {
  border-right: 0;
}

.input-group-text {
  background: rgba(99, 102, 241, 0.05);
  border: 1.5px solid var(--conf-gray-300);
  border-left: 0;
  color: var(--bs-primary);
  font-weight: 500;
}

/* 🎯 Select Styling */
.form-select {
  border: 1.5px solid var(--conf-gray-300);
  border-radius: var(--conf-border-radius);
  padding: 0.875rem 1.125rem;
  font-weight: 450;
  transition: all var(--animation-speed-normal) var(--animation-ease);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  outline: none;
}

.form-select {
  border: 2px solid var(--conf-gray-200);
  border-radius: var(--conf-border-radius);
  padding: 0.75rem 1rem;
  font-weight: 500;
}

.form-check-input {
  border: 2px solid var(--conf-gray-300);
  border-radius: 0.375rem;
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* ===== ALERTS ===== */
.alert {
  border: 0;
  border-radius: var(--conf-border-radius-lg);
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  box-shadow: var(--conf-shadow);
}

.alert-success {
  background: linear-gradient(135deg, #d1fae5 0%, #bbf7d0 100%);
  color: #065f46;
}

.alert-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #991b1b;
}

.alert-info {
  background: linear-gradient(135deg, var(--conf-light-blue) 0%, #bfdbfe 100%);
  color: #1e40af;
}

.alert-warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

/* ===== BADGES ===== */
.badge {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.badge.bg-primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--conf-navy) 100%) !important;
}

.badge.bg-success {
  background: #107c10 !important;
  border: 1px solid #107c10 !important;
}

.badge.bg-info {
  background: #0078d4 !important;
  border: 1px solid #0078d4 !important;
}

.badge.bg-secondary {
  background: #d83b01 !important;
  border: 1px solid #d83b01 !important;
}

.keyword-badge {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.92) 0%, rgba(15, 118, 110, 0.92) 100%);
  color: #ffffff;
  border: 1px solid rgba(4, 120, 87, 0.9);
  box-shadow: 0 3px 8px rgba(6, 95, 70, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
}

.keyword-badge .fa-key {
  color: inherit;
}

/* ===== HERO SECTIONS ===== */
.hero-section {
  background: linear-gradient(135deg, var(--conf-navy) 0%, var(--bs-primary) 50%, #8b5cf6 100%);
  color: white;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><pattern id="pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5"/></pattern><rect width="100%" height="100%" fill="url(%23pattern)"/></g></g></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* ===== UTILITIES ===== */
.hover-text-primary:hover {
  color: var(--bs-primary) !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--conf-navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--conf-navy) 100%);
}

.shadow-custom {
  box-shadow: var(--conf-shadow);
}

.shadow-custom-lg {
  box-shadow: var(--conf-shadow-lg);
}

.border-custom {
  border: 1px solid var(--conf-gray-200) !important;
}

.rounded-custom {
  border-radius: var(--conf-border-radius) !important;
}

.rounded-custom-lg {
  border-radius: var(--conf-border-radius-lg) !important;
}

/* ===== TABLES ===== */
.table {
  border-radius: var(--conf-border-radius-lg);
  overflow: hidden;
  box-shadow: var(--conf-shadow);
}

.table thead th {
  background: linear-gradient(135deg, var(--conf-gray-50) 0%, #ffffff 100%);
  border: 0;
  font-weight: 600;
  color: var(--conf-gray-900);
  padding: 1.25rem 1rem;
}

.table tbody tr {
  border: 0;
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background-color: var(--conf-gray-50);
}

.table tbody td {
  padding: 1rem;
  border-top: 1px solid var(--conf-gray-200);
  vertical-align: middle;
}

/* ===== MODALS ===== */
.modal-content {
  border: 0;
  border-radius: var(--conf-border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  background: linear-gradient(135deg, var(--conf-gray-50) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--conf-gray-200);
  border-radius: var(--conf-border-radius-lg) var(--conf-border-radius-lg) 0 0;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  background-color: var(--conf-gray-50);
  border-top: 1px solid var(--conf-gray-200);
  border-radius: 0 0 var(--conf-border-radius-lg) var(--conf-border-radius-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0 2rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== CALENDAR & EVENT SPECIFIC ===== */
.event-card {
  border-left: 4px solid var(--bs-primary);
  transition: all 0.3s ease;
}

.event-card:hover {
  border-left-color: var(--conf-navy);
  transform: translateX(4px);
}

.event-registered {
  border-left-color: var(--bs-success);
}

.event-time-badge {
  background: linear-gradient(135deg, var(--conf-gray-100) 0%, var(--conf-gray-50) 100%);
  color: var(--conf-gray-700);
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--conf-border-radius);
  font-size: 0.875rem;
  min-width: 120px;
  text-align: center;
}

/* ===== STATUS INDICATORS ===== */
.status-online {
  color: var(--bs-success);
}

.status-offline {
  color: var(--conf-gray-500);
}

.status-busy {
  color: var(--bs-warning);
}

.status-away {
  color: var(--bs-danger);
}

/* ===== FOOTER ===== */
footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--conf-gray-300);
  }
}

/* ===== LINE CLAMP UTILITIES ===== */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== ADDITIONAL UTILITIES ===== */
.hover-shadow-sm:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hover-shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transition-all {
  transition: all 0.3s ease;
}

.hover-text-danger:hover {
  color: var(--bs-danger) !important;
}

.hover-bg-light:hover {
  background-color: var(--conf-gray-50) !important;
}

/* ===== SOFT BACKGROUND COLORS ===== */
.bg-primary-soft {
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--bs-primary);
}

.bg-success-soft {
  background-color: rgba(25, 135, 84, 0.1);
  color: var(--bs-success);
}

.bg-info-soft {
  background-color: rgba(13, 202, 240, 0.1);
  color: var(--bs-info);
}

.bg-warning-soft {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--bs-warning);
}

.bg-danger-soft {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--bs-danger);
}

.bg-secondary-soft {
  background-color: var(--conf-gray-100);
  color: var(--conf-gray-700);
}

.bg-purple {
  background-color: var(--conf-purple);
  color: #ffffff;
}

/* ===== TEXT COLORS ===== */
.text-gray-50 { color: var(--conf-gray-50); }
.text-gray-100 { color: var(--conf-gray-100); }
.text-gray-200 { color: var(--conf-gray-200); }
.text-gray-300 { color: var(--conf-gray-300); }
.text-gray-400 { color: var(--conf-gray-400); }
.text-gray-500 { color: var(--conf-gray-500); }
.text-gray-600 { color: var(--conf-gray-600); }
.text-gray-700 { color: var(--conf-gray-700); }
.text-gray-800 { color: var(--conf-gray-800); }
.text-gray-900 { color: var(--conf-gray-900); }

/* ===== LOGIN PAGE SPECIFIC ===== */
.login-container {
  min-height: calc(100vh - 120px);
  background: linear-gradient(135deg, var(--conf-gray-50) 0%, #ffffff 100%);
  padding: 3rem 0;
}

.login-card {
  max-width: 420px;
  border: 1px solid var(--conf-gray-200);
  border-radius: var(--conf-border-radius-lg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.login-card .card-body {
  padding: 2rem;
}

.login-icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--conf-gray-900);
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 0.9rem;
  color: var(--conf-gray-600);
  margin-bottom: 1.5rem;
}

.login-form .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--conf-gray-700);
  margin-bottom: 0.5rem;
}

.login-form .form-control {
  padding: 0.75rem;
  font-size: 0.9rem;
  border-radius: var(--conf-border-radius);
}

.login-form .btn {
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.login-notice {
  margin-top: 1rem;
}

.login-notice .alert {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--conf-border-radius);
  border: 1px solid #bee5eb;
  background: linear-gradient(135deg, #e7f6fd 0%, #f8f9fa 100%);
}

@media (max-width: 576px) {
  .login-card .card-body {
    padding: 1.5rem;
  }
  
  .login-title {
    font-size: 1.125rem;
  }
}

/* ===== ADDITIONAL UTILITIES ===== */

/* Text Clamping */
.text-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover Effects */
.hover-text-primary:hover {
  color: var(--bs-primary) !important;
}

.hover-text-secondary:hover {
  color: var(--bs-secondary) !important;
}

.hover-lift:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease;
}

/* Transition Utilities */
.transition-all {
  transition: all 0.15s ease-in-out;
}

.transition-hover {
  transition: all 0.3s ease;
}

/* Badge Variants */
.badge-event-type {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 1rem;
}

/* Empty State Icons */
.empty-state-icon {
  font-size: 4rem;
  color: var(--conf-gray-300);
  margin-bottom: 1rem;
}

.empty-state-icon i {
  opacity: 0.6;
}

/* Loading States */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus States */
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .btn {
    border-width: 2px;
  }
  
  .card {
    border-width: 2px;
  }
}

/* Dark Mode Preparations (for future implementation) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles would go here in a future update */
}

/* Print Styles */
@media print {
  .btn,
  .navbar,
  .footer {
    display: none !important;
  }
  
  .card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  
  .empty-state-icon {
    font-size: 3rem;
  }

  /* Hide Weekly View Button on Mobile */
  #weeklyViewBtn {
    display: none !important;
  }
}

/* ===== CALENDAR COMPONENT ===== */
.cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0;
  background: #faf9f8;
  border-bottom: 1px solid #edebe9;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #323130;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  background: #ffffff;
  border: 1px solid #edebe9;
  border-top: none;
}

.cal-day-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0.5rem;
  min-height: 80px;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.2s ease;
  border-right: 1px solid #edebe9;
  border-bottom: 1px solid #edebe9;
  background: #ffffff;
}

.cal-cell-empty {
  background: #ffffff;
  color: #323130;
  border: 1px solid #edebe9;
}

.cal-cell-empty:hover {
  background: #faf9f8;
  border-color: #0078d4;
}

.cal-cell-mine {
  background: #f0f9f4;
  color: #198754;
  border: 1px solid #198754;
  font-weight: 600;
}

.cal-cell-other {
  background: #ffffff;
  color: #323130;
  border: 1px solid #edebe9;
}

.cal-cell-mixed {
  background: #ffffff;
  color: #323130;
  border: 1px solid #edebe9;
}

.cal-today {
  background: #deecf9 !important;
  color: #005a9e !important;
  font-weight: 600;
}

.cal-selected {
  background: #f3f2f1 !important;
  border-color: #323130 !important;
}

.cal-event-dots {
  margin-top: 0.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.cal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  flex-shrink: 0;
}

.cal-dot-mine {
  background-color: var(--bs-success);
  box-shadow: 0 0 4px rgba(25, 135, 84, 0.4);
}

.cal-dot-other {
  background-color: var(--bs-danger);
}

.cal-event-dots .badge {
  font-size: 0.6rem;
  padding: 0.125rem 0.375rem;
  font-weight: 600;
}

.cal-event-dots .badge.bg-success {
  box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3);
  border: 1px solid #198754;
}

.cal-event-dots .badge.bg-info {
  box-shadow: 0 2px 4px rgba(13, 202, 240, 0.3);
  border: 1px solid #0dcaf0;
}

/* ===== MULTI-VIEW CALENDAR STYLES ===== */

/* Day View - Outlook Style */
.cal-day-view {
  padding: 0;
  min-height: 500px;
  background: #ffffff;
  border: 1px solid #edebe9;
}

.cal-day-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #605e5c;
  font-size: 14px;
}

.cal-day-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cal-time-slot {
  display: flex;
  border-bottom: 1px solid #edebe9;
  min-height: 60px;
}

.cal-time-slot:last-child {
  border-bottom: none;
}

.cal-time-label {
  width: 80px;
  padding: 12px 8px;
  font-size: 12px;
  color: #605e5c;
  font-weight: 500;
  text-align: right;
  border-right: 1px solid #edebe9;
  background: #faf9f8;
  flex-shrink: 0;
}

.cal-time-events {
  flex: 1;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cal-day-event-item {
  background: #ffffff;
  border: 1px solid #edebe9;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cal-day-event-item:hover {
  border-color: #0078d4;
  box-shadow: 0 1px 3px rgba(0, 120, 212, 0.15);
}

.cal-day-event-item.registered {
  border-left: 3px solid #107c10;
  background: linear-gradient(90deg, #f3f9f3 0%, #ffffff 100%);
}

.cal-day-event-item.available {
  border-left: 3px solid #d83b01;
  background: linear-gradient(90deg, #fff4f1 0%, #ffffff 100%);
}

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

.event-title {
  font-size: 13px;
  font-weight: 600;
  color: #323130;
  line-height: 1.3;
  flex: 1;
  margin-right: 8px;
}

.event-status i {
  font-size: 12px;
}

.event-time-display {
  font-size: 11px;
  color: #605e5c;
  font-weight: 500;
  margin-bottom: 4px;
}

.event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #605e5c;
}

.attendee-count {
  display: flex;
  align-items: center;
  gap: 4px;
}

.attendee-count i {
  font-size: 10px;
}

.btn-details {
  background: none;
  border: none;
  color: #0078d4;
  font-size: 11px;
  padding: 2px 4px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: background-color 0.15s ease;
}

.btn-details:hover {
  background-color: #f3f2f1;
  text-decoration: none;
}

/* Responsive design for daily view */
@media (max-width: 768px) {
  .cal-time-label {
    width: 60px;
    font-size: 11px;
    padding: 8px 4px;
  }
  
  .cal-time-events {
    padding: 6px;
  }
  
  .cal-day-event-item {
    padding: 6px 8px;
  }
  
  .event-title {
    font-size: 12px;
  }
  
  .event-meta {
    font-size: 10px;
  }
  
  .btn-details {
    font-size: 10px;
    padding: 1px 3px;
  }
}

/* Week View - Outlook Style */
.cal-week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0;
  background: #faf9f8;
  border-bottom: 1px solid #edebe9;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #323130;
}

.cal-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  min-height: 400px;
  background: #ffffff;
  border: 1px solid #edebe9;
  border-top: none;
}

.cal-week-cell {
  min-height: 150px !important;
  padding: 0.5rem !important;
  align-items: flex-start !important;
  background: #ffffff;
  border-right: 1px solid #edebe9;
  border-bottom: 1px solid #edebe9;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.cal-week-cell:hover {
  background: #faf9f8;
}

.cal-week-day-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #323130;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #edebe9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cal-week-events {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Outlook-style Event Blocks - Clean Color Scheme */
.cal-week-event-block {
  background: #ffffff;
  border: 1px solid #edebe9;
  border-left: 3px solid #d83b01;
  color: #323130;
  padding: 0.375rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.7rem;
  line-height: 1.3;
  background: linear-gradient(90deg, #fff4f1 0%, #ffffff 100%);
}

.cal-week-event-block:hover {
  border-color: #0078d4;
  box-shadow: 0 1px 3px rgba(0, 120, 212, 0.15);
}

.cal-week-event-block.registered {
  border-left-color: #107c10;
  background: linear-gradient(90deg, #f3f9f3 0%, #ffffff 100%);
}

.cal-week-event-block.registered:hover {
  border-color: #0078d4;
  box-shadow: 0 1px 3px rgba(0, 120, 212, 0.15);
}

.cal-week-event-block.not-registered {
  border-left-color: #d83b01;
  background: linear-gradient(90deg, #fff4f1 0%, #ffffff 100%);
}

.cal-week-event-block.not-registered:hover {
  border-color: #0078d4;
  box-shadow: 0 1px 3px rgba(0, 120, 212, 0.15);
}

.cal-week-event-block .event-time {
  font-weight: 600;
  font-size: 0.65rem;
  margin-bottom: 0.125rem;
  color: #605e5c;
}

.cal-week-event-block .event-time-range {
  font-weight: 600;
  font-size: 0.65rem;
  margin-bottom: 0.125rem;
  color: #605e5c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-week-event-block .event-title {
  font-weight: 600;
  margin-bottom: 0.125rem;
  line-height: 1.2;
  color: #323130;
}

.cal-week-event-block .event-attendees {
  font-size: 0.6rem;
  color: #605e5c;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cal-week-event-block .event-attendees i {
  font-size: 0.5rem;
}

.cal-week-more-events {
  font-size: 0.65rem;
  color: #0078d4;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  text-align: center;
  border: 1px dashed #edebe9;
  border-radius: 4px;
  transition: all 0.15s ease;
  background: #faf9f8;
}

.cal-week-more-events:hover {
  background: #f3f2f1;
  border-color: #0078d4;
  color: #106ebe;
}

/* Month View - Outlook Style Consistency */
.cal-day-number {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #323130;
  padding: 0.25rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.8);
}

/* Removed duplicate cal-dot definitions - using original circular dots from earlier in file */

/* Event Detail Modal Enhancements */
.event-detail-card {
  background: white;
  border-radius: var(--conf-border-radius-lg);
}

.event-detail-card h4 {
  color: var(--bs-primary) !important;
  margin-bottom: 1rem;
}

.event-detail-card .text-muted {
  font-size: 0.9rem;
}

.event-detail-card .text-muted strong {
  color: var(--conf-gray-700);
}

/* View Mode Buttons */
.view-mode-buttons .btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.view-mode-buttons .btn-primary {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

.view-mode-buttons .btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.view-mode-buttons .btn-outline-primary:hover {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(-1px);
}

/* Mobile Responsive Calendar */
@media (max-width: 768px) {
  .cal-week-cell {
    min-height: 120px !important;
    padding: 0.375rem !important;
  }
  
  .cal-week-event-block {
    padding: 0.25rem 0.375rem;
    font-size: 0.65rem;
  }
  
  .cal-week-event-block .event-time {
    font-size: 0.6rem;
  }
  
  .cal-week-event-block .event-attendees {
    font-size: 0.55rem;
  }
  
  .cal-week-day-name {
    font-size: 0.7rem;
  }
  
  .view-mode-buttons .btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .cal-day-view {
    padding: 0.5rem;
  }
  
  .cal-day-event {
    padding: 1rem !important;
  }
  
  .cal-week-grid {
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .cal-week-grid {
    gap: 1px;
    min-height: 300px;
  }
  
  .cal-week-cell {
    min-height: 100px !important;
    padding: 0.25rem !important;
  }
  
  .cal-week-event-block {
    font-size: 0.6rem;
    padding: 0.2rem 0.3rem;
  }
  
  .cal-week-event-block .event-time {
    font-size: 0.55rem;
  }
  
  .cal-week-event-block .event-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .cal-week-event-block .event-attendees {
    font-size: 0.5rem;
  }
  
  .cal-week-day-name {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }
  
  .view-mode-buttons {
    flex-wrap: wrap;
  }
  
  .view-mode-buttons .btn {
    flex: 1;
    min-width: 0;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Compact month view for mobile */
  .cal-day-cell {
    min-height: 50px;
    font-size: 0.7rem;
  }
  
  .cal-day-number {
    font-size: 0.75rem;
  }
}

/* Performance: GPU Acceleration for Smooth Animations */
.card,
.btn,
.feature-icon {
  will-change: transform;
  transform: translateZ(0);
}

/* ===== MOBILE OPTIMIZATIONS ===== */
/* Enhanced mobile filter buttons */
@media (max-width: 576px) {
  .btn-group .btn {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.5rem !important;
    white-space: nowrap;
  }
  
  .btn-group .btn i {
    font-size: 0.65rem;
    margin-right: 0.25rem !important;
  }
  
  /* Stack filter controls vertically on very small screens */
  .calendar-controls {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .calendar-controls .btn-group {
    width: 100%;
    display: flex !important;
  }
  
  .calendar-controls .btn-group .btn {
    flex: 1;
    min-width: 0;
  }
  
  /* Reduce gaps on mobile */
  .gap-2 {
    gap: 0.25rem !important;
  }
  
  .gap-3 {
    gap: 0.5rem !important;
  }
}

/* ===== MODERN VIEW SELECTOR ===== */
.modern-view-selector {
  display: flex;
  background: #f8fafc;
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.view-btn:hover:not(.active) {
  background: rgba(59, 130, 246, 0.08);
  color: #475569;
  transform: translateY(-1px);
}

.view-btn.active {
  background: white;
  color: #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.view-icon {
  font-size: 0.875rem;
  opacity: 0.8;
}

.view-btn.active .view-icon {
  opacity: 1;
}

.view-label {
  font-size: 0.8rem;
  letter-spacing: 0.025em;
}

/* ===== MODERN EVENT FILTER PILLS ===== */
.event-filter-pills {
  display: flex;
  background: #f8fafc;
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.filter-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}

.filter-pill:hover:not(.active) {
  background: rgba(59, 130, 246, 0.08);
  color: #475569;
  transform: translateY(-1px);
}

.filter-pill.active {
  background: white;
  color: #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.pill-icon {
  font-size: 0.875rem;
  opacity: 0.8;
}

.filter-pill.active .pill-icon {
  opacity: 1;
}

.pill-text {
  font-size: 0.8rem;
  letter-spacing: 0.025em;
}

.pill-text {
  font-weight: 500;
  letter-spacing: 0.025em;
}



/* ===== 2025 MODERN ANIMATIONS & MICRO-INTERACTIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* ✨ Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--animation-ease) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.5s var(--animation-ease) forwards;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 🎯 Stagger Animation for Lists */
.animate-stagger > * {
  opacity: 0;
  animation: fadeInUp 0.6s var(--animation-ease) forwards;
}

.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
.animate-stagger > *:nth-child(5) { animation-delay: 0.5s; }

/* ===== 2025 MOBILE-FIRST RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  /* 📱 Enhanced Mobile Navigation */
  .navbar {
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* 🎨 Mobile Card Optimizations */
  .card {
    border-radius: var(--conf-border-radius);
    margin-bottom: 1rem;
  }
  
  /* Removed mobile card hover - too distracting on small screens */
  
  /* 🔘 Mobile Button Improvements */
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: var(--conf-border-radius);
  }
  
  /* 📋 Mobile Form Enhancements */
  .form-control, .form-select {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: var(--conf-border-radius);
  }
  
  /* 🎯 Mobile Filter Pills */
  .modern-view-selector {
    width: 100%;
    justify-content: center;
  }
  
  .view-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 8px;
  }
  
  .view-label {
    display: none;
  }
  
  .view-icon {
    font-size: 1rem;
  }
  
  .event-filter-pills {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .filter-pill {
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding: 0.75rem 1rem;
  }
  
  .pill-text {
    font-size: 0.8rem;
  }
  
  /* 💫 Enhanced Mobile Interactions */
  .feature-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .text-gradient {
    font-size: 1.5rem !important;
  }
  
  /* 🎨 Mobile Glass Effects */
  .glass-container {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: var(--conf-border-radius);
  }
  
  /* 📱 Mobile Typography Adjustments */
}

/* ===== REPLACEMENT BADGE STYLES - PREVENT LAYOUT SHIFT ===== */
.replacement-new-badge {
  display: inline-block !important;
  min-width: 35px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Ensure title cell doesn't shift when badge appears/disappears */
.session-row td:nth-child(2) > div {
  min-height: 1.5rem;
}
  h1, .h1 { font-size: 2rem !important; }
  h2, .h2 { font-size: 1.75rem !important; }
  h3, .h3 { font-size: 1.5rem !important; }
  
  /* ⚡ Performance Optimizations */
  .card-interactive:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* ===== MODERN KEYWORD MANAGEMENT STYLES ===== */
.keyword-card-modern {
  transition: all 0.2s ease;
  border-radius: 12px;
}

.keyword-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.keyword-importance-list .empty-state {
  background: var(--conf-gray-50);
  border-radius: 12px;
  padding: 3rem 1rem;
}

#importanceTabs .nav-link {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

#importanceTabs .nav-link:hover {
  background: var(--conf-gray-100);
}

#importanceTabs .nav-link.active {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.keyword-card-modern .card-body {
  padding: 1.25rem;
}

.keyword-card-modern h6 {
  color: var(--conf-gray-900);
  font-size: 1rem;
}

.keyword-card-modern .badge {
  font-weight: 500;
  padding: 0.35rem 0.65rem;
}

/* Keyword modal improvements */
#keywordModal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

#keywordModal .modal-header {
  background: var(--gradient-primary);
  color: white;
  border-radius: 16px 16px 0 0;
  padding: 1.25rem 1.5rem;
}

#keywordModal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

#keywordModal .form-label {
  font-weight: 600;
  color: var(--conf-gray-700);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#keywordModal .form-control,
#keywordModal .form-select {
  border-radius: 8px;
  border: 2px solid var(--conf-gray-200);
  padding: 0.625rem 0.875rem;
  transition: all 0.2s ease;
}

#keywordModal .form-control:focus,
#keywordModal .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ===== REPORT ISSUE WIDGET ===== */
.report-issue-modal {
  z-index: 2050;
}

.modal-backdrop.report-issue-backdrop {
  z-index: 2045 !important;
}

.report-issue-annotation-modal {
  z-index: 2100;
}

.modal-backdrop.report-issue-annotation-backdrop {
  z-index: 2095 !important;
}

.report-issue-fab {
  position: fixed;
  right: 2rem;
  bottom: 2.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 1080;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 18rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.report-issue-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.report-issue-fab i {
  font-size: 1rem;
}

.report-issue-text {
  font-weight: 600;
  font-size: 0.875rem;
}

.report-issue-screenshot-placeholder {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.05);
}

.report-issue-screenshot-image {
  max-width: 100%;
  border-radius: var(--conf-border-radius);
  box-shadow: var(--shadow-md);
}

.border-dashed {
  border-style: dashed !important;
}

@media (max-width: 767.98px) {
  .report-issue-fab {
    right: 1.25rem;
    bottom: 1.75rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    max-width: calc(100vw - 2.5rem);
  }

  .report-issue-fab i {
    font-size: 0.95rem;
  }
  
  .report-issue-text {
    font-size: 0.8125rem;
  }
}

/* ===== ANNOTATION MODAL STYLES ===== */
#reportIssueAnnotationModal .modal-content {
  height: 100vh;
}

#reportIssueAnnotationModal canvas {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: var(--conf-border-radius);
}

.annotation-tool-btn {
  min-width: 42px;
  transition: all 0.2s ease;
}

.annotation-tool-btn.active {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: white !important;
}

.annotation-tool-btn:hover:not(.active) {
  background-color: rgba(255, 255, 255, 0.1);
}

#annotationColorPicker {
  cursor: pointer;
  border: 2px solid #fff;
}

#annotationStrokeWidth {
  cursor: pointer;
}

.vr {
  width: 1px;
  min-height: 30px;
}

.canvas-container {
  margin: 0 auto !important;
}

.upper-canvas {
  cursor: crosshair !important;
}

