/* Global styles */
body{margin:0;font-family:system-ui,sans-serif;background-color:white;}

/* Contrast utility classes for public pages */
.text-on-dark {
  color: white !important;
}

.text-on-light {
  color: #333 !important;
}

/* Clean card styles from settings page */
.card {
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Override Bootstrap primary button color */
.btn-primary {
  background-color: #2196f3 !important;
  border-color: #2196f3 !important;
}

.btn-primary:hover {
  background-color: #1976d2 !important;
  border-color: #1976d2 !important;
}

/* Clean form controls */
.form-check-input:checked {
  background-color: #2196f3;
  border-color: #2196f3;
}

/* Clean alerts */
.alert {
  border: none;
  border-radius: 8px;
}

/* Override Bootstrap bg-light to be white */
.bg-light {
  background-color: white !important;
}

/* Override header menu border and effects for public layout */
.navbar:not(.navbar-bg), 
.navbar:not(.navbar-bg) .navbar-nav, 
.navbar:not(.navbar-bg) .nav-item, 
.navbar:not(.navbar-bg) .nav-link, 
.navbar:not(.navbar-bg) .dropdown-menu, 
.navbar:not(.navbar-bg) .dropdown-item,
.navbar:not(.navbar-bg) .navbar-toggler, 
.navbar:not(.navbar-bg) .navbar-toggler-icon, 
.navbar:not(.navbar-bg) .navbar-collapse {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}

/* Remove any additional navbar effects for public layout */
.navbar:not(.navbar-bg) {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

/* Remove border from navbar toggler in public layout */
.navbar:not(.navbar-bg) .navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Remove any effects from navbar light in public layout */
.navbar:not(.navbar-bg).navbar-light {
  background-color: transparent !important;
}

/* Make navbar links in public layout slightly bigger */
.navbar:not(.navbar-bg) .nav-link {
  font-size: 1rem !important;
  font-weight: 400 !important;
}

/* Add border to restricted layout navbar */
.navbar.navbar-bg {
  border: 1px solid #e9ecef !important;
  border-radius: 0.25rem !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Header styling */
.site-header {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  border: none;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
  z-index: 1000;
}

/* Add a subtle border effect to highlight the rounded corners */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(33, 150, 243, 0.2) 25%, 
    rgba(33, 150, 243, 0.2) 75%, 
    transparent 100%);
  border-radius: 0 0 24px 24px;
}

/* Enhanced Products Dropdown Toggle */
#productsDropdown {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

#productsDropdown::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2196f3, #4a90e2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#productsDropdown:hover::after,
#productsDropdown[aria-expanded="true"]::after {
  width: 80%;
}

#productsDropdown[aria-expanded="true"] {
  color: #2196f3;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 1000;
}

.site-header .navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.site-header .nav-link {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0.75rem;
}

.site-header .nav-link:hover {
  color: #4a90e2;
}

.site-header .dropdown-menu {
  border: none;
  border-radius: 8px;
  background-color: #f8f9fa;
}

.site-header .dropdown-item {
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.site-header .dropdown-item:hover {
  background-color: rgba(74, 144, 226, 0.1);
  color: #4a90e2;
}

/* Ensure navbar allows dropdown to overflow */
.navbar:not(.navbar-bg) {
  overflow: visible !important;
  z-index: 1000;
}

.navbar:not(.navbar-bg) .navbar-nav {
  overflow: visible !important;
}

.navbar:not(.navbar-bg) .nav-item.dropdown {
  overflow: visible !important;
  position: static !important;
}

/* Mega Menu Styles - Enhanced Creative Design */
.navbar:not(.navbar-bg) .dropdown-menu.products-mega-menu {
  width: 85vw !important;
  max-width: 1100px;
  left: 50% !important;
  transform: translateX(-50%);
  padding: 0;
  border: none !important;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 
              0 0 0 1px rgba(33, 150, 243, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  overflow: visible;
  margin-top: 10px;
  z-index: 1051 !important;
  position: absolute !important;
}

/* Add animation when dropdown shows */
.navbar:not(.navbar-bg) .dropdown-menu.products-mega-menu.show {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.navbar:not(.navbar-bg) .products-mega-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    #2196f3 0%, 
    #1976d2 25%, 
    #4a90e2 50%, 
    #64b5f6 75%, 
    #2196f3 100%);
  background-size: 200% 100%;
  animation: gradientMove 4s ease infinite;
}

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

/* Add subtle background pattern */
.navbar:not(.navbar-bg) .products-mega-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(33, 150, 243, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(100, 181, 246, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.mega-menu-column {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.mega-menu-column:first-child::after {
  content: '';
  position: absolute;
  right: 0;
  top: 2rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    rgba(33, 150, 243, 0.1) 20%, 
    rgba(33, 150, 243, 0.2) 50%, 
    rgba(33, 150, 243, 0.1) 80%, 
    transparent 100%);
}

.mega-menu-header {
  margin-bottom: 1.25rem;
  text-align: center;
  position: relative;
}

.mega-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: linear-gradient(135deg, #2196f3 0%, #4a90e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
  }
  50% { 
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.15));
  }
}

.mega-menu-header h5 {
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.mega-subtitle {
  color: #666;
  font-size: 0.875rem;
  margin: 0;
}

.mega-menu-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.mega-menu-links li {
  margin-bottom: 0.5rem;
}

.mega-link {
  display: flex;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 251, 255, 0.9) 100%);
  border: 1px solid rgba(33, 150, 243, 0.1);
  position: relative;
  overflow: hidden;
}

.mega-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(33, 150, 243, 0.1), 
    transparent);
  transition: left 0.5s ease;
}

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

.mega-link:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08) 0%, rgba(74, 144, 226, 0.08) 100%);
  border-color: rgba(33, 150, 243, 0.3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.15);
}

.mega-link i {
  font-size: 1.2rem;
  margin-right: 1rem;
  background: linear-gradient(135deg, #64b5f6 0%, #4a90e2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-width: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-link:hover i {
  transform: rotate(360deg) scale(1.2);
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mega-link span {
  display: flex;
  flex-direction: column;
}

.mega-link strong {
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: inherit;
  font-size: 0.9rem;
}

.mega-link small {
  font-size: 0.75rem;
  color: #666;
  transition: color 0.3s ease;
}

.mega-link:hover small {
  color: #4a90e2;
}

.mega-menu-footer {
  text-align: center;
  margin-top: auto;
}

.see-all-link {
  color: #2196f3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.see-all-link:hover {
  color: #1976d2;
  gap: 0.75rem;
}

.mega-menu-bottom {
  background: linear-gradient(135deg, #f5f7ff 0%, #f0f4ff 100%);
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  border-top: 2px solid rgba(102, 126, 234, 0.1);
  position: relative;
  overflow: hidden;
}

.mega-menu-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    #2196f3 0%, 
    #4a90e2 50%, 
    #2196f3 100%);
  background-size: 200% 100%;
  animation: gradientMove 3s ease infinite;
}

.mega-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.bottom-link {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  position: relative;
}

.bottom-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2196f3, #4a90e2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.bottom-link:hover {
  color: #2196f3;
  background: rgba(33, 150, 243, 0.05);
}

.bottom-link:hover::after {
  width: 80%;
}

.bottom-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.bottom-link:hover i {
  transform: translateY(-2px);
}

.mega-promo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mega-promo .badge {
  background: linear-gradient(135deg, #4a90e2 0%, #2196f3 100%);
  color: white;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

@keyframes pulse {
  0% { 
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 4px 25px rgba(33, 150, 243, 0.5);
    transform: scale(1.05);
  }
  100% { 
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transform: scale(1);
  }
}

.mega-promo a {
  color: #2196f3;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
}

.mega-promo a::after {
  content: '→';
  position: absolute;
  right: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.mega-promo a:hover {
  color: #1976d2;
  padding-right: 25px;
}

.mega-promo a:hover::after {
  opacity: 1;
  right: 0;
}

/* Mobile responsiveness for mega menu */
@media (max-width: 991px) {
  .products-mega-menu {
    width: 95vw !important;
    max-width: none;
    position: relative !important;
    left: auto !important;
    transform: none;
    margin: 0.5rem 0;
  }
  
  .mega-menu-column {
    padding: 1.5rem;
  }
  
  .mega-menu-column:first-child::after {
    display: none;
  }
  
  .mega-menu-column:first-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .mega-icon {
    font-size: 2rem;
  }
  
  .mega-menu-header h5 {
    font-size: 1.1rem;
  }
  
  .mega-bottom-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .mega-menu-bottom {
    padding: 1rem;
  }
  
  .mega-menu-bottom > .col-12 > div {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Header alignment fixes */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  margin-right: auto;
}

.auth-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive header adjustments */
@media (max-width: 991px) {
  .site-header {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
  
  .site-header .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(248, 249, 250, 0.95);
    border-radius: 12px;
    border: none;
    backdrop-filter: blur(10px);
  }

  .site-header .navbar-nav {
    padding: 0.5rem 0;
  }

  .site-header .nav-item {
    margin: 0.25rem 0;
  }
}

/* Ensure main content container takes full width */
.content {
  width: 100% !important;
  max-width: 100% !important;
}

.container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Make sidebar in restricted area match header background */
#sidebar.sidebar,
.sidebar,
.sidebar-content {
  background-color: white !important;
}

/* Also target specific sidebar elements that might have white backgrounds */
.sidebar .sidebar-content,
.sidebar .sidebar-nav,
.sidebar .sidebar-item,
.sidebar .sidebar-link {
  background-color: transparent !important;
}

/* Ensure sidebar brand area also matches */
.sidebar .sidebar-brand {
  background-color: transparent !important;
}

/* Enhance sidebar links */
.sidebar-link {
  transition: all 0.2s ease-in-out;
  font-weight: 500;
}

.sidebar-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateX(3px);
}

.sidebar-link i {
  min-width: 24px;
  height: 24px;
}

/* Force sidebar links to be black - Override Bootstrap theme styles */
.sidebar-link,
a.sidebar-link,
.sidebar .sidebar-link,
.sidebar a.sidebar-link,
nav .sidebar-link,
nav a.sidebar-link,
.sidebar-link:link,
.sidebar-link:visited,
.sidebar-link:focus,
a.sidebar-link:link,
a.sidebar-link:visited,
a.sidebar-link:focus {
  color: #000080 !important;
}

/* Force sidebar link icons to be black and filled */
.sidebar-link i,
.sidebar-link svg,
a.sidebar-link i,
a.sidebar-link svg,
.sidebar .sidebar-link i,
.sidebar .sidebar-link svg,
.sidebar a.sidebar-link i,
.sidebar a.sidebar-link svg,
nav .sidebar-link i,
nav .sidebar-link svg,
nav a.sidebar-link i,
nav a.sidebar-link svg {
  color: #000080 !important;
  stroke: #000080 !important;
  fill: #000080 !important;
  stroke-width: 0 !important;
}

/* Make all Feather icons filled black */
[data-feather],
.feather {
  color: #000080 !important;
  fill: #000080 !important;
  stroke: #000080 !important;
  stroke-width: 0 !important;
}

/* Specifically target sidebar Feather icons */
.sidebar [data-feather],
.sidebar .feather,
.sidebar-link [data-feather],
.sidebar-link .feather {
  color: #000080 !important;
  fill: #000080 !important;
  stroke: #000080 !important;
  stroke-width: 0 !important;
}

/* Also target dropdown menu icons */
.dropdown-menu [data-feather],
.dropdown-menu .feather {
  color: #000080 !important;
  fill: #000080 !important;
  stroke: #000080 !important;
  stroke-width: 0 !important;
}

/* Force sidebar link hover states to be black */
.sidebar-link:hover,
a.sidebar-link:hover,
.sidebar .sidebar-link:hover,
.sidebar a.sidebar-link:hover,
nav .sidebar-link:hover,
nav a.sidebar-link:hover {
  color: #000080 !important;
}

.sidebar-link:hover i,
.sidebar-link:hover svg,
a.sidebar-link:hover i,
a.sidebar-link:hover svg,
.sidebar .sidebar-link:hover i,
.sidebar .sidebar-link:hover svg,
.sidebar a.sidebar-link:hover i,
.sidebar a.sidebar-link:hover svg {
  color: #000080 !important;
  stroke: #000080 !important;
  fill: #000080 !important;
  stroke-width: 0 !important;
}

/* Force hover state for Feather icons */
.sidebar-link:hover [data-feather],
.sidebar-link:hover .feather,
a.sidebar-link:hover [data-feather],
a.sidebar-link:hover .feather {
  color: #000080 !important;
  stroke: #000080 !important;
  fill: #000080 !important;
  stroke-width: 0 !important;
}

/* Enhanced Footer Styling */
.modern-footer {
  background: #f8f9fa;
  color: #2c4b78;
  position: relative;
  margin-top: 5rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.03);
}

/* Ensure footer container has the same width as header */
.modern-footer .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.modern-footer a {
  text-decoration: none;
}

.footer-content {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.footer-tagline {
  color: #3a5a8c;
  font-size: 1rem;
  max-width: 90%;
  margin-top: 2rem;
  line-height: 1.6;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #1a4c94;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: #4a90e2;
  border-radius: 3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links li a {
  color: #3a5a8c;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 15px 10px 0;
  display: inline-block;
  font-size: 1.05rem;
}

.footer-links li a:hover {
  color: #1a4c94;
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(74, 144, 226, 0.1);
  color: #4a90e2;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
  background: #4a90e2;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(74, 144, 226, 0.3);
}

.newsletter input {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 144, 226, 0.3);
  color: #2c4b78;
  padding: 0.9rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.newsletter input::placeholder {
  color: #8ba8cc;
}

.newsletter .btn {
  background: #4a90e2;
  border: none;
  padding: 0.7rem 1.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.newsletter .btn:hover {
  background: #2a7ad2;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.3);
}

.footer-bottom {
  background: rgba(74, 144, 226, 0.1);
  padding: 1.5rem 2rem;
}

.footer-bottom p {
  color: #3a5a8c;
}

.legal-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.legal-links li {
  margin-left: 2.5rem;
}

.legal-links li a {
  color: #3a5a8c;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.legal-links li a:hover {
  color: #1a4c94;
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
  .footer-content {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .footer-heading {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .footer-links li a {
    padding: 10px 15px;
    display: block;
    border-radius: 10px;
    margin-bottom: 0.5rem;
  }

  .footer-links li a:hover {
    transform: translateX(0) translateY(-2px);
  }

  .social-icons {
    justify-content: center;
    margin-bottom: 2rem;
  }

  .newsletter {
    text-align: center;
  }

  .newsletter-form {
    max-width: 300px;
    margin: 0 auto;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }

  .legal-links li {
    margin: 0 1rem;
  }

  .footer-bottom .row {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .modern-footer {
    border-radius: 15px 15px 0 0;
    margin-top: 3rem;
  }

  .footer-content {
    padding-top: 1.75rem;
    padding-bottom: 1.25rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .social-icon {
    width: 42px;
    height: 42px;
  }

  .footer-bottom {
    border-radius: 0;
    padding: 1.25rem 1.5rem;
  }
}

.tab-content .card {
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.list-group-item {
  border: none;
  border-radius: 8px !important;
  margin-bottom: 4px;
  transition: background-color 0.2s ease;
}

.list-group-item.active {
  background-color: #e3f2fd;
  border-left: 4px solid #2196f3 !important;
  color: #1976d2;
  font-weight: 500;
}

.list-group-item:hover:not(.active) {
  background-color: #f8f9fa;
}

.form-check-input:checked {
  background-color: #2196f3;
  border-color: #2196f3;
}

.btn-primary {
  background-color: #2196f3;
  border-color: #2196f3;
}

.btn-primary:hover {
  background-color: #1976d2;
  border-color: #1976d2;
}

.alert {
  border: none;
  border-radius: 8px;
}

/* Add right margin to icons and increase link size */
.sidebar .list-group-item i {
  margin-right: 20px;
  font-size: 1.0rem; /* Slightly larger icons */
}

.sidebar .list-group-item {
  font-size: 1.0rem; /* Larger text */
  padding: 0.75rem 1.25rem; /* More padding for larger click area */
}

/* Ensure proper vertical alignment */
.sidebar .list-group-item {
  display: flex;
  align-items: center;
}