.sidebar {
  position: fixed;
  top: 56px;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
  padding: 0.75rem 1rem;
}

.sidebar .nav-link.active {
  color: #007bff;
}

main {
  margin-top: 56px;
}

.table th {
  border-top: none;
  font-weight: 600;
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 100px 0;
}

.feature-icon {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 56px;
  transition: all 0.3s ease;
  z-index: 1030;
  overflow-y: auto;
}

.sidebar.collapsed {
  transform: translateX(-280px);
}

.sidebar-content {
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
}

/* Main Content Area */
.main-content {
  margin-left: 280px;
  margin-top: 56px;
  transition: all 0.3s ease;
  min-height: calc(100vh - 56px);
  background-color: #f8f9fa;
}

.main-content.expanded {
  margin-left: 0;
}

/* Navigation Pills in Sidebar */
.sidebar .nav-pills .nav-link {
  color: #adb5bd;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
  border: none;
  position: relative;
}

.sidebar .nav-pills .nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.sidebar .nav-pills .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 15px 0 rgba(116, 75, 162, 0.3);
  border: none;
}

.sidebar .nav-pills .nav-link i {
  width: 20px;
  text-align: center;
}

/* Badges in Sidebar */
.sidebar .badge {
  font-size: 0.7em;
  padding: 0.35em 0.65em;
}

/* Statistics Section */
.sidebar-stats {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
}

.stat-item {
  font-size: 0.875rem;
}

/* User Profile Section */
.user-profile {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
}

.user-avatar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  display: none;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Page Header Styles */
.page-header {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  border-left: 4px solid #667eea;
}

.page-header h1 {
  color: #5a5c69;
  font-weight: 700;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: #667eea;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Page Content Area */
.page-content {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  min-height: 500px;
}

/* Card Enhancements */
.card {
  border: none;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #e3e6f0;
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: #5a5c69;
}

/* Table Enhancements */
.table th {
  border-top: none;
  font-weight: 700;
  color: #5a5c69;
  background-color: #f8f9fc;
  border-bottom: 2px solid #e3e6f0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-280px);
  }

  .sidebar.collapsed {
    transform: translateX(0);
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.2);
  }

  .main-content {
    margin-left: 0;
  }

  .main-content.expanded {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: flex;
  }

  .page-header {
    margin-top: 1rem;
  }
}

/* Scrollbar Styling for Sidebar */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Animation for sidebar items */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sidebar .nav-item {
  animation: slideIn 0.3s ease forwards;
}

.sidebar .nav-item:nth-child(1) {
  animation-delay: 0.1s;
}

.sidebar .nav-item:nth-child(2) {
  animation-delay: 0.2s;
}

.sidebar .nav-item:nth-child(3) {
  animation-delay: 0.3s;
}

.sidebar .nav-item:nth-child(4) {
  animation-delay: 0.4s;
}

.sidebar .nav-item:nth-child(5) {
  animation-delay: 0.5s;
}

.sidebar .nav-item:nth-child(6) {
  animation-delay: 0.6s;
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 56px;
  transition: all 0.3s ease;
  z-index: 1030;
  overflow-y: auto;
  background: linear-gradient(180deg, #2d3748 0%, #1a202c 100%);
}

.sidebar.collapsed {
  transform: translateX(-280px);
}

.sidebar-content {
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
}

/* Sidebar Header */
.sidebar-header {
  background: rgba(0, 0, 0, 0.2);
}

/* Navigation Pills in Sidebar */
.sidebar .nav-pills .nav-link {
  color: #cbd5e0;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  font-weight: 500;
}

.sidebar .nav-pills .nav-link:hover {
  color: #fff;
  background-color: #4a5568;
  transform: translateX(5px);
}

.sidebar .nav-pills .nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 15px 0 rgba(116, 75, 162, 0.3);
  border: none;
}

.sidebar .nav-pills .nav-link i {
  width: 20px;
  text-align: center;
}

/* Logout Section */
.logout-section {
  margin-top: auto;
}

.logout-section .btn {
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.logout-section .btn:hover {
  background-color: #fff;
  color: #2d3748;
  transform: translateY(-2px);
}

/* Main Content Area */
.main-content {
  margin-left: 280px;
  margin-top: 56px;
  transition: all 0.3s ease;
  min-height: calc(100vh - 56px);
  background-color: #f7fafc;
}

.main-content.expanded {
  margin-left: 0;
}

/* Page Header */
.page-header {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  border-left: 4px solid #667eea;
}

.page-header h1 {
  color: #2d3748;
  font-weight: 700;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: #718096;
}

/* Page Content */
.page-content {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  margin-bottom: 2rem;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
  display: none;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-280px);
  }

  .sidebar.collapsed {
    transform: translateX(0);
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.3);
  }

  .main-content {
    margin-left: 0;
  }

  .main-content.expanded {
    margin-left: 0;
  }

  .sidebar-toggle {
    display: flex;
  }

  .page-header {
    margin-top: 1rem;
    padding: 1.5rem;
  }

  .page-content {
    padding: 1.5rem;
  }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.stat-badge {
  transition: all 0.3s ease;
  border: none;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-badge:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Dashboard Stats Cards */
.stats-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.hover-shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-card .card-footer {
  border: none;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.stats-icon {
  opacity: 0.8;
}

/* Gradient backgrounds */
.bg-primary-dark {
  background: linear-gradient(45deg, #0d6efd, #0b5ed7) !important;
}

.bg-danger-dark {
  background: linear-gradient(45deg, #dc3545, #bb2d3b) !important;
}

.bg-warning-dark {
  background: linear-gradient(45deg, #ffc107, #e0a800) !important;
}

/* Card hover effects */
.stats-card:hover .stats-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.stats-card:hover .card-footer {
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Style for datalist dropdown */
#nationality {
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

/* Style for high-risk countries in datalist
   option[value="Somalia"] {
       font-weight: bold;
       color: #dc3545;
   }

   option[value="China"],
   option[value="Egypt"],
   option[value="Eriteria"],
   option[value="Ethiopia"],
   option[value="Kenya"]{
       font-weight: bold;
       color: #fd7e14;
   } */

.stats-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  border-left: 4px solid !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.stats-card .card-body {
  padding: 2rem 1.5rem;
}

.stats-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.stats-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.stats-icon {
  font-size: 2.5rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
  transform: scale(1.1) translateX(5px);
}

.stats-arrow {
  font-size: 1.2rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-arrow {
  transform: translateX(5px);
}

.dashboard-link {
  text-decoration: none;
  color: inherit;
}

.dashboard-link:hover {
  color: inherit;
}

/* Border colors */
.border-left-primary {
  border-left-color: #0d6efd !important;
}
.border-left-success {
  border-left-color: #198754 !important;
}

/* Text colors */
.text-primary {
  color: #0d6efd !important;
}
.text-success {
  color: #198754 !important;
}

/* Recent guests table improvements */
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.075);
}

.card {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  border: none;
  border-radius: 0.5rem;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #e3e6f0;
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: #5a5c69;
}

.stats-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  border-left: 4px solid !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.stats-card .card-body {
  padding: 2rem 1.5rem;
}

.stats-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.stats-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.stats-icon {
  font-size: 2.5rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
  transform: scale(1.1) translateX(5px);
}

.stats-arrow {
  font-size: 1.2rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-arrow {
  transform: translateX(5px);
}

.dashboard-link {
  text-decoration: none;
  color: inherit;
}

.dashboard-link:hover {
  color: inherit;
}

/* Border colors */
.border-left-primary {
  border-left-color: #0d6efd !important;
}

.border-left-success {
  border-left-color: #198754 !important;
}

.border-left-warning {
  border-left-color: #ffc107 !important;
}

.border-left-danger {
  border-left-color: #dc3545 !important;
}

/* Text colors */
.text-primary {
  color: #0d6efd !important;
}

.text-success {
  color: #198754 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-danger {
  color: #dc3545 !important;
}

/* Recent guests table improvements */
.table-hover tbody tr:hover {
  background-color: rgba(0, 123, 255, 0.075);
}

.card {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  border: none;
  border-radius: 0.5rem;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #e3e6f0;
  padding: 1rem 1.5rem;
  font-weight: 700;
  color: #5a5c69;
}

.id-badge-sm {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

/* Admin Dashboard Stats Cards */
.stats-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  border-left: 4px solid !important;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.stats-card .card-body {
  padding: 2rem 1.5rem;
}

.stats-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.stats-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
}

.stats-icon {
  font-size: 2.5rem;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
  transform: scale(1.1) translateX(5px);
}

.stats-arrow {
  font-size: 1.2rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-arrow {
  transform: translateX(5px);
}

/* Border colors */
.border-left-primary {
  border-left-color: #0d6efd !important;
}

.border-left-danger {
  border-left-color: #dc3545 !important;
}

.border-left-warning {
  border-left-color: #ffc107 !important;
}

.border-left-info {
  border-left-color: #0dcaf0 !important;
}

.border-left-dark {
  border-left-color: #212529 !important;
}

.border-left-success {
  border-left-color: #198754 !important;
}

/* Text colors */
.text-primary {
  color: #0d6efd !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-info {
  color: #0dcaf0 !important;
}

.text-dark {
  color: #212529 !important;
}

.text-success {
  color: #198754 !important;
}

.dashboard-link {
  text-decoration: none;
  color: inherit;
}

.dashboard-link:hover {
  color: inherit;
}

/* Alert priority badges */
.priority-critical {
  background: linear-gradient(45deg, #dc3545, #c82333);
}

.priority-high {
  background: linear-gradient(45deg, #fd7e14, #e55a00);
}

.priority-medium {
  background: linear-gradient(45deg, #ffc107, #e0a800);
}

.priority-low {
  background: linear-gradient(45deg, #0dcaf0, #0ba6c8);
}

/* Match type badges */
.match-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.existing-country {
  background-color: #fff3cd !important;
  font-weight: bold !important;
  color: #856404 !important;
}

.country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1060;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: none;
}

.country-option {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f8f9fa;
  transition: background-color 0.15s ease;
}

.country-option:hover {
  background-color: #007bff;
  color: white;
}

.country-option:last-child {
  border-bottom: none;
}

.country-option.highlighted {
  background-color: #007bff;
  color: white;
}

.position-relative {
  position: relative;
}

.toast-container {
  z-index: 9999;
}

.badge-sm {
  font-size: 0.7em;
  padding: 0.2em 0.4em;
}

.country-option .bg-warning {
  background-color: #ffc107 !important;
  color: #000 !important;
}

.country-option.duplicate-country {
  background-color: #fff3cd;
  border-left: 3px solid #ffc107;
}

.duplicate-country .text-warning {
  font-size: 0.8em;
}
/* ===== MODERN LOGIN STYLES ===== */
.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #667eea;
  cursor: pointer;
  z-index: 6;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #764ba2;
}

.password-toggle:focus {
  outline: none;
  color: #764ba2;
}

/* Adjust input padding to accommodate toggle */
.password-input {
  padding-right: 50px !important;
}

/* ===== UPDATED LOGIN STYLES (5% smaller) ===== */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 430px;
  /* Reduced from 450px (approx 5% smaller) */
  width: 95%;
  /* Added for better responsiveness */
  margin: 0 auto;
}

.login-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2.5rem 2rem;
  /* Reduced padding */
  text-align: center;
  position: relative;
}

.login-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.login-icon {
  font-size: 3.5rem;
  /* Slightly smaller */
  margin-bottom: 1rem;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.login-body {
  padding: 2rem;
  /* Reduced padding */
}

.login-body .form-control {
  border-radius: 12px;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.login-body .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  z-index: 5;
}

.input-with-icon {
  padding-left: 45px !important;
}

.btn-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.security-info {
  background: linear-gradient(135deg, #f7f9fc 0%, #edf2f7 100%);
  border-radius: 12px;
  padding: 1rem;
  border-left: 4px solid #48bb78;
}

/* ===== MODERN HOMEPAGE STYLES ===== */
.modern-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.modern-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 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-hero {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  color: white;
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
  color: white;
}

.modern-features {
  padding: 100px 0;
  background: #f8fafc;
}

.modern-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  height: 100%;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.modern-card:hover::before {
  transform: scaleX(1);
}

.modern-feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e293b;
}

.modern-feature-text {
  color: #64748b;
  line-height: 1.6;
}

.modern-system {
  padding: 100px 0;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
}

.btn-system {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.btn-system:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(245, 87, 108, 0.4);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .modern-hero {
    padding: 100px 0 80px;
  }

  .modern-features,
  .modern-system {
    padding: 80px 0;
  }

  .login-body {
    padding: 2rem 1.5rem;
  }

  .login-header {
    padding: 2rem 1.5rem;
  }
}
.select2-container--default .select2-selection--single {
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 36px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 24px;
}

.select2-container .select2-selection--single {
  height: 38px;
}

/* MINIMAL SIDEBAR CSS BACKUP */
/* Only for desktop collapse functionality */

@media (min-width: 768px) {
    #sidebar.collapsed {
        transform: translateX(-100%) !important;
    }
    
    .main-content {
        margin-left: 280px !important;
        transition: margin-left 0.3s ease !important;
    }
    
    .main-content.expanded {
        margin-left: 0 !important;
    }
}
