/*
 File: main.css
 Path: assets/css/main.css
 Last Edited: 2025-08-08T20:54:36-07:00
 Author: Cascade

 Purpose:
 - Defines the global styles, design system application, and layout for Draco Staff Development.
 - Implements modern, professional UI with dark/blue/grey/white palette, gradients, shadows, and responsive design.

 Sections:
 - [Reset/Base]
 - [Typography]
 - [Header/Nav]
 - [Login Page]
 - [Dashboard]
 - [Buttons]
 - [Cards]
 - [Tables]
 - [Utilities]
*/

/* [Reset/Base] */
html, body { height: 100%; }
body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}
a { color: #0D47A1; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #1976D2; text-decoration: none; }

/* [Typography] */
.h-section {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: 0 8px 32px rgba(13, 71, 161, 0.15);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* [Modern Header] */

/* Prevent Bootstrap from overriding our dropdown styles */
.dropdown-toggle:focus {
  box-shadow: none !important;
}

.dropdown-toggle.active:focus {
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}
.modern-layout {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
}

.modern-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-nav {
  padding: 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem 0 0 !important;
  height: 80px;
}

/* Brand Section - Move logo much closer to left edge */
.brand-section {
  flex-shrink: 0;
  margin-left: -1rem !important;
  padding-left: 0 !important;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem 0.25rem 0 !important;
  border-radius: 12px;
  margin-left: -0.5rem !important;
}

/* Additional rules to force logo positioning */
.modern-header .nav-container .brand-section {
  margin-left: -1.5rem !important;
  padding-left: 0.5rem !important;
}

.modern-header .brand-section .brand-link {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Final aggressive rule to move logo to left edge */
header.modern-header nav.header-nav div.nav-container div.brand-section {
  margin-left: -2rem !important;
  transform: translateX(-10px) !important;
}

.brand-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.brand-icon {
  width: 60px;
  height: 60px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.brand-icon i {
  font-size: 1.5rem;
  color: white;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

.brand-text {
  color: white;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-top: -2px;
}

/* Navigation Section */
.nav-section {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::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.5s;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

.nav-link.active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}

/* Ensure dropdown toggles get the same active styling */
.nav-link.dropdown-toggle.active,
.nav-item .nav-link.dropdown-toggle.active,
.navbar-nav .nav-item .nav-link.dropdown-toggle.active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
  border: none !important;
}

/* Override Bootstrap dropdown toggle styling when active */
.nav-link.dropdown-toggle.active::after,
.nav-item .nav-link.dropdown-toggle.active::after,
.navbar-nav .nav-item .nav-link.dropdown-toggle.active::after {
  border-top-color: #ffffff !important;
}

/* Force active state for dropdown toggles */
.nav-link.dropdown-toggle.active:hover,
.nav-link.dropdown-toggle.active:focus,
.nav-link.dropdown-toggle.active:active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
}

/* ROBUST DROPDOWN NAVIGATION FIX - Maximum Specificity */

/* Base active state for dropdown toggles */
.nav-item.dropdown .nav-link.dropdown-toggle.active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}

/* Maintain active state when dropdown is shown */
.nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"],
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}

/* Force text color to stay white - all possible selectors */
.nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"],
.nav-item.dropdown.show .nav-link.dropdown-toggle.active .nav-text,
.nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] .nav-text,
.nav-item.dropdown.show .nav-link.dropdown-toggle.active .nav-icon,
.nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] .nav-icon,
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"],
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active .nav-text,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] .nav-text,
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active .nav-icon,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] .nav-icon {
  color: #ffffff !important;
}

/* Override Bootstrap's default dropdown toggle styling */
.nav-item.dropdown .nav-link.dropdown-toggle.active:hover,
.nav-item.dropdown .nav-link.dropdown-toggle.active:focus,
.nav-item.dropdown .nav-link.dropdown-toggle.active:active,
.nav-item.dropdown.show .nav-link.dropdown-toggle.active:hover,
.nav-item.dropdown.show .nav-link.dropdown-toggle.active:focus,
.nav-item.dropdown.show .nav-link.dropdown-toggle.active:active,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active:hover,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active:focus,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active:active,
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active:hover,
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active:focus,
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active:active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}

/* Prevent any Bootstrap overrides */
.dropdown-toggle.active.show,
.dropdown-toggle.active[aria-expanded="true"],
.nav-link.dropdown-toggle.active.show,
.nav-link.dropdown-toggle.active[aria-expanded="true"] {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* Force dropdown arrow to stay white */
.nav-link.dropdown-toggle.active::after,
.nav-link.dropdown-toggle.active.show::after,
.nav-link.dropdown-toggle.active[aria-expanded="true"]::after {
  border-top-color: #ffffff !important;
}

/* Additional specificity for stubborn cases */
html body .modern-header .nav-container .nav-section .nav-links .nav-item.dropdown .nav-link.dropdown-toggle.active,
html body .modern-header .nav-container .nav-section .nav-links .nav-item.dropdown.show .nav-link.dropdown-toggle.active,
html body .modern-header .nav-container .nav-section .nav-links .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}

/* Override Bootstrap's dropdown toggle color changes */
.dropdown-toggle.active:focus,
.dropdown-toggle.active[aria-expanded="true"],
.dropdown.show .dropdown-toggle.active,
.nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"],
.nav-link.dropdown-toggle.active.show,
.nav-link.dropdown-toggle[aria-expanded="true"].active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Very specific override for Bootstrap dropdown behavior */
.navbar-nav .nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"],
.nav-links .nav-item.dropdown.show .nav-link.dropdown-toggle.active,
.nav-links .nav-item.dropdown .nav-link.dropdown-toggle.active[aria-expanded="true"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  text-decoration: none !important;
}

/* Ultimate override - target every possible Bootstrap dropdown state */
a.nav-link.dropdown-toggle.active,
a.nav-link.dropdown-toggle.active:hover,
a.nav-link.dropdown-toggle.active:focus,
a.nav-link.dropdown-toggle.active:active,
a.nav-link.dropdown-toggle.active.show,
a.nav-link.dropdown-toggle[aria-expanded="true"].active,
.dropdown-toggle.nav-link.active,
.dropdown-toggle.nav-link.active:hover,
.dropdown-toggle.nav-link.active:focus,
.dropdown-toggle.nav-link.active:active,
.dropdown-toggle.nav-link.active.show,
.dropdown-toggle.nav-link[aria-expanded="true"].active,
.nav-item.dropdown.show > a.nav-link.dropdown-toggle.active,
.nav-item.dropdown > a.nav-link.dropdown-toggle.active[aria-expanded="true"],
.nav-item.dropdown > a.nav-link.dropdown-toggle.active:hover,
.nav-item.dropdown > a.nav-link.dropdown-toggle.active:focus {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-color: transparent !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}

/* Force consistent styling for ALL navigation menu items when active */
.nav-link.active,
.nav-item .nav-link.active,
.navbar-nav .nav-item .nav-link.active,
.nav-links .nav-item .nav-link.active {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3) !important;
}

/* Ensure text and icons stay white in active navigation items */
.nav-link.active .nav-text,
.nav-link.active .nav-icon,
.nav-item .nav-link.active .nav-text,
.nav-item .nav-link.active .nav-icon {
  color: #ffffff !important;
}

/* Force text color for nested elements */
a.nav-link.dropdown-toggle.active .nav-text,
a.nav-link.dropdown-toggle.active:hover .nav-text,
a.nav-link.dropdown-toggle.active:focus .nav-text,
a.nav-link.dropdown-toggle.active.show .nav-text,
a.nav-link.dropdown-toggle[aria-expanded="true"].active .nav-text,
.nav-item.dropdown.show > a.nav-link.dropdown-toggle.active .nav-text,
.nav-item.dropdown > a.nav-link.dropdown-toggle.active[aria-expanded="true"] .nav-text {
  color: #ffffff !important;
}

/* Override Bootstrap's default link colors */
.nav-link.dropdown-toggle.active,
.nav-link.dropdown-toggle.active:hover,
.nav-link.dropdown-toggle.active:focus,
.nav-link.dropdown-toggle.active:active,
.nav-link.dropdown-toggle.active.show,
.nav-link.dropdown-toggle[aria-expanded="true"].active {
  color: #ffffff !important;
  background-color: transparent !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* NUCLEAR OPTION - Override everything Bootstrap might do */
[data-bs-toggle="dropdown"].nav-link.active,
[data-bs-toggle="dropdown"].nav-link.active *,
.dropdown-toggle.nav-link.active,
.dropdown-toggle.nav-link.active *,
.nav-item.dropdown .nav-link.active,
.nav-item.dropdown .nav-link.active *,
.nav-item.dropdown.show .nav-link.active,
.nav-item.dropdown.show .nav-link.active *,
.nav-item.dropdown[aria-expanded="true"] .nav-link.active,
.nav-item.dropdown[aria-expanded="true"] .nav-link.active * {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Force white text on ALL child elements of active dropdown toggles */
.nav-link.dropdown-toggle.active,
.nav-link.dropdown-toggle.active:hover,
.nav-link.dropdown-toggle.active:focus,
.nav-link.dropdown-toggle.active:active,
.nav-link.dropdown-toggle.active.show,
.nav-link.dropdown-toggle[aria-expanded="true"].active {
  color: #ffffff !important;
}

.nav-link.dropdown-toggle.active *,
.nav-link.dropdown-toggle.active:hover *,
.nav-link.dropdown-toggle.active:focus *,
.nav-link.dropdown-toggle.active:active *,
.nav-link.dropdown-toggle.active.show *,
.nav-link.dropdown-toggle[aria-expanded="true"].active * {
  color: #ffffff !important;
}

.nav-icon {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.nav-text {
  font-weight: 600;
}

/* User Section */
.user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.notification-btn {
  position: relative;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.75rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #60a5fa;
  transform: translateY(-1px);
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.user-profile {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 0.75rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.user-info {
  margin-right: 0.75rem;
}

.user-name {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}

.user-role {
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
}

.user-dropdown-icon {
  color: #cbd5e1;
  transition: transform 0.3s ease;
}

.user-profile:hover .user-dropdown-icon {
  transform: rotate(180deg);
}

/* User Dropdown */
.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px 16px 0 0;
}

.dropdown-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 1rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dropdown-user-info {
  flex: 1;
}

.dropdown-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.dropdown-email {
  color: #6b7280;
  font-size: 0.875rem;
}

.dropdown-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0.5rem 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.5rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: #0D47A1;
  transform: none;
}

.dropdown-item.logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.dropdown-icon {
  width: 20px;
  margin-right: 0.75rem;
  text-align: center;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.mobile-nav.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-content {
  padding: 1rem;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: #e2e8f0;
  text-decoration: none;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.mobile-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  transform: translateX(8px);
}

.mobile-nav-item.active {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: white;
}

.mobile-nav-item i {
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

/* Animations */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Modern Footer */
.modern-footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  color: #e2e8f0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Status Indicators */
.status-indicators {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #e2e8f0 !important;
}

.status-item span {
  color: #e2e8f0 !important;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-online {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-warning {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.status-error {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.footer-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  transform: translateX(4px);
}

.footer-link i {
  width: 16px;
  text-align: center;
}

/* System Info */
.system-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.info-label {
  color: #94a3b8;
  font-weight: 500;
}

.info-value {
  color: #e2e8f0;
  font-weight: 600;
  font-family: 'Monaco', 'Menlo', monospace;
}

/* Performance Metrics */
.performance-metrics {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.metric-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.metric-circle::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 0.5s;
}

.metric-circle:hover::before {
  left: 100%;
}

.metric-value {
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.metric-label {
  color: #e2e8f0 !important;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  display: flex;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  color: #94a3b8;
  font-size: 0.8rem;
}

.meta-separator {
  color: #64748b;
  font-weight: 300;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loading-overlay.show {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(96, 165, 250, 0.3);
  border-top: 3px solid #60a5fa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.9rem;
}

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

@keyframes scaleIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Main Content Layout */
.main-content {
  flex: 1;
  padding: 2rem;
  min-height: calc(100vh - 80px - 200px); /* Adjust for header and footer */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .nav-section {
    margin: 0 1rem;
  }
  
  .user-info {
    display: none;
  }
  
  .footer-container {
    padding: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
    height: 70px;
  }
  
  .nav-section {
    display: none;
  }
  
  .notification-btn {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .brand-subtitle {
    font-size: 0.8rem;
  }
  
  .brand-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
  }
  
  .brand-icon i {
    font-size: 1.25rem;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .footer-container {
    padding: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .footer-meta {
    justify-content: center;
  }
  
  .performance-metrics {
    gap: 1rem;
  }
  
  .metric-circle {
    width: 50px;
    height: 50px;
  }
  
  .metric-value {
    font-size: 0.8rem;
  }
}

/* Dashboard Styles */
.dashboard-container {
  padding: 0;
  max-width: 100%;
}

/* Dashboard Hero Section */
.dashboard-hero {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  color: white;
  padding: 2rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.dashboard-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.greeting-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.greeting-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  animation: float 3s ease-in-out infinite;
}

.greeting-icon i {
  font-size: 2rem;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.hero-name {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
  font-weight: 400;
}

.hero-date {
  color: #60a5fa;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon-small {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-small.online {
  background: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

/* Quick Actions */
.quick-actions {
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.action-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.5s;
}

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

.action-btn.primary {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-btn.secondary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.action-btn.accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.action-btn.neutral {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.action-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.action-btn i {
  font-size: 1.5rem;
}

.action-btn span {
  font-weight: 500;
  font-size: 0.9rem;
}

/* Dashboard Grid */
.dashboard-grid {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.dashboard-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  color: white;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}



/* Enhanced status card color variants - no pink, yellow, or orange */
.stat-card.primary {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.3);
}

.stat-card.secondary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 8px 32px rgba(5, 150, 105, 0.3);
}

.stat-card.accent {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3);
}

.stat-card.neutral {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  box-shadow: 0 8px 32px rgba(55, 65, 81, 0.3);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.5rem;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.2);
  color: white;
}



.stat-content {
  text-align: left;
}

.stat-card .stat-subtitle,
.stat-card p.stat-subtitle,
.stat-subtitle,
.dashboard-container .stat-card .stat-subtitle {
  font-size: 0.8rem !important;
  color: #ffffff !important;
  margin-top: 0.75rem;
  font-weight: 500;
  font-style: italic;
}

/* Additional specificity for subtitle text */
.stats-grid .stat-card .stat-subtitle {
  color: #ffffff !important;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0.75rem 0 0 0;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.stat-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  transition: width 1.5s ease;
}

.progress-bar.warning {
  background: rgba(255, 255, 255, 0.6);
}

.progress-bar.success {
  background: rgba(255, 255, 255, 0.9);
}

/* Feature Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
}

.feature-card.employees::before {
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
}

.feature-card.training::before {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.feature-card.compliance::before {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.feature-card.system::before {
  background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%);
}

.feature-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.feature-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.feature-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.feature-card.training .card-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.feature-card.compliance .card-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.feature-card.system .card-icon {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.card-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
}

.card-description {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.feature-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
  color: white;
}

.btn-secondary {
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-secondary:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

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

@keyframes countUp {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fillProgress {
  0% { width: 0; }
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
  .dashboard-hero {
    padding: 2rem 1.5rem;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
  }
  
  .quick-actions, .dashboard-grid {
    padding: 0 1.5rem;
  }
  
  .actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-hero {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .greeting-section {
    flex-direction: column;
    gap: 1rem;
  }
  
  .greeting-icon {
    width: 60px;
    height: 60px;
  }
  
  .greeting-icon i {
    font-size: 1.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }
  
  .quick-actions, .dashboard-grid {
    padding: 0 1rem;
  }
  
  .dashboard-section {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .action-btn {
    padding: 1rem;
  }
  
  .action-btn i {
    font-size: 1.25rem;
  }
  
  .action-btn span {
    font-size: 0.8rem;
  }
}

/* Employee Management Styles */
.employee-management {
  padding: 0;
  max-width: 100%;
}

/* Training Management Styles */
.training-management {
  padding: 0;
  max-width: 100%;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
}

.page-subtitle {
  font-size: 1.1rem;
  margin: 0.5rem 0 0 0;
  opacity: 0.9;
}

.header-actions .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Filters Section */
.filters-section {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.filters-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 300px;
}

.search-box .input-group-text {
  background: #f8fafc;
  border-right: none;
  color: #64748b;
}

.search-box .form-control {
  border-left: none;
  padding-left: 0;
}

.search-box .form-control:focus {
  border-left: none;
  box-shadow: none;
}

.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-controls .form-select {
  min-width: 150px;
}

/* Statistics Cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon.departments {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.stat-icon.new-hires {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-icon.total {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.stat-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

.stat-content p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Table Section */
.table-section {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.table-header {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-header h3 {
  margin: 0;
  color: #1e293b;
  font-weight: 600;
}

.table-info {
  color: #64748b;
  font-size: 0.9rem;
}

/* Employee Table */
.employee-table {
  margin: 0;
}

.employee-table th {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 600;
  color: #374151;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.employee-table th.sortable {
  cursor: pointer;
  user-select: none;
}

.employee-table td {
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: middle;
}

.employee-table tbody tr:hover {
  background-color: #f8f9fa;
}

.employee-id {
  font-weight: 600;
  color: #2c3e50;
}

.employee-name strong {
  color: #2c3e50;
  font-size: 1.1em;
}

.employee-email {
  color: #6c757d;
  font-size: 0.9em;
  margin-top: 2px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-inactive {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-on-leave {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-terminated {
  background-color: #f1f3f4;
  color: #495057;
  border: 1px solid #dee2e6;
}

.action-buttons .btn {
  margin-right: 5px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.action-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state i {
  opacity: 0.5;
}

.sortable {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
}

.sortable:hover {
  background-color: rgba(255,255,255,0.1);
}

.sortable i {
  margin-left: 8px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.sortable:hover i {
  opacity: 1;
}

/* Bulk Actions Styles */
.bulk-actions-section {
  animation: slideDown 0.3s ease-out;
}

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

.bulk-actions-section .card {
  border: 2px solid #e3f2fd;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bulk-info {
  font-weight: 600;
  color: #2c3e50;
}

.bulk-buttons .btn {
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.bulk-buttons .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Checkbox styles */
.employee-checkbox {
  transform: scale(1.2);
  margin: 0;
}

.form-check-input:checked {
  background-color: #1e3c72;
  border-color: #1e3c72;
}

.form-check-input:indeterminate {
  background-color: #6c757d;
  border-color: #6c757d;
}

/* Pagination */
.pagination-section {
  padding: 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.pagination .page-link {
  border: none;
  color: #64748b;
  padding: 0.5rem 0.75rem;
  margin: 0 0.125rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  background: #e2e8f0;
  color: #374151;
}

.pagination .page-item.active .page-link {
  background: #3b82f6;
  color: white;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal Enhancements */
.modal-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
}

.modal-title {
  font-weight: 600;
  color: #1e293b;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* Form Enhancements */
.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.75rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group-text {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  color: #6b7280;
}

/* Employee Details */
.employee-details h4 {
  color: #1e293b;
  font-weight: 700;
}

.employee-details h6 {
  color: #374151;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.employee-details .table {
  margin-bottom: 0;
}

.employee-details .table td {
  padding: 0.5rem 0;
  border: none;
}

.employee-details .table td:first-child {
  width: 40%;
  color: #6b7280;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .employee-management {
    padding: 1.5rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .filters-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    min-width: auto;
  }
  
  .filter-controls {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .employee-management {
    padding: 1rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .employee-table th,
  .employee-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .modal-dialog {
    margin: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .filter-controls {
    flex-direction: column;
  }
  
  .filter-controls .form-select {
    min-width: auto;
  }
}

/* [Login Page] */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 70%, #475569 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(13, 71, 161, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(25, 118, 210, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}
.login-card {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(255, 255, 255, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  position: relative;
  z-index: 10;
}
.login-header {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 25%, #1976D2 50%, #1e293b 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.login-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.login-header .brand {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.login-header .subtitle {
  font-size: 1.125rem;
  opacity: 0.95;
  font-weight: 500;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.025em;
}
.login-header .icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  opacity: 0.3;
  z-index: 1;
}
.login-body {
  padding: 3rem 2.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}
.login-form .form-group {
  position: relative;
  margin-bottom: 2rem;
}
.login-form .form-label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.025em;
  display: block;
}
.login-form .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  margin-right: 0;
}
.login-form .form-control:focus {
  border-color: #0D47A1;
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1), 0 4px 12px rgba(13, 71, 161, 0.15);
  background: #ffffff;
  outline: none;
  transform: translateY(-1px);
}
.login-form .form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.login-btn-container {
  margin: 2.5rem 0 2rem 0;
}
.login-btn {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 25%, #1976D2 75%, #1E88E5 100%);
  border: none;
  border-radius: 16px;
  padding: 1.25rem 2rem;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.35), 0 2px 6px rgba(13, 71, 161, 0.2);
  width: 100%;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
}
.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.login-btn:hover::before {
  left: 100%;
}
.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 71, 161, 0.4), 0 4px 12px rgba(13, 71, 161, 0.3);
  background: linear-gradient(135deg, #1565C0 0%, #1976D2 25%, #1E88E5 75%, #2196F3 100%);
}
.login-btn:active {
  transform: translateY(-1px);
}
.login-hint {
  color: #64748b;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.5);
}
.login-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}
.login-divider span {
  padding: 0 1rem;
  background: #ffffff;
}

/* [Dashboard] */
.dashboard-container {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: calc(100vh - 80px);
}
.dashboard-welcome {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.1);
}
.dashboard-welcome h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.dashboard-welcome p {
  color: #64748b;
  font-size: 1.125rem;
  margin: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* [Cards] */
.card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}
.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.card-modern .card-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
  padding: 1.5rem;
  border: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
}
.card-modern .card-body {
  padding: 1.5rem;
}
.card-modern .card-text {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-icon.system { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; }
.card-icon.employees { background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%); color: white; }
.card-icon.compliance { background: linear-gradient(135deg, #059669 0%, #047857 100%); color: white; }

/* [Buttons] */
.btn-modern {
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.btn-primary-modern {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(13, 71, 161, 0.3);
}
.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  color: white;
}
.btn-secondary-modern {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}
.btn-secondary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
  color: white;
}
.btn-outline-modern {
  background: transparent;
  border: 2px solid #e2e8f0;
  color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.btn-outline-modern:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  color: #334155;
}

/* [Legacy Support] */
.btn-shadow { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.card-shadow { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }

/* [Tables] */
table.table-draco { 
  background: #fff; 
  border: 1px solid #e2e8f0; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
table.table-draco thead { 
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%); 
  color: #FFFFFF; 
}
table.table-draco tbody tr:nth-child(even) { background: #f8fafc; }
table.table-draco th, table.table-draco td { 
  vertical-align: middle;
  padding: 1rem;
  border-color: #e2e8f0;
}

/* [Utilities] */
.shadow-soft { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
.text-muted-2 { color: #64748b; }
.toast-container { z-index: 1080; }
.gradient-text {
  background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* [Responsive] */
@media (max-width: 768px) {
  .login-container { padding: 1rem; }
  .login-card { 
    margin: 0;
    max-width: 100%;
    border-radius: 20px;
  }
  .login-header {
    padding: 2rem 1.5rem;
  }
  .login-header .brand {
    font-size: 2.25rem;
  }
  .login-header .subtitle {
    font-size: 1rem;
  }
  .login-body { 
    padding: 2rem 1.5rem;
  }
  .login-form .form-control {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
  .login-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  .dashboard-grid { grid-template-columns: 1fr; }
  .h-section { font-size: 1.25rem; padding: 0.75rem 1rem; }
  

}
@media (max-width: 480px) {
  .login-container { padding: 0.5rem; }
  .login-header {
    padding: 1.5rem 1rem;
  }
  .login-header .brand {
    font-size: 2rem;
  }
  .login-body {
    padding: 1.5rem 1rem;
  }
  

}

/* [Enhanced Status Cards] */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: none;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.stat-card .stat-icon i {
    font-size: 18px;
    color: #ffffff;
}

.stat-card .stat-content {
    flex: 1;
}

.stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.3;
}

/* Individual Card Colors */
.stat-card-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card-new-hires {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.stat-card-resigned {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.stat-card-on-leave {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-card-departments {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-card-total {
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .stat-card .stat-icon {
        width: 35px;
        height: 35px;
    }
    
    .stat-card .stat-icon i {
        font-size: 16px;
    }
    
    .stat-card .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stats-cards {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .stat-card {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .stat-card .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
}

/* [Enhanced Filter Controls] */
.filters-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.filters-content {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box.flex-grow-1 {
    flex: 1;
    min-width: 300px;
}

.filter-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    min-width: 160px !important;
    max-width: 200px !important;
    font-size: 0.9rem;
}

.filter-select-small {
    min-width: 120px !important;
    max-width: 140px !important;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .filters-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box.flex-grow-1 {
        min-width: auto;
        width: 100%;
    }
    
    .filter-controls {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-select,
    .filter-select-small {
        min-width: 140px !important;
        max-width: 180px !important;
    }
}

@media (max-width: 480px) {
    .filter-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-select,
    .filter-select-small {
        width: 100% !important;
        min-width: auto !important;
        max-width: none !important;
    }
}
