.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
}

.toggle-password i {
  font-size: 16px;
}

.toast-success {
  background-color: #28a745 !important;
}

.toast-error {
  background-color: #dc3545 !important;
}

.toast-info {
  background-color: #17a2b8 !important;
}

.toast-warning {
  background-color: #ffc107 !important;
  color: #000 !important;
}

.status-pending {
  color: #ffc107;
  font-weight: 600;
}

.status-confirmed {
  color: #0d6efd;
  font-weight: 600;
}

.status-shipped {
  color: #0dcaf0;
  font-weight: 600;
}

.status-delivered {
  color: #198754;
  font-weight: 600;
}

.status-cancelled {
  color: #dc3545;
  font-weight: 600;
}

/* Modern CSS variables and base styles */
:root {
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --primary-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --surface-glass: rgba(255, 255, 255, 0.96);
  --border-light: rgba(255, 255, 255, 0.2);
}


main {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
}

/* Glassmorphic card */
.card-modern {
  background: var(--surface-glass);
  backdrop-filter: blur(0px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
}

/* Modern form inputs */
.form-modern {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  color: #0f172a;
}

.form-modern:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
  outline: none;
  background: white;
}

.form-modern::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

/* Floating label enhancement */
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #334155;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Captcha styling */
.captcha-box {
  background: #f1f5f9;
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Courier New', 'SF Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #1e293b;
  border: 1px dashed #cbd5e1;
  text-align: center;
  flex: 1;
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
}

.btn-refresh {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
  font-weight: 500;
  color: #475569;
}

.btn-refresh:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: scale(0.96);
  color: #4f46e5;
}

/* Modern primary button */
.btn-primary-modern {
  background: var(--primary-gradient);
  border: none;
  border-radius: 2rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px -8px rgba(99, 102, 241, 0.5);
}

.btn-primary-modern:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
  box-shadow: 0 12px 25px -10px rgba(99, 102, 241, 0.7);
}

/* Password toggle */
.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
  transition: color 0.2s;
  background: #f8fafc;
  padding-left: 8px;
}

.toggle-password:hover {
  color: #4f46e5;
}

/* Error text styling */
.error-text {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
  color: #ef4444;
}

/* Logo area */
.logo-modern {
  font-weight: 800;
  font-size: 1.8rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .card-modern {
    margin: 1rem;
    border-radius: 1.5rem;
  }

  .logo-modern {
    font-size: 1.5rem;
  }
}

/* Smooth focus ring */
*:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* ===== GLOBAL SIDEBAR STYLES ===== */
#miniSidebar {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-light: rgba(226, 232, 240, 0.7);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 20px 35px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-muted) 100%);
  backdrop-filter: blur(0px);
  border-right: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: 280px;
  height: 100vh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
}

/* Custom scrollbar */
#miniSidebar::-webkit-scrollbar {
  width: 5px;
}

#miniSidebar::-webkit-scrollbar-track {
  background: transparent;
}

#miniSidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

#miniSidebar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== BRAND SECTION ===== */
#miniSidebar .brand-logo {
  padding: 24px 20px 20px 24px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

#miniSidebar .brand-logo a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

#miniSidebar .brand-logo img {
  height: 32px;
  width: auto;
  transition: transform 0.2s ease;
}

#miniSidebar .brand-logo .site-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}

/* ===== NAVIGATION ITEMS ===== */
#miniSidebar .navbar-nav {
  padding: 12px 0;
}

#miniSidebar .nav-item {
  margin: 2px 0;
}

#miniSidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  margin: 4px 12px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
  background: transparent;
  border: none;
  position: relative;
}

/* Icon styling */
#miniSidebar .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

#miniSidebar .nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: #64748b;
  stroke-width: 1.6;
  transition: var(--transition);
  fill: none;
}

/* Hover effect */
#miniSidebar .nav-link:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary);
  transform: translateX(2px);
}

#miniSidebar .nav-link:hover .nav-icon svg {
  stroke: var(--primary);
  transform: scale(1.02);
}

/* Active state simulation (if any page has active class) */
#miniSidebar .nav-link.active,
#miniSidebar .nav-link[aria-current="page"] {
  background: linear-gradient(96deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

#miniSidebar .nav-link.active .nav-icon svg,
#miniSidebar .nav-link[aria-current="page"] .nav-icon svg {
  stroke: var(--primary);
  stroke-width: 1.8;
}

/* ===== DROPDOWN TOGGLE (CUSTOM CARET) ===== */
#miniSidebar .dropdown-toggle {
  position: relative;
  padding-right: 32px;
}

#miniSidebar .dropdown-toggle::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: translateY(-60%) rotate(45deg);
  transition: var(--transition);
  border-top: none;
  border-left: none;
  margin: 0;
  vertical-align: middle;
}

#miniSidebar .dropdown-toggle[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(225deg);
  border-color: var(--primary);
}

/* ===== DROPDOWN MENU MODERN ===== */
#miniSidebar .dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: none;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 8px;
  animation: dropdownFadeIn 0.2s ease-out;
  transform-origin: top;
  min-width: 200px;
  left: auto !important;
  right: auto !important;
}

/* Dropdown animation */
@keyframes dropdownFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#miniSidebar .dropdown-item {
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  background: transparent;
  letter-spacing: -0.2px;
}

#miniSidebar .dropdown-item:hover {
  background: #f1f5f9;
  color: var(--primary);
  transform: translateX(4px);
}

/* Add subtle icon to dropdown items (optional, adds modern feel without structure change) */
#miniSidebar .dropdown-item:before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #cbd5e1;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  transition: var(--transition);
}

#miniSidebar .dropdown-item:hover:before {
  background: var(--primary);
  width: 6px;
  height: 6px;
  margin-right: 10px;
}

/* ===== SPECIAL STYLES FOR SPECIFIC ICONS ===== */
/* Wallet icon */
#miniSidebar .nav-link svg circle {
  stroke: currentColor;
}

/* Improve spacing for nested items */
#miniSidebar .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
}

/* Ensure dropdown appears above content */
#miniSidebar .dropdown-menu.show {
  z-index: 1050;
}

/* ===== RESPONSIVE & ADDITIONAL POLISH ===== */
/* Active indicator dot for current page (optional, structure-preserving) */
#miniSidebar .nav-link:active {
  transform: scale(0.98);
}

/* Better focus outline */
#miniSidebar .nav-link:focus-visible,
#miniSidebar .dropdown-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 14px;
}

/* Make sidebar sticky and smooth */
@media (max-width: 768px) {
  #miniSidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
}

/* Subtle gradient text for "Niddo" on hover */
#miniSidebar .brand-logo:hover .site-logo-text {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  transition: 0.3s;
}

/* Add modern glass effect on dropdown while keeping readability */
@supports (backdrop-filter: blur(12px)) {
  #miniSidebar .dropdown-menu {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
  }
}

/* Fix any overlapping issues with Bootstrap defaults */
#miniSidebar .navbar-nav .dropdown-menu {
  position: absolute;
  inset: 0px auto auto 0px;
  margin: 0;
}

/* Enhance spacing for the whole sidebar */
#miniSidebar .navbar-nav {
  gap: 2px;
}

/* Make the text slightly more modern */
#miniSidebar .text {
  font-weight: 500;
  letter-spacing: -0.2px;
}

/* Optional: add a slight border glow on hover for nav items */
#miniSidebar .nav-link:hover {
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.08);
}

/* Style for dropdown dividers if any exist (no change to structure) */
#miniSidebar .dropdown-divider {
  margin: 6px 0;
  background: var(--border-light);
}

/* Fix for Bootstrap icon alignment */
#miniSidebar .nav-icon svg,
#miniSidebar .nav-icon {
  flex-shrink: 0;
}

/* Add smooth page load transition for sidebar (optional) */
#miniSidebar {
  transition: width 0.2s ease, background 0.2s;
}

/* -----------------------------------------
   MODERN BACKGROUND UTILITIES
   Use: bg-primary, bg-secondary, bg-success, etc.
   Also includes gradient & glassmorphism variants
----------------------------------------- */

:root {
  /* Modern color palette (Tailwind-inspired) */
  --bg-primary: #3b82f6;
  --bg-primary-dark: #2563eb;
  --bg-primary-soft: #eff6ff;

  --bg-secondary: #64748b;
  --bg-secondary-dark: #475569;
  --bg-secondary-soft: #f1f5f9;

  --bg-success: #10b981;
  --bg-success-dark: #059669;
  --bg-success-soft: #ecfdf5;

  --bg-danger: #ef4444;
  --bg-danger-dark: #dc2626;
  --bg-danger-soft: #fef2f2;

  --bg-warning: #f59e0b;
  --bg-warning-dark: #d97706;
  --bg-warning-soft: #fffbeb;

  --bg-info: #06b6d4;
  --bg-info-dark: #0891b2;
  --bg-info-soft: #ecfeff;

  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --bg-white: #ffffff;
  --bg-black: #000000;

  /* Glass effect */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

/* ===== SOLID BACKGROUNDS ===== */
.bg-primary {
  background-color: var(--bg-primary) !important;
  color: white;
}

.bg-secondary {
  background-color: var(--bg-secondary) !important;
  color: white;
}

.bg-success {
  background-color: var(--bg-success) !important;
  color: white;
}

.bg-danger {
  background-color: var(--bg-danger) !important;
  color: white;
}

.bg-warning {
  background-color: var(--bg-warning) !important;
  color: #1e293b;
}

.bg-info {
  background-color: var(--bg-info) !important;
  color: white;
}

.bg-light {
  background-color: var(--bg-light) !important;
  color: #1e293b;
}

.bg-dark {
  background-color: var(--bg-dark) !important;
  color: #f1f5f9;
}

.bg-white {
  background-color: var(--bg-white) !important;
  color: #1e293b;
}

.bg-black {
  background-color: var(--bg-black) !important;
  color: white;
}

/* ===== SOFT / LIGHT BACKGROUNDS (modern subtle) ===== */
.bg-primary-soft {
  background-color: var(--bg-primary-soft) !important;
  color: var(--bg-primary-dark);
}

.bg-secondary-soft {
  background-color: var(--bg-secondary-soft) !important;
  color: var(--bg-secondary-dark);
}

.bg-success-soft {
  background-color: var(--bg-success-soft) !important;
  color: var(--bg-success-dark);
}

.bg-danger-soft {
  background-color: var(--bg-danger-soft) !important;
  color: var(--bg-danger-dark);
}

.bg-warning-soft {
  background-color: var(--bg-warning-soft) !important;
  color: var(--bg-warning-dark);
}

.bg-info-soft {
  background-color: var(--bg-info-soft) !important;
  color: var(--bg-info-dark);
}

/* ===== GRADIENT BACKGROUNDS (modern & vibrant) ===== */
.bg-gradient-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
  color: white;
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
  color: white;
}

.bg-gradient-success {
  background: linear-gradient(135deg, #10b981 0%, #14b8a6 100%) !important;
  color: white;
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important;
  color: white;
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
  color: #1e293b;
}

.bg-gradient-info {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  color: white;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #f1f5f9;
}

/* ===== GLASS / FROSTED BACKGROUND (modern UI trend) ===== */
.bg-glass {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  color: #0f172a;
}

.bg-glass-dark {
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

.bg-glass-primary {
  background: rgba(59, 130, 246, 0.2) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1e3a8a;
}

/* ===== ADDITIONAL MODERN UTILITIES ===== */
/* Subtle noise texture (optional) */
.bg-noise {
  position: relative;
  background-color: var(--bg-light) !important;
}

.bg-noise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.bg-noise>* {
  position: relative;
  z-index: 2;
}

/* Hover lift effect (combine with any bg class) */
.bg-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE BACKGROUND UTILITIES (optional) ===== */
/* Example: .bg-md-primary (changes at md breakpoint) */
@media (min-width: 768px) {
  .bg-md-primary {
    background-color: var(--bg-primary) !important;
    color: white;
  }

  .bg-md-soft {
    background-color: var(--bg-primary-soft) !important;
  }
}

@media (min-width: 1024px) {
  .bg-lg-gradient {
    background: linear-gradient(135deg, #3b82f6, #06b6d4) !important;
  }
}

/* -----------------------------------------
   MODERN TEXT COLOR UTILITIES
   Use: text-primary, text-secondary, text-success, etc.
   Also includes gradient text, soft variants & hover effects
----------------------------------------- */

:root {
  /* Core text colors (modern, accessible) */
  --text-primary: #3b82f6;
  --text-primary-dark: #2563eb;
  --text-secondary: #64748b;
  --text-secondary-dark: #475569;
  --text-success: #10b981;
  --text-success-dark: #059669;
  --text-danger: #ef4444;
  --text-danger-dark: #dc2626;
  --text-warning: #f59e0b;
  --text-warning-dark: #d97706;
  --text-info: #06b6d4;
  --text-info-dark: #0891b2;
  --text-light: #94a3b8;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --text-black: #000000;
}

/* ===== SOLID TEXT COLORS ===== */
.text-primary {
  color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-success {
  color: var(--text-success) !important;
}

.text-danger {
  color: var(--text-danger) !important;
}

.text-warning {
  color: var(--text-warning) !important;
}

.text-info {
  color: var(--text-info) !important;
}

.text-light {
  color: var(--text-light) !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-white {
  color: var(--text-white) !important;
}

.text-black {
  color: var(--text-black) !important;
}

/* ===== SOFT TEXT COLORS (less intense, modern) ===== */
.text-primary-soft {
  color: #60a5fa !important;
}

.text-secondary-soft {
  color: #94a3b8 !important;
}

.text-success-soft {
  color: #34d399 !important;
}

.text-danger-soft {
  color: #f87171 !important;
}

.text-warning-soft {
  color: #fbbf24 !important;
}

.text-info-soft {
  color: #22d3ee !important;
}

/* ===== GRADIENT TEXT (modern trend) ===== */
.text-gradient-primary {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

.text-gradient-success {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

.text-gradient-danger {
  background: linear-gradient(135deg, #ef4444, #f97316);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

.text-gradient-warning {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

.text-gradient-info {
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

.text-gradient-dark {
  background: linear-gradient(135deg, #1e293b, #334155);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
}

/* ===== HOVER EFFECTS FOR TEXT ===== */
.text-hover-primary {
  transition: color 0.2s ease;
}

.text-hover-primary:hover {
  color: var(--text-primary) !important;
}

.text-hover-secondary:hover {
  color: var(--text-secondary) !important;
}

.text-hover-success:hover {
  color: var(--text-success) !important;
}

.text-hover-danger:hover {
  color: var(--text-danger) !important;
}

.text-hover-warning:hover {
  color: var(--text-warning) !important;
}

.text-hover-info:hover {
  color: var(--text-info) !important;
}

.text-hover-dark:hover {
  color: var(--text-dark) !important;
}

.text-hover-light:hover {
  color: var(--text-light) !important;
}

/* Gradient text hover (smooth transition) */
.text-gradient-hover {
  transition: opacity 0.2s ease;
}

.text-gradient-hover:hover {
  opacity: 0.8;
}

/* ===== TEXT WITH UNDERLINE EFFECT (modern minimal) ===== */
.text-underline-primary {
  text-decoration: none;
  background-image: linear-gradient(var(--text-primary), var(--text-primary));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: bottom left;
  transition: background-size 0.2s ease;
}

.text-underline-primary:hover {
  background-size: 100% 2px;
  color: var(--text-primary) !important;
}

/* ===== TEXT WITH GLOW EFFECT ===== */
.text-glow-primary {
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.text-glow-success {
  text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.text-glow-danger {
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

/* ===== RESPONSIVE TEXT UTILITIES ===== */
@media (min-width: 768px) {
  .text-md-primary {
    color: var(--text-primary) !important;
  }

  .text-md-secondary {
    color: var(--text-secondary) !important;
  }

  .text-md-gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
  }
}

@media (min-width: 1024px) {
  .text-lg-primary {
    color: var(--text-primary) !important;
  }
}

/* ===== ADDITIONAL MODERN TEXT STYLES ===== */
/* Truncate with ellipsis - keep modern */
.text-truncate-modern {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Text with subtle letter spacing */
.text-spaced {
  letter-spacing: -0.2px;
}

/* Text with improved readability on dark backgrounds */
.text-shadow-light {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-dark {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.bg-success-opacity {
  background-color: #05966848;
}

.bg-warning-opacity {
  background-color: #ffc1078e;
}

.icon-dimension {
  width: 50px;
  height: 50px;
}
.dropdown-item.active{
     background: #f1f5f9 !important;
    color: var(--primary) !important;
    transform: translateX(4px);
}

.font-size-12{
  font-size: 12px;
}