/**
 * Modern Top Navigation CSS
 * Complete UI overhaul for 2024
 */

/* ============================================
   HIDE ALL OLD NAVIGATION ELEMENTS
   ============================================ */

/* Hide the sidebar completely */
.navbar-static-side {
  display: none !important;
}

/* Hide the old white top navbar bar */
.navbar-static-top {
  display: none !important;
}

/* Hide the border row that contained the old navbar - BUT NOT the dashboard header */
.row.border-bottom:not(.dashboard-header) {
  display: none !important;
}

/* Explicitly show and style the dashboard header */
.row.border-bottom.dashboard-header,
.dashboard-header {
  display: flex !important;
  visibility: visible !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}

/* Show metismenu for horizontal nav */
.navbar-header,
.navbar-top-links,
.nav-header {
  display: none !important;
}

/* Hide any weird checkboxes/squares in navigation ONLY */
.modern-top-nav input[type="checkbox"],
.modern-nav-menu input[type="checkbox"],
.modern-menu-bar input[type="checkbox"],
.modern-menu-bar input,
.modern-menu-bar li input {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* Remove margins and update page wrapper for top nav only */
#page-wrapper {
  margin-left: 0 !important; /* No sidebar */
  padding-top: 120px !important; /* Space for top bar + menu bar + extra spacing */
  background: #f8f9fa !important;
  min-height: 100vh !important;
}

/* Make wrapper full width */
#wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================
   MODERN TOP NAVIGATION BAR - SINGLE WHITE ROW
   ============================================ */

.modern-top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 3000;
  padding: 0;
  height: 48px;
}

.modern-top-nav-container {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 100%;
  gap: 16px;
}

/* Logo/Brand */
.modern-nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.modern-nav-brand img {
  height: 28px;
  width: auto;
}

.modern-nav-brand:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Search bar - more to the left, no border */
.modern-nav-search {
  flex: 1;
  max-width: 400px;
  margin-left: 40px;
  margin-right: auto;
}

.modern-nav-search input {
  width: 100%;
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  color: var(--gray-700);
}

.modern-nav-search input:focus {
  outline: none;
  background: var(--gray-50);
  border-radius: 6px;
}

.modern-nav-search input::placeholder {
  color: var(--gray-400);
}

/* Right side utilities (notifications, profile, etc) */
.modern-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.modern-nav-right > a,
.modern-nav-right > .dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: var(--gray-600);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9375rem;
  position: relative;
}

.modern-nav-right > a:hover,
.modern-nav-right > .dropdown:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

/* Style the actual links inside the dropdown buttons */
.modern-nav-right > .dropdown > a,
.modern-nav-right > a {
  color: var(--gray-600) !important;
}

.modern-nav-right > .dropdown > a:hover,
.modern-nav-right > a:hover {
  color: var(--gray-900) !important;
}

/* Remove dropdown arrows from utility buttons */
.modern-nav-right > .dropdown > a.dropdown-toggle::after,
.modern-nav-right > a.dropdown-toggle::after {
  display: none !important;
}

/* Notification badge */
.modern-nav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger-color);
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1;
}

/* Utility icon dropdowns (Add, SMS, Notifications) */
.modern-nav-right {
  position: relative;
}

.modern-nav-right > a,
.modern-nav-right > .dropdown > a {
  position: relative;
}

.modern-nav-right .dropdown {
  position: relative;
}

.modern-nav-right .dropdown-menu.dropdown-alerts {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  left: auto !important;
  width: 320px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0;
  margin: 0 !important;
  display: none;
  z-index: 3100;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--gray-200);
  transform: none !important;
}

/* Dropdown visibility controlled by Bootstrap's .show class via JavaScript */
.modern-nav-right .dropdown-menu.dropdown-alerts.show {
  display: block;
}

/* Small dropdown for Add button */
.modern-nav-right .dropdown-menu.small-dropdown-alert {
  min-width: 200px;
  max-width: 250px;
}

/* Dropdown title header */
.dropdown-alerts .sms_dropdown {
  background: white !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  pointer-events: auto !important;
}

.dropdown-alerts .sms_dropdown .sms_top {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  margin: 0;
  border-bottom: 1px solid var(--gray-200);
}

.dropdown-alerts .sms_dropdown .sms_top:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Only disable pointer events on the header title and menu */
.dropdown-alerts .sms_dropdown .sms_top .dropdown-title {
  pointer-events: none;
}

.dropdown-alerts .sms_dropdown .sms_top .sms_menu {
  pointer-events: auto;
}

/* Ensure SMS items can be clicked */
#textList .sms_latest {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Prevent purple from bleeding to sides */
#textList .sms_dropdown {
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.dropdown-alerts .dropdown-title {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
}

/* Dropdown items */
.dropdown-alerts .dropdown-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--gray-100);
}

.dropdown-alerts .dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-alerts .dropdown-item:hover {
  background: var(--gray-50);
}

.dropdown-alerts .dropdown-item.dropdown-space {
  padding: 10px 16px;
}

.dropdown-alerts .dropdown-item.dropdown-space:hover {
  background: var(--primary-color);
  color: white;
}

.dropdown-alerts .dropdown-item.dropdown-space:hover i {
  transform: scale(1.1);
}

.dropdown-alerts .dropdown-item .row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-alerts .dropdown-item [class*="col-"] {
  padding: 0;
}

/* Notification list styling */
#notificationList.dropdown-alerts,
#textList.dropdown-alerts {
  padding: 0;
}

/* Notification items need proper padding */
#notificationList > div,
#notificationList > li:not(.sms_dropdown) {
  padding: 12px 16px 12px 24px;
  border-bottom: 1px solid var(--gray-100);
}

#notificationList > div:hover,
#notificationList > li:not(.sms_dropdown):hover {
  background: var(--gray-50);
  cursor: pointer;
}

/* SMS list items */
#textList .sms_latest {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--gray-100);
  background: white;
  list-style: none;
  margin: 0;
  font-size: 0.875rem;
}

#textList .sms_latest:first-of-type {
  border-top: none;
  margin-top: 0;
}

#textList .sms_latest:hover {
  background: var(--gray-50);
}

#textList .sms_latest:last-child {
  border-bottom: none;
}

/* Remove colored boxes from SMS items */
#textList .sms_latest .row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#textList .sms_latest .col-sm-2 {
  flex-shrink: 0;
  width: 40px;
  padding: 0;
}

#textList .sms_latest .col-sm-10 {
  flex: 1;
  padding: 0;
  min-width: 0;
}

/* Mark all read link */
#textList .sms_menu a {
  color: white;
  font-size: 0.75rem;
  text-decoration: underline;
  float: right;
}

#textList .sms_menu a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Empty state */
.dropdown-alerts:empty::before {
  content: 'No items';
  display: block;
  padding: 20px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Dropdown menus - smaller */
.modern-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 6px 0;
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3100;
  max-height: 80vh;
  overflow-y: auto;
}

.modern-nav-menu > li:hover > .modern-nav-dropdown,
.modern-nav-menu > li > a:focus + .modern-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modern-nav-dropdown li {
  list-style: none;
}

.modern-nav-dropdown li a {
  display: block;
  padding: 7px 14px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.modern-nav-dropdown li a:hover {
  background: var(--gray-100);
  color: var(--primary-color);
  padding-left: 18px;
}

.modern-nav-dropdown li a.active {
  background: var(--primary-color);
  color: white;
  font-weight: 600;
}

/* User profile */
.modern-nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px 4px 8px;
  background: transparent;
  color: var(--gray-700);
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  margin-left: 12px;
  margin-right: 8px;
  flex-shrink: 0;
  min-width: fit-content;
  position: relative;
}

.modern-nav-user:hover {
  background: transparent;
  color: var(--gray-900);
  text-decoration: none;
}

.modern-nav-user:hover img,
.modern-nav-user:hover .modern-nav-user-avatar {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.modern-nav-user img,
.modern-nav-user-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  flex-shrink: 0;
  object-fit: cover;
  transition: all 0.2s ease;
  order: 1;
}

.modern-nav-user img {
  background: #f9fafb;
}

/* Initials avatar placeholder */
.modern-nav-user-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
  visibility: visible !important;
  opacity: 1 !important;
}

.modern-nav-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.3;
  flex-shrink: 0;
  min-width: fit-content;
  order: 2;
}

.modern-nav-user-name {
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--gray-900);
  white-space: nowrap;
  text-align: left;
}

.modern-nav-user-role {
  font-size: 0.6875rem;
  color: var(--gray-500);
  text-align: left;
  white-space: nowrap;
}

/* Dropdown caret - removed (hidden) */
.modern-nav-menu > li > a.has-dropdown::after {
  display: none !important;
}

/* ============================================
   HORIZONTAL MENU BAR (SECOND ROW)
   ============================================ */

.modern-menu-bar {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  height: 48px;
  background: #1e3a8a;
  border-bottom: 1px solid #1e40af;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2999;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.modern-menu-bar ul {
  display: flex !important;
  align-items: center;
  gap: 4px;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.modern-menu-bar > ul > li {
  position: relative;
  list-style: none !important;
  list-style-type: none !important;
}

.modern-menu-bar > ul > li::before,
.modern-menu-bar > ul > li::after,
.modern-menu-bar > ul > li::marker {
  display: none !important;
  content: none !important;
}

.modern-menu-bar > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: #e5e7eb;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
}

.modern-menu-bar > ul > li > a i,
.modern-menu-bar > ul > li > a i.mdi,
.modern-menu-bar > ul > li > a i.fa,
.modern-menu-bar > ul > li > a i.far,
.modern-menu-bar > ul > li > a i.fas,
.modern-menu-bar > ul > li > a i.fal,
.modern-menu-bar > ul > li > a [class*="mdi-"],
.modern-menu-bar > ul > li > a [class*="fa-"] {
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  line-height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

/* Additional MDI icon sizing override */
.modern-menu-bar > ul > li > a i[class^="mdi-"],
.modern-menu-bar > ul > li > a i[class*=" mdi-"] {
  font-size: 16px !important;
}

.modern-menu-bar > ul > li > a i[class^="mdi-"]::before,
.modern-menu-bar > ul > li > a i[class*=" mdi-"]::before {
  font-size: 16px !important;
  line-height: 16px !important;
}

.modern-menu-bar > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

.modern-menu-bar > ul > li.active > a,
.modern-menu-bar > ul > li > a.active {
  background: var(--primary-color);
  color: white;
}

/* Dropdown for menu bar */
.modern-menu-bar > ul > li > a.has-dropdown::after {
  display: none;
}

/* Ensure menu items are vertically centered */
.modern-menu-bar > ul > li {
  display: flex;
  align-items: center;
  padding: 0 !important;
}

.modern-menu-bar .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 200px !important;
  background: white !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  padding: 6px 0 !important;
  margin-top: 0 !important;
  display: none !important;
  z-index: 3000 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease, visibility 0.2s ease !important;
}

.modern-menu-bar > ul > li:hover > .dropdown-menu,
.modern-menu-bar .dropdown-menu:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.modern-menu-bar .dropdown-menu li {
  list-style: none !important;
  list-style-type: none !important;
}

.modern-menu-bar .dropdown-menu li::before,
.modern-menu-bar .dropdown-menu li::after,
.modern-menu-bar .dropdown-menu li::marker {
  display: none !important;
  content: none !important;
}

.modern-menu-bar .dropdown-menu li a {
  display: block;
  padding: 8px 16px;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.modern-menu-bar .dropdown-menu li a:hover {
  background: var(--gray-100);
  color: var(--primary-color);
}

/* Mobile responsive */
@media (max-width: 1200px) {
  .modern-nav-menu > li > a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .modern-top-nav {
    height: auto;
    min-height: 70px;
    padding: 10px 15px;
  }

  .modern-top-nav-container {
    flex-wrap: wrap;
  }

  .modern-nav-menu {
    flex-wrap: wrap;
    gap: 3px;
  }

  .modern-nav-menu > li > a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .modern-nav-user-info {
    display: none;
  }
}

@media (max-width: 768px) {
  /* For mobile, we'll implement a hamburger menu later if needed */
  .modern-nav-menu {
    display: none; /* Simplified for now */
  }

  .modern-nav-brand {
    font-size: 1rem;
  }
}

/* Smooth scrollbar for dropdown */
.modern-nav-dropdown::-webkit-scrollbar {
  width: 6px;
}

.modern-nav-dropdown::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.modern-nav-dropdown::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 3px;
}

.modern-nav-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Animation for dropdown items */
.modern-nav-dropdown li {
  animation: slideInDown 0.3s ease forwards;
  animation-delay: calc(var(--item-index, 0) * 0.03s);
  opacity: 0;
}

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

.modern-nav-menu > li:hover > .modern-nav-dropdown li {
  opacity: 1;
}

/* ============================================
   MODERNIZE DASHBOARD & CONTENT AREA
   ============================================ */

/* Content wrapper with better spacing */
.gray-bg {
  background: #f8f9fa !important;
  padding: 20px !important;
}

/* Better spacing before content starts */
#page-wrapper > .gray-bg {
  padding-top: 20px !important;
}

#page-wrapper {
  padding-top: 120px !important;
  margin-top: 0 !important;
}

/* Ensure dashboard header shows with proper margin */
.dashboard-header {
  margin-top: 20px !important;
}

/* Modern wrapper for main content */
.wrapper-content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Dashboard cards - cleaner, more modern */
.ibox {
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 20px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}

.ibox:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-1px) !important;
}

.ibox-title {
  background: white !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 16px 20px !important;
  min-height: auto !important;
}

.ibox-title h5 {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  margin: 0 !important;
}

.ibox-content {
  background: white !important;
  padding: 20px !important;
}

/* Dashboard header card - match styling of cards below */
.dashboard-header {
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 20px !important;
  padding: 20px !important;
}

/* Dashboard header row should match the width of .col-lg-12 below */
/* .row has -15px margins, .col-lg-12 has 15px padding = net 0 offset from page edges */
.dashboard-header.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Override Bootstrap success color to match our green */
:root {
  --success: #10b981 !important;
}

/* Dashboard header text colors */
.dashboard-header h2 {
  color: #1e3a8a !important;
  font-weight: bold !important;
}

.dashboard-header h3[style*="color:#10b981"],
.dashboard-header h3:has(+ h3[style*="color:#f59e0b"]) {
  color: #10b981 !important;
}

.dashboard-header h3[style*="color:#f59e0b"] {
  color: #f59e0b !important;
}

/* Force YTD Revenue colors - nuclear option */
.dashboard-header .col-sm-4[style*="color:#059669"],
.dashboard-header .col-sm-4[style*="color:#059669"] center,
.dashboard-header .col-sm-4[style*="color:#059669"] center > h3,
.dashboard-header .col-sm-4[style*="color:#059669"] > center > h3,
.dashboard-header .col-sm-4[style*="color:#059669"] h3,
.dashboard-header .col-sm-4[style*="color:#059669"] h3[style*="color:#059669"],
.dashboard-header .col-sm-4[style*="color:#059669"] * {
  color: #059669 !important;
}

.dashboard-header .row .col-sm-4[style*="#059669"] center h3,
.dashboard-header .row .col-sm-4[style*="#059669"] h3 {
  color: #059669 !important;
}

/* Override any inherited colors for this specific element */
div.dashboard-header div.col-sm-4[style*="059669"] center h3 {
  color: #059669 !important;
}

/* Stats widgets - better spacing */
.widget-head-color-box {
  border-radius: 10px 10px 0 0 !important;
}

.widget {
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 20px !important;
  transition: all 0.2s ease !important;
}

.widget:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-1px) !important;
}

/* Page heading */
.page-heading {
  background: white !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Better grid spacing */
.row {
  margin-left: -10px !important;
  margin-right: -10px !important;
}

[class*="col-"] {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Tables - modern styling with SMALL fonts */
.table {
  font-size: 0.75rem !important;
}

.table thead th {
  background: #f9fafb !important;
  border-bottom: 2px solid #e5e7eb !important;
  color: #6b7280 !important;
  font-weight: 600 !important;
  font-size: 0.6875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.025em !important;
  padding: 10px !important;
}

.table tbody td {
  font-size: 0.75rem !important;
  padding: 10px !important;
}

.table tbody tr {
  transition: all 0.15s ease !important;
}

.table tbody tr:hover {
  background: #f9fafb !important;
}

/* Buttons - ensure consistency */
.btn {
  border-radius: 6px !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  padding: 8px 16px !important;
  transition: all 0.2s ease !important;
}

.btn-primary {
  background: var(--primary-color, #6366f1) !important;
  border-color: var(--primary-color, #6366f1) !important;
}

.btn-primary:hover {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}
