
/**
 * Modern Admin UI - Visual Enhancements Only
 * OpenCart 3.x Admin Panel Modernization
 * 
 * CRITICAL RULES:
 * - Only visual (CSS) changes
 * - No DOM structure modifications
 * - No JavaScript changes
 * - Extension compatibility maintained
 * - All existing selectors preserved
 */

/* ============================================
   MODERN COLOR PALETTE
   ============================================ */
:root {
  --oc-primary: #3498db;
  --oc-primary-dark: #2980b9;
  --oc-success: #27ae60;
  --oc-danger: #e74c3c;
  --oc-warning: #f39c12;
  --oc-info: #3498db;
  
  --oc-sidebar-bg: #2c3e50;
  --oc-sidebar-hover: #34495e;
  --oc-sidebar-active: #1a252f;
  
  --oc-header-bg: #ffffff;
  --oc-content-bg: #f5f6fa;
  
  --oc-border: #e1e8ed;
  --oc-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --oc-shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
}

/* ============================================
   SMOOTH TRANSITIONS - REMOVED GLOBAL * SELECTOR
   ============================================ */
/* Global * selector removed for performance - transitions now applied per component */

/* ============================================
   HEADER MODERNIZATION - ELITE DESIGN
   ============================================ */

/* Main Header Container */
#header.modern-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 70px;
}

#header.modern-header .container-fluid {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
  position: relative;
}

/* Logo Section - Fixed Left */
#header.modern-header .navbar-header {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  float: left !important;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

#header.modern-header #header-logo {
  float: left !important;
  margin-right: auto;
}

#header.modern-header .navbar-brand {
  padding: 10px 0;
  margin: 0;
  height: auto;
  float: left !important;
}

#header.modern-header .navbar-brand img {
  max-height: 45px;
  width: auto;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

#header.modern-header .navbar-brand:hover img {
  filter: brightness(1.2);
  transform: scale(1.02);
}

/* Mobile Menu Toggle */
#header.modern-header .mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#header.modern-header .mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

/* Header Navigation - Fixed Right */
#header.modern-header .header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  float: right !important;
  margin-left: auto;
  flex-shrink: 0;
}

#header.modern-header .navbar-right {
  float: right !important;
  margin-right: 0;
}

#header.modern-header .header-nav > li {
  border: none;
  margin: 0;
  float: none;
  display: inline-flex;
  align-items: center;
}

/* Override default line-height for header nav links */
#header.modern-header .nav > li > a {
  line-height: normal !important;
  padding: 10px !important;
}

/* Header Action Buttons - Modern Style with Text */
#header.modern-header .header-action {
  position: relative;
}

#header.modern-header .header-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
}

#header.modern-header .header-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#header.modern-header .header-btn:active {
  transform: translateY(0);
}

#header.modern-header .header-btn i {
  font-size: 14px;
  line-height: 1;
}

/* Show button text */
#header.modern-header .header-btn .btn-text {
  display: inline !important;
}

/* Notifications Button - Icon Only */
#header.modern-header .header-notifications .header-btn {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 10px;
}

#header.modern-header .notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(231, 76, 60, 0.5);
  border: 2px solid #1a1a2e;
}

/* Separator between buttons and user profile */
#header.modern-header .header-nav > li.header-action:last-of-type::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
}

/* User Profile Dropdown */
#header.modern-header .user-dropdown {
  margin-left: 24px;
}

#header.modern-header .user-profile-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

#header.modern-header .user-profile-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* User Avatar */
#header.modern-header .user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

#header.modern-header .user-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

#header.modern-header .user-profile-toggle:hover .user-avatar img {
  border-color: rgba(255, 255, 255, 0.5);
}

#header.modern-header .user-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #1a1a2e;
}

#header.modern-header .user-status.online {
  background: #2ecc71;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.6);
}

#header.modern-header .user-status.away {
  background: #f1c40f;
}

#header.modern-header .user-status.offline {
  background: #95a5a6;
}

/* User Info - Single Line Username Only */
#header.modern-header .user-info {
  display: flex;
  align-items: center;
}

#header.modern-header .user-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

/* Hide user-role since we removed it from template */
#header.modern-header .user-role {
  display: none;
}

#header.modern-header .dropdown-arrow {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
  margin-left: 2px;
}

#header.modern-header .user-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* User Dropdown Menu */
#header.modern-header .user-dropdown-menu {
  min-width: 280px;
  padding: 0;
  margin-top: 12px;
  background: #ffffff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: dropdownFadeIn 0.3s ease;
}

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

/* Dropdown User Header */
#header.modern-header .dropdown-user-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

#header.modern-header .dropdown-user-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

#header.modern-header .dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#header.modern-header .dropdown-user-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

#header.modern-header .dropdown-user-email {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* Dropdown Menu Items */
#header.modern-header .user-dropdown-menu > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

#header.modern-header .user-dropdown-menu > li > a:hover {
  background: #f8f9fa;
  color: #667eea;
  padding-left: 24px;
}

#header.modern-header .user-dropdown-menu > li > a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: #7f8c8d;
  transition: color 0.2s ease;
}

#header.modern-header .user-dropdown-menu > li > a:hover i {
  color: #667eea;
}

/* Dropdown Divider */
#header.modern-header .user-dropdown-menu .divider {
  margin: 8px 0;
  background: #eef2f7;
}

/* Dropdown Header */
#header.modern-header .user-dropdown-menu .dropdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #95a5a6;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

#header.modern-header .user-dropdown-menu .dropdown-header i {
  font-size: 12px;
}

/* Logout Item */
#header.modern-header .user-dropdown-menu .logout-item > a {
  color: #e74c3c;
}

#header.modern-header .user-dropdown-menu .logout-item > a:hover {
  background: #fdf2f2;
  color: #c0392b;
}

#header.modern-header .user-dropdown-menu .logout-item > a i {
  color: #e74c3c;
}

/* Responsive Styles */
@media (max-width: 991px) {
  #header.modern-header .mobile-menu-toggle {
    display: flex;
  }
  
  #header.modern-header .user-info {
    display: none;
  }
  
  #header.modern-header .user-profile-toggle {
    padding: 4px;
    border-radius: 50%;
  }
  
  #header.modern-header .dropdown-arrow {
    display: none;
  }
}

@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  #header.modern-header {
    overflow-x: hidden;
    min-height: 60px;
  }
  
  #header.modern-header .container-fluid {
    padding: 0 12px;
    max-width: 100%;
    overflow: hidden;
  }
  
  /* Hide button text on mobile, show icon only */
  #header.modern-header .header-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
  }
  
  #header.modern-header .header-btn .btn-text {
    display: none !important;
  }
  
  #header.modern-header .header-btn i {
    font-size: 14px;
  }
  
  /* Header nav - prevent overflow */
  #header.modern-header .header-nav {
    gap: 4px;
    flex-shrink: 0;
  }
  
  #header.modern-header .user-avatar {
    width: 28px;
    height: 28px;
  }
  
  #header.modern-header .user-avatar img {
    width: 28px;
    height: 28px;
  }
  
  #header.modern-header .user-dropdown-menu {
    min-width: 260px;
    right: 0;
    position: absolute;
  }
  
  /* Hide notifications on mobile */
  #header.modern-header .header-notifications {
    display: none;
  }
  
  #header.modern-header .header-nav > li.header-action:last-of-type::after {
    display: none;
  }
  
  #header.modern-header .user-dropdown {
    margin-left: 4px;
  }
  
  #header.modern-header .user-info {
    display: none;
  }
  
  #header.modern-header .dropdown-arrow {
    display: none;
  }
  
  #header.modern-header .user-profile-toggle {
    padding: 3px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  /* Mobile menu toggle - smaller */
  #header.modern-header .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  /* Logo smaller on mobile */
  #header.modern-header .navbar-brand img {
    max-height: 35px;
  }
}

/* Legacy Header Support (fallback for non-modern header) */
#header:not(.modern-header) {
  background: var(--oc-header-bg);
  border-bottom: 1px solid var(--oc-border);
  box-shadow: var(--oc-shadow);
  position: sticky;
  top: 0;
  z-index: 1030;
}

#header:not(.modern-header) .container-fluid {
  background: var(--oc-header-bg);
}

#header:not(.modern-header) .navbar-header {
  background: var(--oc-header-bg);
  border-right: 1px solid var(--oc-border);
}

#header:not(.modern-header) .nav > li > a {
  color: #5a6c7d;
  font-weight: 500;
}

#header:not(.modern-header) .nav > li > a:hover,
#header:not(.modern-header) .nav > li > a:focus {
  background-color: #f8f9fa !important;
  color: var(--oc-primary);
}

#header:not(.modern-header) .navbar-right > li {
  border-left: 1px solid var(--oc-border);
}

#header:not(.modern-header) #user-profile {
  border: 2px solid var(--oc-border);
  transition: border-color 0.2s ease;
}

#header:not(.modern-header) .dropdown-toggle:hover #user-profile {
  border-color: var(--oc-primary);
}

#header:not(.modern-header) .dropdown-menu {
  border: 1px solid var(--oc-border);
  box-shadow: var(--oc-shadow-lg);
  border-radius: 8px;
  margin-top: 8px;
}

#header:not(.modern-header) .dropdown-menu > li > a {
  padding: 10px 20px;
  color: #5a6c7d;
}

#header:not(.modern-header) .dropdown-menu > li > a:hover {
  background-color: #f8f9fa;
  color: var(--oc-primary);
}

/* ============================================
   SIDEBAR MODERNIZATION
   ============================================ */
#column-left {
  background-color: var(--oc-sidebar-bg);
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

#column-left::-webkit-scrollbar {
  width: 6px;
}

#column-left::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}

#column-left::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

#column-left::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

#navigation {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

#menu > li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

#menu > li > a {
  color: #bdc3c7;
  font-weight: 500;
  padding: 14px 20px;
}

#menu > li > a:hover {
  background-color: var(--oc-sidebar-hover);
  color: #ffffff;
  padding-left: 24px;
}

#menu > li.active > a {
  background-color: var(--oc-sidebar-active);
  color: var(--oc-primary);
  border-left: 4px solid var(--oc-primary);
  padding-left: 16px;
}

#menu > li > a > i {
  width: 24px;
  text-align: center;
  margin-right: 10px;
}

#menu > li > ul {
  background-color: rgba(0,0,0,0.2);
}

#menu li li a {
  color: #95a5a6;
  padding: 10px 20px 10px 45px;
}

#menu li li a:hover {
  background-color: var(--oc-sidebar-hover);
  color: #ffffff;
  padding-left: 50px;
}

#menu li li.active > a {
  background-color: var(--oc-sidebar-active);
  color: var(--oc-primary);
  border-left: 3px solid var(--oc-primary);
}

#menu li li a:before {
  color: #7f8c8d;
  margin-left: 0;
  margin-right: 12px;
}

/* ============================================
   CONTENT AREA MODERNIZATION
   ============================================ */
#content {
  background: var(--oc-content-bg);
  min-height: 100vh;
  padding-top: 20px;
}

/* Content container-fluid padding */
#content > .container-fluid {
  padding-left: 20px;
  padding-right: 20px;
}

/* ============================================
   PAGE HEADER - ELITE MODERN DESIGN
   ============================================ */
.page-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: none;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0 20px 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Decorative accent line */
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--oc-primary) 0%, #667eea 50%, #764ba2 100%);
  border-radius: 16px 16px 0 0;
}

/* Page Header Container - Keep original layout */
.page-header .container-fluid {
  padding: 0;
}

/* Page Title */
.page-header h1 {
  color: #1a1a2e;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}


/* Breadcrumb - Modern Style */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb > li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li a {
  color: #7f8c8d;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.breadcrumb li a:hover {
  color: var(--oc-primary);
  background: rgba(52, 152, 219, 0.08);
}

.breadcrumb > li + li:before {
  content: '\f105';
  font-family: 'FontAwesome';
  color: #bdc3c7;
  font-size: 12px;
  margin: 0 4px;
  padding: 0;
}

/* Action Buttons Container - Keep float right, just style the buttons */
.page-header .pull-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* ============================================
   PAGE HEADER BUTTONS - MODERN ELITE STYLE
   ============================================ */

/* Base Button Style in Page Header */
.page-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.page-header .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 ease;
}

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

.page-header .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-header .btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-header .btn i {
  font-size: 14px;
  line-height: 1;
}

/* Primary Button - Gradient Blue */
.page-header .btn-primary {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  color: #ffffff;
}

.page-header .btn-primary:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Success Button - Gradient Green */
.page-header .btn-success {
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
  color: #ffffff;
}

.page-header .btn-success:hover {
  background: linear-gradient(135deg, #1e8449 0%, #145a32 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Danger Button - Gradient Red */
.page-header .btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
}

.page-header .btn-danger:hover {
  background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Warning Button - Gradient Orange */
.page-header .btn-warning {
  background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
  color: #ffffff;
}

.page-header .btn-warning:hover {
  background: linear-gradient(135deg, #d68910 0%, #b9770e 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

/* Info Button - Gradient Cyan */
.page-header .btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: #ffffff;
}

.page-header .btn-info:hover {
  background: linear-gradient(135deg, #138496 0%, #0f6674 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

/* Default Button - Elegant Gray */
.page-header .btn-default {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #495057;
  border: 1px solid #dee2e6;
}

.page-header .btn-default:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  color: #212529;
  border-color: #ced4da;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Icon-only Buttons */
.page-header .btn i:only-child {
  margin: 0;
}

/* Button with text - ensure icon spacing */
.page-header .btn i + span,
.page-header .btn span + i {
  margin-left: 6px;
}

/* Responsive - Stack buttons on mobile */
@media (max-width: 767px) {
  .page-header {
    padding: 16px 20px;
    border-radius: 12px;
  }
  
  .page-header h1 {
    font-size: 20px;
  }
  
  .page-header .btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .page-header .btn {
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* ============================================
   PANELS MODERNIZATION
   ============================================ */
.panel {
  border: 1px solid var(--oc-border);
  border-radius: 8px;
  box-shadow: var(--oc-shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.panel-default {
  border-top: 3px solid var(--oc-primary);
}

.panel-primary {
  border-top: 3px solid var(--oc-primary);
}

.panel-heading {
  background: #ffffff;
  border-bottom: 1px solid var(--oc-border);
  padding: 15px 20px;
}

.panel-heading h3 {
  color: #2c3e50;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.panel-body {
  background: #ffffff;
  padding: 20px;
}

/* ============================================
   BUTTONS MODERNIZATION - GLOBAL ELITE STYLE
   ============================================ */

/* Base Button Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
}

.btn i {
  font-size: 14px;
  line-height: 1;
}

/* Primary Button - Gradient Blue */
.btn-primary {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

/* Success Button - Gradient Green */
.btn-success {
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
  color: #ffffff;
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(135deg, #1e8449 0%, #145a32 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
}

/* Danger Button - Gradient Red */
.btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
}

.btn-danger:hover,
.btn-danger:focus {
  background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

/* Warning Button - Gradient Orange */
.btn-warning {
  background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
  color: #ffffff;
}

.btn-warning:hover,
.btn-warning:focus {
  background: linear-gradient(135deg, #d68910 0%, #b9770e 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4);
}

/* Info Button - Gradient Cyan */
.btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: #ffffff;
}

.btn-info:hover,
.btn-info:focus {
  background: linear-gradient(135deg, #138496 0%, #0f6674 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(23, 162, 184, 0.4);
}

/* Default Button - Elegant Gray */
.btn-default {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: #495057;
  border: 1px solid #dee2e6;
}

.btn-default:hover,
.btn-default:focus {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  color: #212529;
  border-color: #ced4da;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Link Button - Minimal Style */
.btn-link {
  background: transparent;
  color: var(--oc-primary);
  box-shadow: none;
  padding: 8px 12px;
}

.btn-link:hover {
  background: rgba(52, 152, 219, 0.08);
  color: var(--oc-primary-dark);
  box-shadow: none;
  transform: none;
}

/* Button Sizes */
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
}

/* Block Button */
.btn-block {
  display: flex;
  width: 100%;
}

/* Button Group */
.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 8px 0 0 8px;
}

.btn-group .btn:last-child {
  border-radius: 0 8px 8px 0;
}

.btn-group .btn + .btn {
  margin-left: -1px;
}

/* Dropdown Toggle */
.btn .caret {
  margin-left: 4px;
}

.dropdown-toggle::after {
  margin-left: 6px;
}

/* Table Action Buttons - Compact Style */
.table .btn {
  padding: 8px 14px;
  font-size: 12px;
}

.table .btn i {
  font-size: 13px;
}

/* Button with only icon */
.btn i:only-child {
  margin: 0;
}

/* Disabled Button */
.btn.disabled,
.btn:disabled,
.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn.disabled:hover,
.btn:disabled:hover,
.btn[disabled]:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================
   FORMS MODERNIZATION
   ============================================ */
.form-control {
  border: 1px solid var(--oc-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.42857143;
}

.form-control:focus {
  border-color: var(--oc-primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  outline: none;
}

/* Select boxes - ensure text is fully visible */
select.form-control {
  height: auto;
  min-height: 38px;
  padding: 8px 12px;
  line-height: 1.5;
}

/* Multiple select boxes */
select.form-control[multiple] {
  height: auto;
  min-height: 100px;
}

.form-group {
  padding: 15px 0;
}

.form-group + .form-group {
  border-top: 1px solid #f0f0f0;
}

/* ============================================
   ALERTS MODERNIZATION
   ============================================ */
.alert {
  border-radius: 8px;
  border: none;
  padding: 15px 20px;
  box-shadow: var(--oc-shadow);
  margin-bottom: 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid var(--oc-success);
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid var(--oc-danger);
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border-left: 4px solid var(--oc-warning);
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid var(--oc-info);
}

/* ============================================
   TILES (DASHBOARD) MODERNIZATION
   ============================================ */
.tile {
  border-radius: 8px;
  box-shadow: var(--oc-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--oc-shadow-lg);
}

.tile-heading {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tile-body {
  padding: 20px;
}

.tile-body h2 {
  font-weight: 700;
}

/* ============================================
   TABS MODERNIZATION
   ============================================ */
.nav-tabs {
  border-bottom: 2px solid var(--oc-border);
  margin-bottom: 20px;
}

.nav-tabs > li > a {
  border-radius: 6px 6px 0 0;
  color: #7f8c8d;
  font-weight: 500;
  padding: 12px 20px;
}

.nav-tabs > li > a:hover {
  background: #f8f9fa;
  border-color: var(--oc-border);
  color: var(--oc-primary);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: var(--oc-primary);
  background: #ffffff;
  border-color: var(--oc-border) var(--oc-border) #ffffff;
  border-bottom: 2px solid var(--oc-primary);
  font-weight: 600;
}

/* ============================================
   PAGINATION MODERNIZATION
   ============================================ */
.pagination > li > a,
.pagination > li > span {
  border: 1px solid var(--oc-border);
  color: #5a6c7d;
  padding: 8px 14px;
  margin: 0 2px;
  border-radius: 6px;
}

.pagination > li > a:hover {
  background: var(--oc-primary);
  border-color: var(--oc-primary);
  color: #ffffff;
}

.pagination > .active > a,
.pagination > .active > span {
  background: var(--oc-primary);
  border-color: var(--oc-primary);
  color: #ffffff;
}

/* ============================================
   FOOTER MODERNIZATION
   ============================================ */
#footer {
  background: #ffffff;
  border-top: 1px solid var(--oc-border);
  padding: 20px;
  color: #7f8c8d;
  font-size: 13px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
  .page-header {
    border-radius: 12px;
    margin: 0px 5px 16px 5px;
    padding: 16px;
  }
  
  .page-header h1 {
    font-size: 18px;
  }
  
  .panel {
    border-radius: 8px;
    margin-left: 0;
    margin-right: 0;
  }
  
  /* Content container padding on mobile */
  #content > .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ============================================
   DASHBOARD SPECIFIC STYLES
   ============================================ */

/* Dashboard Tiles (Statistics Cards) */
.tile {
  border-radius: 12px;
  box-shadow: var(--oc-shadow-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.tile-heading {
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  font-size: 13px;
  text-transform: uppercase;
  background: rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tile-heading .pull-right {
  font-size: 14px;
  font-weight: 700;
}

.tile-heading i {
  font-size: 16px;
  margin-right: 4px;
}

.tile-body {
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

.tile-body i {
  font-size: 48px;
  opacity: 0.25;
  transition: all 0.3s ease;
}

.tile:hover .tile-body i {
  opacity: 0.4;
  transform: scale(1.1);
}

.tile-body h2 {
  font-size: 36px;

/* ============================================
   SELECT2 MODERNIZATION
   ============================================ */

/* Select2 Container */
.select2-container--default .select2-selection--multiple {
  border: 1px solid var(--oc-border);
  border-radius: 8px;
  min-height: 48px;
  padding: 6px 10px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.select2-container--default .select2-selection--multiple:hover {
  border-color: #bdc3c7;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--oc-primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
  outline: none;
}

/* Select2 Tags */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  border: none;
  border-radius: 6px;
  color: #ffffff;
  padding: 6px 12px;
  margin: 4px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 700;
  margin-right: 0;
  margin-left: 4px;
  order: 2;
  cursor: pointer;
  transition: color 0.2s ease;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
  color: #ffffff;
  background: transparent;
}

/* Select2 Search Input */
.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 6px;
  font-size: 14px;
  color: #2c3e50;
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
  color: #95a5a6;
}

/* Select2 Dropdown */
.select2-dropdown {
  border: 1px solid var(--oc-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
  overflow: hidden;
}

.select2-container--default .select2-results__option {
  padding: 10px 14px;
  font-size: 14px;
  color: #2c3e50;
  transition: all 0.15s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  color: #ffffff;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: #f0f7ff;
  color: var(--oc-primary);
  font-weight: 500;
}

/* Select2 Search Box in Dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--oc-border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--oc-primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
  outline: none;
}

/* Select2 Loading */
.select2-container--default .select2-results__option--loading {
  color: #95a5a6;
  font-style: italic;
}

/* Select2 No Results */
.select2-container--default .select2-results__message {
  color: #95a5a6;
  padding: 12px 14px;
  font-size: 14px;
}

/* Select2 Clear Button */
.select2-container--default .select2-selection--multiple .select2-selection__clear {
  color: #e74c3c;
  font-size: 18px;
  margin-right: 8px;
  cursor: pointer;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear:hover {
  color: #c0392b;
}

/* Select2 Single Selection */
.select2-container--default .select2-selection--single {
  border: 1px solid var(--oc-border);
  border-radius: 8px;
  height: 42px;
  padding: 6px 12px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.select2-container--default .select2-selection--single:hover {
  border-color: #bdc3c7;
}

.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: var(--oc-primary);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
  outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
  color: #2c3e50;
  padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px;
  right: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #95a5a6;
}
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.tile-footer {
  padding: 12px 20px;
  background: rgba(0,0,0,0.15);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tile-footer a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tile-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.tile-footer span {
  color: rgba(255,255,255,0.8);
  font-size: 12px;
}

/* Tile Color Variations */
.tile-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dailyorders {
  background: linear-gradient(135deg, #009dc3 0%, #0078a3 100%) !important;
}

.dailysales {
  background: linear-gradient(135deg, #f39c12 0%, #d68910 100%) !important;
}

.dailyregister {
  background: linear-gradient(135deg, #00a65a 0%, #008d4c 100%) !important;
}

.newslettersubs {
  background: linear-gradient(135deg, #dd4b39 0%, #c23321 100%) !important;
}

.monthlyorder {
  background: linear-gradient(135deg, #ff7262 0%, #e85d4f 100%) !important;
}

.monthlysales {
  background: linear-gradient(135deg, #16659b 0%, #0e4d75 100%) !important;
}

/* Dashboard Chart Panel */
#range {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

#range li {
  margin: 0;
}

#range li a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

#range li.active a {
  background: var(--oc-primary);
  border-color: var(--oc-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

#range li:not(.active) a {
  background: #f8f9fa;
  border-color: var(--oc-border);
  color: #5a6c7d;
}

#range li:not(.active) a:hover {
  background: var(--oc-primary);
  border-color: var(--oc-primary);
  color: #ffffff;
}

/* Chart Container */
#chart-sale {
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
}

#legendContainer {
  background: #f8f9fa;
  border: 1px solid var(--oc-border) !important;
  border-radius: 6px;
  padding: 10px 15px;
  margin-top: 10px !important;
  margin-right: 0 !important;
}

/* Dashboard Recent Orders Table */
.ordertitle {
  display: inline-block;
  width: auto;
  margin: 0;
}

.viewallordersbtn {
  display: inline-block;
  float: right;
  margin: 0;
}

.viewallordersbtn .btn {
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
}

/* Status Badges in Dashboard - SCOPED */
#content .panel-body .table span[class*="payment-"],
#content .panel-body .table span[class*="license-"],
#content .panel-body .table span[class*="key-"],
#content .panel-body .table span.pending,
#content .panel-body .table span.failed,
#content .panel-body .table span.expired,
#content .panel-body .table span.canceled,
#content .panel-body .table span.missing-orders {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-succeed {
  background: #e2e3e5;
  color: #383d41;
}

.license-sent,
.key-sent {
  background: #d1ecf1;
  color: #0c5460;
}

.pending,
.missing-orders {
  background: #cce5ff;
  color: #004085;
}

.failed {
  background: #f8d7da;
  color: #721c24;
}

.license-received,
.key-received {
  background: #d4edda;
  color: #155724;
}

.expired {
  background: #fff3cd;
  color: #856404;
}

.canceled {
  background: #d6d8d9;
  color: #1b1e21;
}

/* Dashboard Grid Spacing */
.row {
  margin-left: -10px;
  margin-right: -10px;
}

.row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

/* Dashboard Responsive */
@media (max-width: 991px) {
  .tile-body h2 {
    font-size: 28px;
  }
  
  .tile-body i {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  #range {
    flex-wrap: wrap;
  }
  
  .ordertitle {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .viewallordersbtn {
    float: none;
    width: 100%;
    text-align: center;
  }
  
  .tile-body {
    padding: 20px 15px;
  }
  
  .tile-body h2 {
    font-size: 24px;
  }
}

/* ============================================
   PRODUCT LIST PAGE STYLES
   ============================================ */

/* Action Buttons Row */
.page-header .pull-right {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.page-header .pull-right .btn {
  margin: 0;
  white-space: nowrap;
}

/* Filter Panel */
.panel-info {
  border-top: 3px solid var(--oc-info);
}

.panel-info .panel-heading {
  background: #ffffff;
  border-bottom: 1px solid var(--oc-border);
  position: relative;
}

.panel-info .panel-heading .pull-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.panel-info .panel-heading .pull-right i {
  font-size: 20px;
  color: var(--oc-info);
  transition: transform 0.3s ease;
}

.panel-info .panel-heading .pull-right i.fa-caret-up {
  transform: rotate(180deg);
}

/* Filter Form Rows */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px 15px -10px;
}

.form-row .form-group {
  padding: 0 10px;
  margin-bottom: 0;
  border: none;
}

.form-row .form-group label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 13px;
  margin-bottom: 6px;
}

.form-row .form-group .form-control {
  font-size: 14px;
}

.form-row .form-group .checkbox {
  margin-top: 8px;
}

.form-row .form-group .checkbox label {
  font-weight: 500;
  color: #5a6c7d;
}

/* Filter Button */
#button-filter {
  font-weight: 600;
  padding: 10px 20px;
  font-size: 14px;
}

/* Product Table Enhancements - REMOVED */
/* All table styles removed to prevent conflicts with Product Form Price tab */
/* Product List uses default OpenCart table styling for extension compatibility */

/* PID/JID/SKU Labels - REMOVED */
/* Action Buttons in Table - REMOVED */
/* All product-specific table styles removed for extension compatibility */

/* ============================================
   PRODUCT LIST - PAGINATION (MODERN CLEAN)
   ============================================ */

/* Pagination Container - Modern Layout */
.panel-body > .row:last-child {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 20px 0;
  border-top: 2px solid #e8ecef;
  background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

/* Results Text - Left Side */
.panel-body > .row:last-child > .col-sm-6.text-left {
  flex: 0 0 auto !important;
  color: #5a6c7d !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 42px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-align: left !important;
  width: auto !important;
  max-width: none !important;
  padding-left: 10px !important;
}

/* Pagination Links - Right Side */
.panel-body > .row:last-child > .col-sm-6.text-right {
  flex: 0 0 auto;
  display: flex !important;
  justify-content: flex-end !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-align: right !important;
  padding-right: 10px !important;
}

/* Pagination List - Modern Clean Design */
.pagination {
  display: inline-flex !important;
  gap: 6px;
  margin: 0 !important;
  list-style: none;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
}

/* HIDE ARROW BUTTONS - First and Last Child (Left/Right Arrows) */
.pagination > li:first-child,
.pagination > li:last-child {
  display: none !important;
}

/* Pagination Items - Only Page Numbers Visible */
.pagination > li {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
}

/* Pagination Links - Modern Pill Style */
.pagination > li > a,
.pagination > li > span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 10px 16px !important;
  min-width: 42px;
  height: 42px;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #5a6c7d !important;
  background: #ffffff !important;
  border: 2px solid transparent !important;
  border-radius: 10px !important;
  margin: 0 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Pagination Link Hover - Smooth Animation */
.pagination > li > a:hover {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%) !important;
  border-color: var(--oc-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3) !important;
}

/* Active Page - Bold Gradient */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%) !important;
  border-color: var(--oc-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4) !important;
  transform: scale(1.08) !important;
}

/* Disabled Pagination Items */
.pagination > .disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > span:hover,
.pagination > .disabled > a:hover {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: #f5f6fa !important;
  color: #bdc3c7 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Add subtle animation on page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pagination > li {
  animation: fadeInUp 0.3s ease-out backwards;
}

.pagination > li:nth-child(2) { animation-delay: 0.05s; }
.pagination > li:nth-child(3) { animation-delay: 0.1s; }
.pagination > li:nth-child(4) { animation-delay: 0.15s; }
.pagination > li:nth-child(5) { animation-delay: 0.2s; }
.pagination > li:nth-child(6) { animation-delay: 0.25s; }
.pagination > li:nth-child(7) { animation-delay: 0.3s; }
.pagination > li:nth-child(8) { animation-delay: 0.35s; }
.pagination > li:nth-child(9) { animation-delay: 0.4s; }
.pagination > li:nth-child(10) { animation-delay: 0.45s; }

/* ============================================
   PRODUCT FORM - GENERAL TAB - LANGUAGE TABS
   ============================================ */

/* Language Tab Container - Scoped to Product Form General Tab */
#tab-general > #language.nav-tabs {
  background: #f8f9fa;
  border: 1px solid var(--oc-border);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Language Tab Items */
#tab-general > #language.nav-tabs > li {
  margin: 0;
  flex: 0 0 auto;
}

/* Language Tab Links - Modern Pill Style */
#tab-general > #language.nav-tabs > li > a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 16px !important;
  border: 2px solid transparent !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #5a6c7d !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Language Flag Image */
#tab-general > #language.nav-tabs > li > a img {
  width: 20px !important;
  height: 20px !important;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--oc-border);
  flex-shrink: 0;
}

/* Language Tab Hover */
#tab-general > #language.nav-tabs > li > a:hover {
  background: var(--oc-primary) !important;
  border-color: var(--oc-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3) !important;
}

#tab-general > #language.nav-tabs > li > a:hover img {
  border-color: #ffffff;
}

/* Active Language Tab */
#tab-general > #language.nav-tabs > li.active > a,
#tab-general > #language.nav-tabs > li.active > a:hover,
#tab-general > #language.nav-tabs > li.active > a:focus {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%) !important;
  border-color: var(--oc-primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4) !important;
}

#tab-general > #language.nav-tabs > li.active > a img {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Responsive - Stack on Mobile */
@media (max-width: 767px) {
  #tab-general > #language.nav-tabs {
    flex-direction: column;
  }
  
  #tab-general > #language.nav-tabs > li {
    flex: 1 1 100%;
  }
  
  #tab-general > #language.nav-tabs > li > a {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ============================================
   ORDER LIST PAGE STYLES - MODERN V2
   ============================================ */

/* Order Status Badges - Modern Gradient Design */
#content form[action*="sale/order"] .table span[class*="payment-"],
#content form[action*="sale/order"] .table span[class*="license-"],
#content form[action*="sale/order"] .table span[class*="key-"],
#content form[action*="sale/order"] .table span.pending,
#content form[action*="sale/order"] .table span.processing,
#content form[action*="sale/order"] .table span.complete,
#content form[action*="sale/order"] .table span.failed,
#content form[action*="sale/order"] .table span.canceled,
#content form[action*="sale/order"] .table span.refunded,
#content form[action*="sale/order"] .table span.expired,
#content form[action*="sale/order"] .table span.missing-orders {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

#content form[action*="sale/order"] .table span[class*="payment-"]:hover,
#content form[action*="sale/order"] .table span[class*="license-"]:hover,
#content form[action*="sale/order"] .table span[class*="key-"]:hover,
#content form[action*="sale/order"] .table span.pending:hover,
#content form[action*="sale/order"] .table span.processing:hover,
#content form[action*="sale/order"] .table span.complete:hover,
#content form[action*="sale/order"] .table span.failed:hover,
#content form[action*="sale/order"] .table span.canceled:hover,
#content form[action*="sale/order"] .table span.refunded:hover,
#content form[action*="sale/order"] .table span.expired:hover,
#content form[action*="sale/order"] .table span.missing-orders:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Payment Status - Gradient Green */
#content form[action*="sale/order"] .table span.payment-succeed {
  background: linear-gradient(135deg, #52c234 0%, #27ae60 100%);
  color: #ffffff;
}

/* License/Key Status - Gradient Blue */
#content form[action*="sale/order"] .table span.license-sent,
#content form[action*="sale/order"] .table span.key-sent {
  background: linear-gradient(135deg, #4fc3f7 0%, #0288d1 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.license-received,
#content form[action*="sale/order"] .table span.key-received {
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
  color: #ffffff;
}

/* Order Status - Modern Gradients */
#content form[action*="sale/order"] .table span.pending {
  background: linear-gradient(135deg, #ffd54f 0%, #ffa726 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.processing {
  background: linear-gradient(135deg, #42a5f5 0%, #1976d2 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.complete {
  background: linear-gradient(135deg, #66bb6a 0%, #388e3c 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.failed {
  background: linear-gradient(135deg, #ef5350 0%, #c62828 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.canceled,
#content form[action*="sale/order"] .table span.cancelled {
  background: linear-gradient(135deg, #90a4ae 0%, #607d8b 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.refunded {
  background: linear-gradient(135deg, #78909c 0%, #546e7a 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.expired {
  background: linear-gradient(135deg, #ff7043 0%, #d84315 100%);
  color: #ffffff;
}

#content form[action*="sale/order"] .table span.missing-orders {
  background: linear-gradient(135deg, #64b5f6 0%, #1e88e5 100%);
  color: #ffffff;
}

/* Summary Table - Modern Card Design */
#content form[action*="sale/order"] > table:first-of-type {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  margin-bottom: 20px;
  border: none;
}

#content form[action*="sale/order"] > table:first-of-type thead td {
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 12px;
  border: none;
}

#content form[action*="sale/order"] > table:first-of-type tbody td {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 20px 12px;
  border: none;
}

/* Table Row Hover Effect */
#content form[action*="sale/order"] .table-responsive .table tbody tr {
  transition: all 0.2s ease;
}

#content form[action*="sale/order"] .table-responsive .table tbody tr:hover {
  background: #f8f9fa;
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Action Button - Modern Style */
#content form[action*="sale/order"] .table .btn-primary {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
  transition: all 0.2s ease;
}

#content form[action*="sale/order"] .table .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

/* ============================================
   CATEGORY LIST PAGE STYLES - MODERN DESIGN
   ============================================ */

/* Category Table - Simple Hover (NO LAYOUT CHANGES) */
#content form[action*="catalog/category"] .table tbody tr {
  transition: background-color 0.2s ease;
}

#content form[action*="catalog/category"] .table tbody tr:hover {
  background-color: #f8f9fa !important;
}

/* Category ID Badge - Modern Pill */
#content form[action*="catalog/category"] .table tbody td:nth-child(2) {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 13px;
  color: var(--oc-primary);
}

/* Category Name - Bold & Modern */
#content form[action*="catalog/category"] .table tbody td:nth-child(3) {
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
}

/* Sort Order Badge - Modern Chip */
#content form[action*="catalog/category"] .table tbody td:nth-child(4) {
  font-weight: 700;
  color: #5a6c7d;
}

/* Status Column - Modern Badges */
#content form[action*="catalog/category"] .table tbody td:nth-child(5) {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}

/* Enabled Status - Green Gradient */
#content form[action*="catalog/category"] .table tbody tr td:nth-child(5):contains("Enabled") {
  color: #27ae60;
}

/* Disabled Status - Red */
#content form[action*="catalog/category"] .table tbody tr td:nth-child(5):contains("Disabled") {
  color: #e74c3c;
}

/* Action Button - Modern Gradient */
#content form[action*="catalog/category"] .table .btn-primary {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
  transition: all 0.2s ease;
}

#content form[action*="catalog/category"] .table .btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

/* Table Header - Modern Style */
#content form[action*="catalog/category"] .table thead td {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-weight: 700;
  color: #2c3e50;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 15px 12px;
  border-bottom: 2px solid var(--oc-primary);
}

/* Sort Links - Modern Style */
#content form[action*="catalog/category"] .table thead td a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s ease;
}

#content form[action*="catalog/category"] .table thead td a:hover {
  color: var(--oc-primary);
}

#content form[action*="catalog/category"] .table thead td a.asc:after {
  content: " ▲";
  color: var(--oc-primary);
  font-size: 10px;
}

#content form[action*="catalog/category"] .table thead td a.desc:after {
  content: " ▼";
  color: var(--oc-primary);
  font-size: 10px;
}

/* Filter Panel - Modern Card */
#content .col-md-3 .panel-default {
  border-top: 3px solid var(--oc-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#content .col-md-3 .panel-heading {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  color: #ffffff;
  border: none;
}

#content .col-md-3 .panel-heading .panel-title {
  color: #ffffff;
  font-weight: 600;
}

#content .col-md-3 .panel-heading .panel-title i {
  margin-right: 8px;
}

/* Filter Button - Modern Style */
#content .col-md-3 #button-filter {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
  border: none;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
  transition: all 0.2s ease;
}

#content .col-md-3 #button-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

/* Checkbox - Modern Style */
#content form[action*="catalog/category"] .table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--oc-primary);
}

/* Category Status Toggle Switch */
.category-status-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
}

.category-status-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.category-status-toggle .toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
  border-radius: 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-status-toggle .toggle-slider::before {
  content: '';
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.category-status-toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 8px rgba(102, 187, 106, 0.4);
}

.category-status-toggle input:checked + .toggle-slider::before {
  transform: translateX(24px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.category-status-toggle input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.category-status-toggle:hover .toggle-slider {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 12px rgba(0, 0, 0, 0.1);
}

.category-status-toggle input:checked:hover + .toggle-slider {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 12px rgba(102, 187, 106, 0.5);
}

/* ============================================
   DASHBOARD QUICK MENU - MODERN DESIGN
   ============================================ */

/* Quick Menu Section Container */
.quick-menu-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Decorative accent line */
.quick-menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f39c12 100%);
  border-radius: 16px 16px 0 0;
}

/* Quick Menu Header */
.quick-menu-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.quick-menu-header h3 {
  color: #1a1a2e;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-menu-header h3 i {
  color: #667eea;
  font-size: 20px;
}

.quick-menu-subtitle {
  color: #7f8c8d;
  font-size: 13px;
  font-weight: 400;
}

/* Quick Menu Grid */
.quick-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

/* Quick Menu Item */
.quick-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.quick-menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--item-color) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--item-color);
  text-decoration: none;
}

.quick-menu-item:hover::before {
  opacity: 0.08;
}

/* Quick Menu Icon */
.quick-menu-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--item-color) 0%, color-mix(in srgb, var(--item-color) 80%, #000000) 100%);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--item-color) 40%, transparent);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.quick-menu-item:hover .quick-menu-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--item-color) 50%, transparent);
}

.quick-menu-icon i {
  font-size: 24px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.quick-menu-item:hover .quick-menu-icon i {
  transform: scale(1.1);
}

/* Quick Menu Title */
.quick-menu-title {
  font-size: 13px;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.quick-menu-item:hover .quick-menu-title {
  color: var(--item-color);
}

/* Responsive Quick Menu */
@media (max-width: 991px) {
  .quick-menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
  
  .quick-menu-item {
    padding: 16px 12px;
  }
  
  .quick-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  
  .quick-menu-icon i {
    font-size: 20px;
  }
  
  .quick-menu-title {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .quick-menu-section {
    padding: 16px;
    border-radius: 12px;
  }
  
  .quick-menu-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .quick-menu-item {
    padding: 12px 8px;
    border-radius: 10px;
  }
  
  .quick-menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 8px;
  }
  
  .quick-menu-icon i {
    font-size: 18px;
  }
  
  .quick-menu-title {
    font-size: 11px;
  }
  
  .quick-menu-header h3 {
    font-size: 16px;
  }
  
  .quick-menu-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .quick-menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   FLOATING ACTION BUTTONS - PRODUCT FORM
   PROFESSIONAL MODERN DESIGN
   ============================================ */

/* Fixed Action Buttons Container - Glassmorphism */
.fixed-action-buttons {
  position: fixed;
  top: 80px;
  right: 30px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(120px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Modern Button Styles - Professional Design */
.fixed-action-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  height: 40px;
  border-radius: 10px;
  border: none;
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
}

/* Ripple Effect on Click */
.fixed-action-buttons .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.fixed-action-buttons .btn:active::after {
  width: 300px;
  height: 300px;
}

/* Shimmer Effect */
.fixed-action-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s ease;
}

.fixed-action-buttons .btn:hover::before {
  left: 150%;
}

/* Hover State - Dramatic */
.fixed-action-buttons .btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Active State */
.fixed-action-buttons .btn:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 
    0 4px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Icon Styling */
.fixed-action-buttons .btn i {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fixed-action-buttons .btn:hover i {
  transform: scale(1.2) rotate(-5deg);
}

/* Primary Button - Save (Professional Blue) */
.fixed-action-buttons .btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #ffffff;
  box-shadow: 
    0 4px 14px rgba(52, 152, 219, 0.4),
    0 2px 6px rgba(41, 128, 185, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fixed-action-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
  box-shadow: 
    0 12px 32px rgba(52, 152, 219, 0.5),
    0 4px 12px rgba(41, 128, 185, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Info Button - Exchange (Professional Cyan) */
.fixed-action-buttons .btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: #ffffff;
  box-shadow: 
    0 4px 14px rgba(23, 162, 184, 0.4),
    0 2px 6px rgba(19, 132, 150, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.fixed-action-buttons .btn-info:hover {
  background: linear-gradient(135deg, #138496 0%, #0f6674 100%);
  box-shadow: 
    0 12px 32px rgba(23, 162, 184, 0.5),
    0 4px 12px rgba(19, 132, 150, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Default Button - Cancel (Professional Gray) */
.fixed-action-buttons .btn-default {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 14px rgba(108, 117, 125, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.fixed-action-buttons .btn-default:hover {
  background: linear-gradient(135deg, #495057 0%, #343a40 100%);
  box-shadow: 
    0 12px 32px rgba(108, 117, 125, 0.4),
    0 4px 12px rgba(73, 80, 87, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Subtle Pulse Animation for Save Button */
@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 
      0 4px 14px rgba(52, 152, 219, 0.4),
      0 2px 6px rgba(41, 128, 185, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 4px 18px rgba(52, 152, 219, 0.5),
      0 2px 8px rgba(41, 128, 185, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

.fixed-action-buttons .btn-primary {
  animation: subtlePulse 3s ease-in-out infinite;
}

.fixed-action-buttons .btn-primary:hover {
  animation: none;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .fixed-action-buttons {
    top: 70px;
    right: 20px;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 14px;
  }
  
  .fixed-action-buttons .btn {
    padding: 12px 22px;
    height: 44px;
    font-size: 12px;
  }
  
  .fixed-action-buttons .btn i {
    font-size: 14px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .fixed-action-buttons {
    top: 60px;
    right: 12px;
    left: 12px;
    padding: 10px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 12px;
  }
  
  .fixed-action-buttons .btn {
    padding: 10px 18px;
    height: 40px;
    font-size: 11px;
    flex: 1 1 auto;
    min-width: 0;
  }
  
  .fixed-action-buttons .btn i {
    font-size: 13px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.shadow-sm {
  box-shadow: var(--oc-shadow);
}

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

.rounded {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

/* ============================================
   GLOBAL SEARCH - MODERN SPOTLIGHT STYLE
   ============================================ */

/* Center Search Bar in Header */
#header.modern-header .header-search-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 100%;
  max-width: 480px;
  padding: 0 20px;
}

#header.modern-header .header-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: text;
}

#header.modern-header .header-search-bar:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

#header.modern-header .header-search-bar:active {
  transform: translateY(0);
}

#header.modern-header .header-search-bar i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

#header.modern-header .header-search-bar:hover i {
  color: rgba(255, 255, 255, 0.9);
}

#header.modern-header .header-search-bar .search-placeholder {
  flex: 1;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#header.modern-header .header-search-bar:hover .search-placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#header.modern-header .header-search-bar .search-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  flex-shrink: 0;
}

#header.modern-header .header-search-bar:hover .search-shortcut {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive - Center Search Bar */
@media (max-width: 991px) {
  #header.modern-header .header-search-center {
    max-width: 320px;
    padding: 0 10px;
  }
  
  #header.modern-header .header-search-bar {
    padding: 10px 16px;
  }
  
  #header.modern-header .header-search-bar .search-placeholder {
    font-size: 13px;
  }
  
  #header.modern-header .header-search-bar .search-shortcut {
    display: none;
  }
}

@media (max-width: 767px) {
  #header.modern-header .header-search-center {
    display: none;
  }
}

/* Global Search Modal - Spotlight Style */
.global-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.global-search-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.global-search-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 70vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-search-modal.active .global-search-container {
  transform: translateY(0) scale(1);
}

/* Search Header */
.global-search-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e8ecef;
  background: #fafbfc;
}

.global-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-search-icon {
  font-size: 18px;
  color: #7f8c8d;
  flex-shrink: 0;
}

.global-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: #2c3e50;
  outline: none;
  padding: 8px 0;
}

.global-search-input::placeholder {
  color: #95a5a6;
  font-weight: 400;
}

.global-search-esc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #e8ecef;
  border: 1px solid #dde2e6;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #7f8c8d;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  flex-shrink: 0;
}

/* Search Body */
.global-search-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}

.global-search-results {
  padding: 0;
}

/* Search Section */
.search-section {
  padding: 8px 0;
}

.search-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  color: #95a5a6;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.search-section-title i {
  font-size: 12px;
}

/* Search Items */
.search-items {
  padding: 0;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: #2c3e50;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.search-item:hover,
.search-item.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  text-decoration: none;
}

.search-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--item-color, #667eea);
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.search-item-icon i {
  font-size: 16px;
}

.search-item:hover .search-item-icon,
.search-item.selected .search-item-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.search-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-text mark {
  background: rgba(255, 255, 0, 0.3);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.search-item:hover .search-item-text mark,
.search-item.selected .search-item-text mark {
  background: rgba(255, 255, 255, 0.3);
}

.search-item-subtitle {
  font-size: 12px;
  color: #7f8c8d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item:hover .search-item-subtitle,
.search-item.selected .search-item-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.search-item-path {
  font-size: 12px;
  color: #95a5a6;
  flex-shrink: 0;
  margin-left: auto;
}

.search-item:hover .search-item-path,
.search-item.selected .search-item-path {
  color: rgba(255, 255, 255, 0.7);
}

.search-item-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.08);
  color: #5a6c7d;
  flex-shrink: 0;
}

.search-item:hover .search-item-status,
.search-item.selected .search-item-status {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* No Results */
.search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #95a5a6;
  text-align: center;
}

.search-no-results i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.search-no-results p {
  font-size: 16px;
  font-weight: 600;
  color: #7f8c8d;
  margin: 0 0 4px 0;
}

.search-no-results span {
  font-size: 13px;
  color: #95a5a6;
}

/* Search Footer */
.global-search-footer {
  padding: 12px 20px;
  border-top: 1px solid #e8ecef;
  background: #fafbfc;
}

.search-footer-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: #95a5a6;
}

.search-footer-hints kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #e8ecef;
  border: 1px solid #dde2e6;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #5a6c7d;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0 2px;
}

/* Responsive Search Modal */
@media (max-width: 767px) {
  .global-search-modal {
    padding-top: 5vh;
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .global-search-container {
    max-height: 80vh;
    border-radius: 12px;
  }
  
  .global-search-header {
    padding: 12px 16px;
  }
  
  .global-search-input {
    font-size: 15px;
  }
  
  .search-item {
    padding: 10px 16px;
    gap: 12px;
  }
  
  .search-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  
  .search-item-icon i {
    font-size: 14px;
  }
  
  .search-item-text {
    font-size: 13px;
  }
  
  .search-footer-hints {
    gap: 12px;
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  #header.modern-header .header-search-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: none;
    width: auto;
    flex: 1;
    padding: 0 8px;
    margin: 0 8px;
  }
  
  #header.modern-header .header-search-bar {
    padding: 8px 12px;
    gap: 8px;
    border-radius: 10px;
  }
  
  #header.modern-header .header-search-bar i {
    font-size: 14px;
  }
  
  #header.modern-header .header-search-bar .search-placeholder {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  #header.modern-header .header-search-bar .search-placeholder {
    display: none;
  }
  
  #header.modern-header .header-search-bar {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
}

/* Search Modal Overlay */
.global-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-search-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Backdrop */
.global-search-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Search Container */
.global-search-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transform: scale(0.95) translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-search-modal.active .global-search-container {
  transform: scale(1) translateY(0);
}

/* Search Header */
.global-search-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.global-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.global-search-input-wrapper:focus-within {
  border-color: var(--oc-primary);
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.global-search-icon {
  font-size: 18px;
  color: #9ca3af;
  flex-shrink: 0;
}

.global-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  color: #1f2937;
  background: transparent;
  min-width: 0;
}

.global-search-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.global-search-esc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  flex-shrink: 0;
}

/* Search Body */
.global-search-body {
  max-height: 400px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.global-search-body::-webkit-scrollbar {
  width: 6px;
}

.global-search-body::-webkit-scrollbar-track {
  background: transparent;
}

.global-search-body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.global-search-body::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Search Results */
.global-search-results {
  padding: 8px;
}

/* Search Section */
.search-section {
  margin-bottom: 8px;
}

.search-section:last-child {
  margin-bottom: 0;
}

.search-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.search-section-title i {
  font-size: 12px;
  color: #9ca3af;
}

/* Search Items */
.search-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
}

.search-item:hover,
.search-item.selected {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  text-decoration: none;
}

.search-item.selected {
  background: linear-gradient(135deg, var(--oc-primary) 0%, #2980b9 100%);
}

.search-item.selected .search-item-text,
.search-item.selected .search-item-path {
  color: #ffffff;
}

.search-item.selected .search-item-icon {
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: none !important;
}

.search-item.selected .search-item-icon i {
  color: #ffffff !important;
}

/* Search Item Icon */
.search-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--item-color, #667eea) 0%, color-mix(in srgb, var(--item-color, #667eea) 80%, #000000) 100%);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--item-color, #667eea) 30%, transparent);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.search-item:hover .search-item-icon {
  transform: scale(1.05);
}

.search-item-icon i {
  font-size: 14px;
  color: #ffffff;
}

/* Search Item Text */
.search-item-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-item-text mark {
  background: #fef08a;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.search-item.selected .search-item-text mark {
  background: rgba(255, 255, 255, 0.3);
}

/* Search Item Path */
.search-item-path {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  flex-shrink: 0;
}

/* No Results */
.search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.search-no-results i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
}

.search-no-results p {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 4px 0;
}

.search-no-results span {
  font-size: 13px;
  color: #9ca3af;
}

/* Search Footer */
.global-search-footer {
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.search-footer-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.search-footer-hints span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}

.search-footer-hints kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 640px) {
  .global-search-modal {
    padding-top: 5vh;
  }
  
  .global-search-container {
    margin: 0 12px;
    border-radius: 12px;
  }
  
  .global-search-header {
    padding: 12px 16px;
  }
  
  .global-search-input-wrapper {
    padding: 10px 14px;
  }
  
  .global-search-input {
    font-size: 15px;
  }
  
  .global-search-body {
    max-height: 50vh;
  }
  
  .search-item {
    padding: 8px 10px;
  }
  
  .search-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  
  .search-item-icon i {
    font-size: 12px;
  }
  
  .search-item-text {
    font-size: 13px;
  }
  
  .search-item-path {
    font-size: 11px;
  }
  
  .search-footer-hints {
    gap: 12px;
  }
  
  .search-footer-hints span {
    font-size: 11px;
  }
}

/* ============================================
   GLOBAL PAGE LOADING OVERLAY
   ============================================ */
.global-page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.global-page-loader.active {
  display: flex;
  opacity: 1;
}

.global-page-loader.fade-out {
  opacity: 0;
}

.loader-content {
  text-align: center;
  background: white;
  padding: 50px 60px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  min-width: 280px;
}

/* Modern Spinner - Three Dots */
.loader-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 auto 30px;
  height: 60px;
}

.loader-spinner::before,
.loader-spinner::after {
  content: '';
  width: 16px;
  height: 16px;
  background: #3498db;
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-spinner::before {
  animation-delay: -0.32s;
}

.loader-spinner::after {
  animation-delay: 0s;
}

/* Middle dot using a pseudo element trick */
.loader-spinner {
  position: relative;
}

.loader-spinner > span {
  width: 16px;
  height: 16px;
  background: #3498db;
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
  animation-delay: -0.16s;
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.loader-text {
  font-size: 20px;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.loader-subtext {
  font-size: 14px;
  color: #95a5a6;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .loader-content {
    padding: 40px 50px;
    min-width: 240px;
  }
  
  .loader-spinner {
    height: 50px;
    gap: 10px;
  }
  
  .loader-spinner::before,
  .loader-spinner::after,
  .loader-spinner > span {
    width: 14px;
    height: 14px;
  }
  
  .loader-text {
    font-size: 18px;
  }
  
  .loader-subtext {
    font-size: 13px;
  }
}
