/* ==============================================================================
 * Modern Enterprise Theme - Custom Overrides
 * Primary Palette: Modern Tech Emerald & Deep Slate
 * Font: Inter (Google Fonts)
 * Elevates cards, buttons, navbar, sidebar, form controls, tables, and auth screens.
 * ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root,
[data-bs-theme="light"] {
  /* Brand Colors */
  --bs-primary: #059669 !important;
  --bs-primary-rgb: 5, 150, 105 !important;
  --bs-primary-text-emphasis: #064e3b !important;
  --bs-primary-bg-subtle: #ecfdf5 !important;
  --bs-primary-border-subtle: #a7f3d0 !important;

  /* Theme Links */
  --bs-link-color: #059669 !important;
  --bs-link-color-rgb: 5, 150, 105 !important;
  --bs-link-hover-color: #047857 !important;
  --bs-link-hover-color-rgb: 4, 120, 87 !important;

  /* Typography */
  --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  --bs-body-font-family: var(--bs-font-sans-serif) !important;
  --bs-body-font-size: 0.925rem !important;
  --bs-body-line-height: 1.55 !important;

  /* Backgrounds & Text */
  --bs-body-bg: #f8fafc !important;
  --bs-body-bg-rgb: 248, 250, 252 !important;
  --bs-body-color: #475569 !important;
  --bs-heading-color: #0f172a !important;

  /* Rounded Borders & Ambient Shadows */
  --bs-border-color: #e2e8f0 !important;
  --bs-border-radius: 0.625rem !important; /* 10px */
  --bs-border-radius-sm: 0.375rem !important; /* 6px */
  --bs-border-radius-lg: 0.875rem !important; /* 14px */
  --bs-border-radius-xl: 1.125rem !important; /* 18px */
  --bs-box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  --bs-box-shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.05) !important;
  --bs-box-shadow-lg: 0 14px 34px -4px rgba(15, 23, 42, 0.09), 0 8px 16px -4px rgba(15, 23, 42, 0.04) !important;
}

[data-bs-theme="dark"] {
  /* Brand Colors in Dark Mode */
  --bs-primary: #10b981 !important;
  --bs-primary-rgb: 16, 185, 129 !important;
  --bs-primary-text-emphasis: #6ee7b7 !important;
  --bs-primary-bg-subtle: rgba(16, 185, 129, 0.15) !important;
  --bs-primary-border-subtle: rgba(16, 185, 129, 0.3) !important;

  /* Theme Links */
  --bs-link-color: #34d399 !important;
  --bs-link-hover-color: #6ee7b7 !important;

  /* Typography */
  --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  --bs-body-font-family: var(--bs-font-sans-serif) !important;

  /* Backgrounds & Text */
  --bs-body-bg: #0b1120 !important;
  --bs-body-bg-rgb: 11, 17, 32 !important;
  --bs-body-color: #94a3b8 !important;
  --bs-heading-color: #f1f5f9 !important;

  /* Borders & Shadows */
  --bs-border-color: #1e293b !important;
  --bs-border-color-translucent: rgba(255, 255, 255, 0.08) !important;
}

/* ==============================================================================
 * Global Base Typography
 * ============================================================================== */
html, body {
  font-family: var(--bs-body-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--bs-body-font-family);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--bs-heading-color);
}

/* ==============================================================================
 * Buttons
 * ============================================================================== */
.btn {
  font-family: var(--bs-body-font-family);
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.5rem 1.15rem;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45) !important;
  transform: translateY(-1px);
  color: #ffffff !important;
}

.btn-outline-primary {
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
}

/* Icon Buttons & Dropdown Action Icons */
.btn-icon {
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.btn-icon i,
.btn-icon .icon-base {
  flex-shrink: 0 !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-icon.btn-text-secondary {
  color: #64748b !important;
  background: transparent;
}

.btn-icon.btn-text-secondary:hover,
.btn-icon.btn-text-secondary:focus {
  background: rgba(100, 116, 139, 0.12) !important;
  color: #0f172a !important;
}

[data-bs-theme="dark"] .btn-icon.btn-text-secondary {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .btn-icon.btn-text-secondary:hover,
[data-bs-theme="dark"] .btn-icon.btn-text-secondary:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}

.tabler-dots-vertical {
  display: inline-block !important;
}

/* Currency Icons */
.tabler-currency-rupee {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 5H7h3a4 4 0 0 1 0 8H7l6 6M7 9h11'/%3E%3C/svg%3E");
}
.tabler-currency-euro {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.2 7a6 7 0 1 0 0 10M13 10H5m8 4H5'/%3E%3C/svg%3E");
}
.tabler-currency-pound {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17 18.5a6 6 0 0 1-5 0a6 6 0 0 0-5 .5a3 3 0 0 0 2-2.5V9a4 4 0 0 1 7.45-2m-2.55 6h-7'/%3E%3C/svg%3E");
}

/* Chevron Icons */
.tabler-chevron-down {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.tabler-chevron-up {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 15 6-6 6 6'/%3E%3C/svg%3E");
}

/* Security & Trust Icons */
.tabler-shield-check {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3a12 12 0 0 0 8.5 3A12 12 0 0 1 12 21A12 12 0 0 1 3.5 6A12 12 0 0 0 12 3m-3 9l2 2l4-4'/%3E%3C/svg%3E");
}
.tabler-bolt {
  display: inline-block !important;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 3l-2 8h6l-4 10l2-8h-6z'/%3E%3C/svg%3E");
}

/* Checkout & Invoice Styles */
.checkout-card {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  background: #ffffff;
}
.security-badge-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
}
.trust-pill i {
  color: #059669;
}
.razorpay-method-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px 20px;
}
[data-bs-theme="dark"] .checkout-card {
  background: #111827;
  border-color: #1f2937;
}
[data-bs-theme="dark"] .security-badge-box {
  background: #1e293b;
  border-color: #334155;
}
[data-bs-theme="dark"] .trust-pill {
  color: #cbd5e1;
}
[data-bs-theme="dark"] .trust-pill i {
  color: #34d399;
}
[data-bs-theme="dark"] .razorpay-method-banner {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
}

/* ==============================================================================
 * Plan Cards & Service List (Admin & Pricing)
 * ============================================================================== */
.plan-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08) !important;
}
.plan-card.is-recommended {
  border: 2px solid #059669 !important;
  box-shadow: 0 8px 24px -4px rgba(5, 150, 105, 0.15) !important;
}
.plan-badge-recommended {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 0 12px 0 10px;
}
.plan-price-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.plan-trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.775rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}
.plan-feature-item {
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: #334155;
  border-bottom: 1px dashed #f1f5f9;
}
.plan-feature-item:last-child {
  border-bottom: none;
}
.plan-feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}
.plan-feature-icon.enabled {
  background: #ecfdf5;
  color: #059669;
}
.plan-feature-icon.disabled {
  background: #fef2f2;
  color: #ef4444;
}
.view-more-btn {
  color: #059669;
  font-weight: 600;
  font-size: 0.825rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  transition: all 0.15s ease;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.view-more-btn:hover {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
[data-bs-theme="dark"] .plan-card {
  background: #111827;
  border-color: #1f2937;
}
[data-bs-theme="dark"] .plan-price-val {
  color: #f9fafb;
}
[data-bs-theme="dark"] .plan-trial-pill {
  background: #1f2937;
  color: #9ca3af;
}
[data-bs-theme="dark"] .plan-feature-item {
  color: #cbd5e1;
  border-color: #1e293b;
}
[data-bs-theme="dark"] .plan-feature-icon.enabled {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
[data-bs-theme="dark"] .plan-feature-icon.disabled {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
[data-bs-theme="dark"] .view-more-btn {
  background: #1e293b;
  color: #34d399;
  border-color: #334155;
}
[data-bs-theme="dark"] .view-more-btn:hover {
  background: #334155;
  color: #6ee7b7;
}

/* ==============================================================================
 * Badges, Labels & Indicators
 * ============================================================================== */
.badge {
  font-weight: 600;
  border-radius: 0.375rem;
  letter-spacing: 0.01em;
}

.bg-label-primary {
  background-color: var(--bs-primary-bg-subtle) !important;
  color: var(--bs-primary) !important;
}

.badge.bg-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #fff !important;
}

.badge.bg-gradient {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
}

/* ==============================================================================
 * Cards & Containers
 * ============================================================================== */
.card {
  border-radius: var(--bs-border-radius-lg) !important;
  border: 1px solid var(--bs-border-color) !important;
  box-shadow: var(--bs-box-shadow) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

[data-bs-theme="dark"] .card {
  background-color: #111827 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* ==============================================================================
 * Topbar / Navbar
 * ============================================================================== */
.layout-navbar {
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius: var(--bs-border-radius-lg) !important;
  border: 1px solid var(--bs-border-color) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}

[data-bs-theme="light"] .layout-navbar {
  background: rgba(255, 255, 255, 0.9) !important;
}

[data-bs-theme="dark"] .layout-navbar {
  background: rgba(17, 24, 39, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==============================================================================
 * Modern Enterprise Menu Theme & Sidebar (Modern Light & Emerald Luxe)
 * ============================================================================== */
#layout-menu {
  background: #ffffff !important;
  border-right: 1px solid var(--bs-border-color, #e2e8f0) !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04) !important;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), min-width 0.25s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
  overflow-x: hidden !important;
}

.layout-page {
  transition: padding-inline-start 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@media (min-width: 1200px) {
  /* Default Expanded Menu (when not collapsed, or when collapsed & hovered) */
  html:not(.layout-menu-collapsed) #layout-menu,
  html.layout-menu-collapsed.layout-menu-hover #layout-menu {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
  html:not(.layout-menu-collapsed) .layout-page {
    padding-inline-start: 260px !important;
  }

  /* Collapsed Menu (when collapsed and NOT hovered) */
  html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
  }
  html.layout-menu-collapsed .layout-page {
    padding-inline-start: 82px !important;
  }

  /* When collapsed and hovered: overlay flyout elevation */
  html.layout-menu-collapsed.layout-menu-hover #layout-menu {
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.16) !important;
    z-index: 1080 !important;
  }
}

[data-bs-theme="dark"] #layout-menu {
  background: #0f172a !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 4px 0 24px -2px rgba(0, 0, 0, 0.3) !important;
}

/* App Brand Header in Sidebar */
#layout-menu .app-brand {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  padding: 0 1.25rem !important;
  border-bottom: 1px solid var(--bs-border-color, #e2e8f0) !important;
  background: #ffffff !important;
}

[data-bs-theme="dark"] #layout-menu .app-brand {
  background: #0f172a !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#layout-menu .app-brand .brand-name-text {
  color: var(--bs-heading-color, #0f172a) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

[data-bs-theme="dark"] #layout-menu .app-brand .brand-name-text {
  color: #f8fafc !important;
}

#layout-menu .layout-menu-toggle {
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  border: 1px solid var(--bs-border-color, #e2e8f0) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

#layout-menu .layout-menu-toggle:hover {
  color: #059669 !important;
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15) !important;
}

[data-bs-theme="dark"] #layout-menu .layout-menu-toggle {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] #layout-menu .layout-menu-toggle:hover {
  color: #34d399 !important;
  background: rgba(52, 211, 153, 0.15) !important;
  border-color: #34d399 !important;
}

/* Custom sleek chevron toggle icon: Left Arrow by default (click to slide menu left) */
#layout-menu .layout-menu-toggle .menu-toggle-icon {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  background-color: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E") no-repeat center / 100% 100% !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6l6 6'/%3E%3C/svg%3E") no-repeat center / 100% 100% !important;
  transition: transform 0.2s ease !important;
}

/* When collapsed: Right Arrow icon (click to expand menu right) */
html.layout-menu-collapsed #layout-menu .layout-menu-toggle .menu-toggle-icon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E") no-repeat center / 100% 100% !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6l-6 6'/%3E%3C/svg%3E") no-repeat center / 100% 100% !important;
}

/* Menu Inner & Scrollbar Elimination */
#layout-menu .menu-inner-shadow {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%) !important;
  height: 18px !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner-shadow {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 100%) !important;
}

#layout-menu .menu-inner {
  padding: 0.5rem 0 1.5rem 0 !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: calc(100% - 68px) !important;
}

/* Pinned bottom menu item (View Origin Site) */
#layout-menu .menu-inner > .menu-item.menu-item-bottom {
  margin-top: auto !important;
  margin-bottom: 0.75rem !important;
  padding-top: 0.5rem !important;
  border-top: 1px solid var(--bs-border-color, #e2e8f0) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item.menu-item-bottom {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

#layout-menu .menu-inner::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Section Headers */
#layout-menu .menu-header {
  margin: 1.25rem 0.75rem 0.4rem 0.75rem !important;
  padding: 0 0.5rem !important;
  width: calc(100% - 1.5rem) !important;
  min-width: calc(100% - 1.5rem) !important;
  max-width: calc(100% - 1.5rem) !important;
  box-sizing: border-box !important;
  position: relative !important;
}

#layout-menu .menu-header::before {
  display: none !important;
}

#layout-menu .menu-header-text {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  white-space: nowrap !important;
}

#layout-menu .menu-header-text::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-header-text::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%) !important;
}

/* Top-level Menu Items (Strictly Bounded - Equal Width Everywhere) */
#layout-menu .menu-inner > .menu-item {
  width: calc(100% - 1.5rem) !important;
  min-width: calc(100% - 1.5rem) !important;
  max-width: calc(100% - 1.5rem) !important;
  margin: 0.2rem 0.75rem !important;
  box-sizing: border-box !important;
}

#layout-menu .menu-inner > .menu-item > .menu-link {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0.625rem !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  color: #475569 !important;
  padding: 0.58rem 0.85rem !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1px solid transparent !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item > .menu-link {
  color: #94a3b8 !important;
}

/* Icons */
#layout-menu .menu-icon {
  color: #64748b !important;
  font-size: 1.25rem !important;
  margin-right: 0.75rem !important;
  transition: all 0.2s ease !important;
}

/* Hover State */
#layout-menu .menu-inner > .menu-item > .menu-link:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
  transform: translateX(3px) !important;
}

#layout-menu .menu-inner > .menu-item > .menu-link:hover .menu-icon {
  color: #059669 !important;
  transform: scale(1.08) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item > .menu-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item > .menu-link:hover .menu-icon {
  color: #34d399 !important;
}

/* Active State (Luminous Tech Emerald Light Pill) */
#layout-menu .menu-inner > .menu-item.active > .menu-link:not(.menu-toggle) {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.09) 0%, rgba(16, 185, 129, 0.14) 100%) !important;
  color: #065f46 !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1) !important;
  font-weight: 600 !important;
  transform: none !important;
}

/* Remove detached left indicator lines */
#layout-menu .menu-inner > .menu-item.active > .menu-link:not(.menu-toggle)::before,
.menu-vertical .menu-item.active:not(.open) > .menu-link:not(.menu-toggle)::before {
  display: none !important;
  content: none !important;
}

#layout-menu .menu-inner > .menu-item.active > .menu-link:not(.menu-toggle) .menu-icon {
  color: #059669 !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item.active > .menu-link:not(.menu-toggle) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.28) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(52, 211, 153, 0.35) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.22) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item.active > .menu-link:not(.menu-toggle) .menu-icon {
  color: #34d399 !important;
}

/* Open / Accordion Parent Item */
#layout-menu .menu-inner > .menu-item.open > .menu-toggle {
  background: #f8fafc !important;
  color: #1e293b !important;
  border-color: #e2e8f0 !important;
}

#layout-menu .menu-inner > .menu-item.open > .menu-toggle .menu-icon {
  color: #059669 !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item.open > .menu-toggle {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-inner > .menu-item.open > .menu-toggle .menu-icon {
  color: #34d399 !important;
}

#layout-menu .menu-toggle::after {
  right: 0.85rem !important;
  border-color: #94a3b8 !important;
  transition: all 0.2s ease !important;
}

#layout-menu .menu-toggle:hover::after,
#layout-menu .menu-item.open > .menu-toggle::after {
  border-color: #059669 !important;
}

/* Submenu Hierarchy */
#layout-menu .menu-sub {
  margin-top: 0.25rem !important;
  margin-bottom: 0.35rem !important;
  margin-left: 0.75rem !important;
  margin-right: 0.75rem !important;
  padding-left: 0.75rem !important;
  padding-right: 0 !important;
  border-left: 1.5px solid #e2e8f0 !important;
  background: transparent !important;
  width: calc(100% - 1.5rem) !important;
  min-width: calc(100% - 1.5rem) !important;
  max-width: calc(100% - 1.5rem) !important;
  box-sizing: border-box !important;
}

[data-bs-theme="dark"] #layout-menu .menu-sub {
  border-left: 1.5px solid rgba(255, 255, 255, 0.08) !important;
}

#layout-menu .menu-sub .menu-item {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0.15rem 0 !important;
  box-sizing: border-box !important;
}

#layout-menu .menu-sub .menu-item .menu-link {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0.5rem !important;
  font-size: 0.825rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  padding: 0.45rem 0.75rem !important;
  padding-inline-start: 1.6rem !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  border: 1px solid transparent !important;
  box-sizing: border-box !important;
}

#layout-menu .menu-sub .menu-item .menu-link::before {
  content: '' !important;
  position: absolute !important;
  left: 0.6rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background-color: #94a3b8 !important;
  opacity: 0.7 !important;
  transition: all 0.2s ease !important;
}

#layout-menu .menu-sub .menu-item .menu-link:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  transform: translateX(2px) !important;
}

#layout-menu .menu-sub .menu-item .menu-link:hover::before {
  background-color: #059669 !important;
  opacity: 1 !important;
}

#layout-menu .menu-sub .menu-item.active > .menu-link {
  background: rgba(5, 150, 105, 0.08) !important;
  color: #059669 !important;
  font-weight: 600 !important;
  border-color: rgba(5, 150, 105, 0.2) !important;
}

#layout-menu .menu-sub .menu-item.active > .menu-link::before {
  background-color: #059669 !important;
  opacity: 1 !important;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.5) !important;
}

[data-bs-theme="dark"] #layout-menu .menu-sub .menu-item.active > .menu-link {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34d399 !important;
}

[data-bs-theme="dark"] #layout-menu .menu-sub .menu-item.active > .menu-link::before {
  background-color: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
}

/* Device Selector in Menu (Strictly Bounded to match all menu items) */
#layout-menu .menu-inner > .menu-item.device-select-item,
#layout-menu .menu-inner > .menu-item:has(#device_idd) {
  width: calc(100% - 1.5rem) !important;
  min-width: calc(100% - 1.5rem) !important;
  max-width: calc(100% - 1.5rem) !important;
  margin: 0.25rem 0.75rem !important;
  box-sizing: border-box !important;
}

#layout-menu .device-select-link,
#layout-menu .menu-item > div.menu-link,
#layout-menu .menu-item:has(#device_idd) > .menu-link {
  background: transparent !important;
  border-color: transparent !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
}

#layout-menu #device_idd {
  background-color: #ffffff !important;
  border: 1px solid var(--bs-border-color, #e2e8f0) !important;
  color: #334155 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  border-radius: 0.625rem !important;
  padding: 0.58rem 0.85rem !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  line-height: 1.5 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
  display: block !important;
}

#layout-menu #device_idd:focus,
#layout-menu #device_idd:hover {
  background-color: #ffffff !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
  color: #0f172a !important;
}

#layout-menu #device_idd option {
  background-color: #ffffff !important;
  color: #1e293b !important;
  padding: 8px 12px !important;
}

[data-bs-theme="dark"] #layout-menu #device_idd {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #e2e8f0 !important;
}

[data-bs-theme="dark"] #layout-menu #device_idd option {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
}

/* Badges inside Sidebar */
#layout-menu .badge {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #059669 !important;
  border: 1px solid rgba(5, 150, 105, 0.2) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  padding: 0.2rem 0.45rem !important;
}

/* Collapsed Sidebar Support (Enterprise Light & Dark) */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand {
  padding: 0 0.85rem !important;
  justify-content: center !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand .brand-name-text {
  display: none !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand .app-brand-link {
  max-width: 100% !important;
  justify-content: center !important;
  margin: 0 !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .brand-logo-container {
  gap: 0 !important;
  justify-content: center !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .app-brand .layout-menu-toggle {
  display: none !important;
}

html.layout-menu-collapsed.layout-menu-hover #layout-menu .app-brand .layout-menu-toggle {
  display: flex !important;
}

/* Collapsed Menu Items: Uniform, Centered 46x44 Icon Tiles */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner {
  padding: 0.75rem 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-height: calc(100% - 68px) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item {
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 44px !important;
  margin: 0.2rem auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link {
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link:hover {
  transform: none !important;
  background: #f1f5f9 !important;
}

[data-bs-theme="dark"] html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item.active > .menu-link {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12) 0%, rgba(16, 185, 129, 0.18) 100%) !important;
  border: 1px solid rgba(5, 150, 105, 0.3) !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15) !important;
}

[data-bs-theme="dark"] html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item.active > .menu-link {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.32) 100%) !important;
  border: 1px solid rgba(52, 211, 153, 0.4) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25) !important;
}

html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link .menu-icon {
  margin: 0 !important;
  font-size: 1.35rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide label text, badges, toggler arrows, and external link icons */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link > div,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link .badge,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item > .menu-link::after,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-item-ext-icon,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .tabler-external-link,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-link i:not(.menu-icon) {
  display: none !important;
}

/* Hide section headers in collapsed mode to eliminate blank empty voids */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-header {
  display: none !important;
}

/* Hide device select dropdown in collapsed mode */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu #device_idd,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .device-select-link,
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item:has(#device_idd),
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item.device-select-item {
  display: none !important;
}

/* Pinned bottom menu item (View Origin Site) in collapsed mode */
html.layout-menu-collapsed:not(.layout-menu-hover) #layout-menu .menu-inner > .menu-item.menu-item-bottom {
  margin-top: auto !important;
  margin-bottom: 0.5rem !important;
  padding-top: 0.5rem !important;
  width: 46px !important;
  border-top: 1px solid var(--bs-border-color, #e2e8f0) !important;
}

/* Mobile Menu Toggler */
.menu-mobile-toggler {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

/* ==============================================================================
 * App Brand Header & Logo Fix
 * ============================================================================== */
.app-brand.demo {
  height: 64px !important;
  min-height: 64px !important;
  max-height: 64px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 1.25rem !important;
  overflow: hidden !important;
}

.app-brand-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  max-width: calc(100% - 35px) !important;
  overflow: hidden !important;
}

.app-brand-logo.demo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 0.25rem !important;
}

.brand-logo-container {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  text-decoration: none !important;
  vertical-align: middle !important;
}

.app-brand-logo.demo svg,
.app-brand-link svg,
svg.brand-logo-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.brand-name-text {
  font-family: var(--bs-body-font-family) !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.025em !important;
  color: var(--bs-heading-color) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

/* ==============================================================================
 * Form Controls, Checkboxes & Switches
 * ============================================================================== */
.form-control:not(.input-group .form-control),
.form-select {
  border-radius: 0.5rem !important;
  border: 1px solid var(--bs-border-color) !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.92rem !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.form-control:not(.input-group .form-control):focus,
.form-select:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18) !important;
  outline: 0 !important;
}

[data-bs-theme="dark"] .form-control:not(.input-group .form-control),
[data-bs-theme="dark"] .form-select {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .form-control:not(.input-group .form-control):focus,
[data-bs-theme="dark"] .form-select:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

/* ==============================================================================
 * Unified Input Groups (Merged & Standard)
 * ============================================================================== */
/* Merged Input Groups (e.g., password toggle, search with icon, etc.) */
.input-group.input-group-merge {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  border: 1px solid var(--bs-border-color) !important;
  border-radius: 0.5rem !important;
  background-color: #ffffff !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

[data-bs-theme="dark"] .input-group.input-group-merge {
  border-color: #334155 !important;
  background-color: #1e293b !important;
}

.input-group.input-group-merge:focus-within {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18) !important;
}

[data-bs-theme="dark"] .input-group.input-group-merge:focus-within {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

.input-group.input-group-merge > .form-control {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.92rem !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.input-group.input-group-merge > .form-control:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.input-group.input-group-merge > .input-group-text {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: transparent !important;
  padding: 0.5rem 0.85rem !important;
  color: #64748b !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  user-select: none !important;
  margin: 0 !important;
  transition: color 0.15s ease !important;
}

.input-group.input-group-merge > .input-group-text:hover {
  color: var(--bs-primary) !important;
}

[data-bs-theme="dark"] .input-group.input-group-merge > .input-group-text {
  color: #94a3b8 !important;
}

[data-bs-theme="dark"] .input-group.input-group-merge > .input-group-text:hover {
  color: #10b981 !important;
}

/* Standard Input Groups (non-merged) */
.input-group:not(.input-group-merge) {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  border-radius: 0.5rem !important;
}

.input-group:not(.input-group-merge) > .form-control {
  border: 1px solid var(--bs-border-color) !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.92rem !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.input-group:not(.input-group-merge) > :first-child:not(.dropdown-menu) {
  border-top-left-radius: 0.5rem !important;
  border-bottom-left-radius: 0.5rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group:not(.input-group-merge) > :not(:first-child):not(:last-child):not(.dropdown-menu) {
  border-radius: 0 !important;
  margin-left: -1px !important;
}

.input-group:not(.input-group-merge) > :last-child:not(.dropdown-menu) {
  border-top-right-radius: 0.5rem !important;
  border-bottom-right-radius: 0.5rem !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  margin-left: -1px !important;
}

.input-group:not(.input-group-merge) > .input-group-text {
  border: 1px solid var(--bs-border-color) !important;
  background-color: #f8fafc !important;
  color: #64748b !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.92rem !important;
  display: flex !important;
  align-items: center !important;
}

[data-bs-theme="dark"] .input-group:not(.input-group-merge) > .input-group-text {
  border-color: #334155 !important;
  background-color: #1e293b !important;
  color: #94a3b8 !important;
}

/* Invalid / Validation states */
.input-group.is-invalid,
.input-group:has(.is-invalid),
.form-control.is-invalid {
  border-color: #ef4444 !important;
}

.input-group.is-invalid:focus-within,
.input-group:has(.is-invalid):focus-within,
.form-control.is-invalid:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.form-check-input:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/* ==============================================================================
 * Nav Pills, Tabs & Pagination
 * ============================================================================== */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
}

.page-item.active .page-link {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
}

.progress-bar {
  background-color: var(--bs-primary) !important;
}

/* ==============================================================================
 * Tables
 * ============================================================================== */
.table {
  --bs-table-hover-bg: rgba(5, 150, 105, 0.04) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.table th {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
}

.table td {
  border-bottom: 1px solid var(--bs-border-color) !important;
  vertical-align: middle !important;
}

/* ==============================================================================
 * WhatsApp Mockup / Phone Simulator
 * ============================================================================== */
.status-bar {
  background: #064e3b !important;
}

.user-bar {
  background: #059669 !important;
}

/* ==============================================================================
 * Hero Analytics & Swiper Card Accents
 * ============================================================================== */
.swiper-card-advance-bg {
  background: linear-gradient(135deg, #047857 0%, #065f46 60%, #064e3b 100%) !important;
  border-radius: var(--bs-border-radius-lg) !important;
}

.website-analytics-text-bg {
  background: rgba(255, 255, 255, 0.18) !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 0.375rem !important;
}

.swiper-pagination-bullet-active {
  background: #10b981 !important;
}

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

/* ==============================================================================
 * Code Block & Copy Button for API Documentation
 * ============================================================================== */
.code-block-container {
  position: relative !important;
  margin-bottom: 1.25rem !important;
  display: block !important;
}

.code-block-container pre {
  margin-bottom: 0 !important;
  padding: 1.15rem 5.5rem 1.15rem 1.15rem !important;
  background-color: #1a2234 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 0.65rem !important;
  color: #f8fafc !important;
  font-family: 'Fira Code', 'JetBrains Mono', Consolas, Monaco, monospace !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  overflow-x: auto !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

[data-bs-theme="dark"] .code-block-container pre {
  background-color: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.code-block-container:hover pre {
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}

.btn-code-copy {
  position: absolute !important;
  top: 0.65rem !important;
  right: 0.65rem !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  padding: 0.32rem 0.75rem !important;
  font-size: 0.775rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #cbd5e1 !important;
  background: rgba(30, 41, 59, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 0.375rem !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  outline: none !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.btn-code-copy:hover {
  color: #ffffff !important;
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10b981 !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
  transform: translateY(-1px) !important;
}

.btn-code-copy:active {
  transform: translateY(0) scale(0.96) !important;
}

.btn-code-copy.copied {
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
}

.btn-code-copy i {
  font-size: 0.95rem !important;
}

/* Clickable API Key input */
.user-api-key-clickable {
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.user-api-key-clickable:hover {
  border-color: #10b981 !important;
  background-color: rgba(16, 185, 129, 0.04) !important;
}

.user-api-key-clickable:focus {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.25) !important;
}

/* ==============================================================================
 * Modern SaaS API Key Card & Token Box
 * ============================================================================== */
.api-key-card {
  transition: all 0.25s ease !important;
  border: 1px solid var(--bs-border-color, #e2e8f0) !important;
}

.api-key-card:hover {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02) !important;
}

.api-key-box {
  background: var(--bs-card-bg, #ffffff) !important;
  border: 1.5px solid var(--bs-border-color, #e2e8f0) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
}

.api-key-box:hover {
  border-color: rgba(5, 150, 105, 0.45) !important;
  box-shadow: 0 4px 18px rgba(5, 150, 105, 0.08) !important;
}

.api-key-box.copied {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.06) !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18) !important;
}

.api-bearer-badge {
  background: rgba(5, 150, 105, 0.08) !important;
  border: 1px solid rgba(5, 150, 105, 0.25) !important;
  color: #059669 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  padding: 0.35rem 0.65rem !important;
  border-radius: 0.5rem !important;
}

.api-snippet-box {
  background: rgba(15, 23, 42, 0.03) !important;
  border: 1px dashed var(--bs-border-color, #e2e8f0) !important;
  transition: all 0.2s ease !important;
}

.api-snippet-box:hover {
  background: rgba(5, 150, 105, 0.04) !important;
  border-color: rgba(5, 150, 105, 0.35) !important;
}

[data-bs-theme="dark"] .api-key-card {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .api-key-box {
  background: rgba(15, 23, 42, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .api-key-box:hover {
  border-color: rgba(52, 211, 153, 0.4) !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.12) !important;
}

[data-bs-theme="dark"] .api-key-box.copied {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.12) !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25) !important;
}

[data-bs-theme="dark"] .api-bearer-badge {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
  color: #34d399 !important;
}

[data-bs-theme="dark"] .api-snippet-box {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-bs-theme="dark"] .api-snippet-box:hover {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
}

/* ==============================================================================
 * Navbar Language Pill Switcher
 * ============================================================================== */
.landing-pill-btn {
  border-radius: 9999px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  background: rgba(248, 250, 252, 0.85) !important;
  color: #334155 !important;
  padding: 0.38rem 0.85rem !important;
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  letter-spacing: 0.02em !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

[data-bs-theme="dark"] .landing-pill-btn {
  background: rgba(30, 41, 59, 0.85) !important;
  border-color: rgba(51, 65, 85, 0.75) !important;
  color: #e2e8f0 !important;
}

.landing-pill-btn:hover,
.landing-pill-btn[aria-expanded="true"] {
  background: #ffffff !important;
  border-color: #059669 !important;
  color: #059669 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15) !important;
}

[data-bs-theme="dark"] .landing-pill-btn:hover,
[data-bs-theme="dark"] .landing-pill-btn[aria-expanded="true"] {
  background: #1e293b !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
}

.dropdown-language .dropdown-menu {
  min-width: 160px !important;
  border-radius: 0.75rem !important;
  padding: 0.5rem !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

[data-bs-theme="dark"] .dropdown-language .dropdown-menu {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.dropdown-language .dropdown-item {
  border-radius: 0.5rem !important;
  padding: 0.45rem 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

.dropdown-language .dropdown-item.active {
  background: rgba(5, 150, 105, 0.1) !important;
  color: #059669 !important;
  font-weight: 600 !important;
}

[data-bs-theme="dark"] .dropdown-language .dropdown-item.active {
  background: rgba(16, 185, 129, 0.16) !important;
  color: #10b981 !important;
}

/* Icon fallback aliases & missing Tabler definitions */
.tabler-login {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M9 8V6a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2'/%3E%3Cpath d='M3 12h13l-3-3m0 6l3-3'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.tabler-device-mobile-off {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7.159 3.185C7.41 3.067 7.697 3 8 3h8a2 2 0 0 1 2 2v9m0 4v1a2 2 0 0 1-2 2m-4 0H8a2 2 0 0 1-2-2V6m5-2h2m-2 13v.01M3 3l18 18'/%3E%3C/svg%3E") !important;
}

.tabler-message-circle-off {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 3l18 18m-2.456-6.52A9 9 0 0 0 5.64 5.637m-1.745 2.26A9.006 9.006 0 0 0 3 20l1.3-3.9C3.12 14.28 3.5 12.5 4.3 11'/%3E%3C/svg%3E") !important;
}

.tabler-code {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m7 8l-4 4l4 4m10-8l4 4l-4 4M14 4l-4 16'/%3E%3C/svg%3E") !important;
}

.tabler-bolt {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 3l0 7l6 0l-8 11l0 -7l-6 0z'/%3E%3C/svg%3E") !important;
}

.tabler-point-filled {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='4' fill='black'/%3E%3C/svg%3E") !important;
}

.tabler-photo-off {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 3l18 18M15 8h.01M7 3h10a4 4 0 0 1 4 4v10m-.88 3.122A4 4 0 0 1 17 21H7a4 4 0 0 1-4-4V7a4 4 0 0 1 1.12-2.878M4 15l4-4c.928-.893 2.072-.893 3 0l5 5m1.5-1.5c.34-.326.702-.53 1.07-.61M14 14l1-1c.364-.35.792-.516 1.226-.498'/%3E%3C/svg%3E") !important;
}

.tabler-unlock {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2zm3-2V7a4 4 0 0 1 8 0v2m-4 6v2'/%3E%3C/svg%3E") !important;
}

.tabler-message-dots {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 21v-13a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v6a3 3 0 0 1-3 3h-9zm8-9v.01m-4-.01v.01m8-.01v.01'/%3E%3C/svg%3E") !important;
}

.tabler-info-circle-filled {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2m0 9h-1a1 1 0 0 0 0 2h1v3a1 1 0 0 0 2 0v-4a1 1 0 0 0-1-1m.01-4a1.005 1.005 0 0 0-.717.293a1 1 0 0 0 0 1.414A1 1 0 0 0 12 9a1 1 0 0 0 .707-.293A1 1 0 0 0 12 7'/%3E%3C/svg%3E") !important;
}

.tabler-refresh-alert {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4m-4 4a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4M12 9v4m0 3v.01'/%3E%3C/svg%3E") !important;
}

.tabler-history {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8v4l2 2m-11-3a9 9 0 1 1 .5 4m-.5 5v-5h5'/%3E%3C/svg%3E") !important;
}

.tabler-bell-off {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 3l18 18M17 17h-13a4 4 0 0 0 2-3v-3a7 7 0 0 1 1.279-3.716m2.072-1.934c.209-.164.432-.307.669-.428a2 2 0 1 1 3.96 0a7 7 0 0 1 4.02 6.078v1m.244 4.259a4 4 0 0 0 1.756 2.741M9 17v1a3 3 0 0 0 6 0v-1'/%3E%3C/svg%3E") !important;
}

.tabler-bell-ringing {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 5a2 2 0 0 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3H4a4 4 0 0 0 2-3v-3a7 7 0 0 1 4-6M9 17v1a3 3 0 0 0 6 0v-1M21 6.727a11.05 11.05 0 0 0-2.794-3.727M3 6.727A11.05 11.05 0 0 1 5.792 3'/%3E%3C/svg%3E") !important;
}

.tabler-shield-check {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 3a12 12 0 0 0 8.5 3A12 12 0 0 1 12 21A12 12 0 0 1 3.5 6A12 12 0 0 0 12 3m-3 8.5l2 2l4-4'/%3E%3C/svg%3E") !important;
}

.tabler-lock-off {
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 3l18 18M15 11v-4a3 3 0 0 0-4.686-2.48m-1.025 2.98v3.5M7 11h10a2 2 0 0 1 2 2v4m-.586 3.414A2 2 0 0 1 17 21H7a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2'/%3E%3C/svg%3E") !important;
}

/* ==============================================================================
 * Centered Authentication Pages (Login, Register, 2FA, Reset)
 * ============================================================================== */
.authentication-wrapper.authentication-basic {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  background: radial-gradient(circle at 50% 10%, rgba(5, 150, 105, 0.08) 0%, rgba(248, 250, 252, 0.95) 70%) !important;
  padding: 2.5rem 1rem !important;
}

[data-bs-theme="dark"] .authentication-wrapper.authentication-basic {
  background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.08) 0%, #0f172a 70%) !important;
}

.authentication-wrapper.authentication-basic .authentication-inner {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  z-index: 2;
}

.authentication-wrapper.authentication-basic .card {
  border-radius: 1.25rem !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 10px 20px -5px rgba(15, 23, 42, 0.04) !important;
  background-color: #ffffff !important;
}

[data-bs-theme="dark"] .authentication-wrapper.authentication-basic .card {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4) !important;
}

.authentication-wrapper.authentication-basic .app-brand {
  margin-bottom: 1.75rem !important;
}

.authentication-wrapper.authentication-basic .app-brand-link {
  text-decoration: none !important;
}







/* ==============================================================================
 * Modern Beautified Checkout Styles (Customer Details + Image 2 Order Summary)
 * ============================================================================== */
.checkout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-main-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eef2f6;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Customer Details Side */
.checkout-customer-section {
  padding: 38px 44px;
}

.checkout-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.checkout-field-label {
  font-size: 0.83rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkout-input-group {
  position: relative;
}

.checkout-input-group .form-control {
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #1e293b;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.checkout-input-group .form-control:focus {
  border-color: #5b4de2;
  box-shadow: 0 0 0 3px rgba(91, 77, 226, 0.12);
  outline: none;
}

/* Razorpay Selected Badge Card */
.checkout-payment-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s ease;
}

.checkout-payment-box.selected {
  background: linear-gradient(135deg, #f5f3ff 0%, #ffffff 100%);
  border-color: #c7d2fe;
}

/* Security Trust Showcase */
.checkout-security-card {
  background: #fafbfc;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 24px;
}

.security-badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}

.security-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.security-badge-icon.blue {
  background: #eff6ff;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.security-badge-icon.purple {
  background: #f5f3ff;
  color: #7c3aed;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08);
}

.security-badge-icon.amber {
  background: #fffbeb;
  color: #d97706;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.08);
}

.security-badge-title {
  font-size: 0.83rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.security-badge-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

.payment-methods-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  margin-top: 16px;
  border-top: 1px dashed #e2e8f0;
}

.payment-chip {
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.02em;
}

/* Right Side: Beautified Order Summary (matching Image 2) */
.checkout-summary-section {
  background: #fafbfc;
  padding: 38px 40px;
  border-left: 1px solid #eef2f6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-clean-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.summary-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
}

.summary-item-label {
  color: #475569;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-item-value {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.summary-coupon-btn {
  color: #5b4de2;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.15s;
}

.summary-coupon-btn:hover {
  color: #4536ca;
  text-decoration: underline;
}

.summary-divider {
  height: 1px;
  background: #edf2f7;
  margin: 18px 0;
}

.summary-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
}

.summary-total-label {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.summary-total-amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.summary-legal-notice {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.55;
  margin-top: 20px;
  margin-bottom: 24px;
}

.summary-legal-notice a {
  color: #1e293b;
  text-decoration: underline;
  font-weight: 500;
}

.summary-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.summary-btn-cancel {
  color: #5b4de2;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
}

.summary-btn-cancel:hover {
  color: #4536ca;
  text-decoration: underline;
}

.summary-btn-complete {
  background: #5b4de2;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 14px rgba(91, 77, 226, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.summary-btn-complete:hover {
  background: #4e3fd4;
  box-shadow: 0 6px 20px rgba(91, 77, 226, 0.45);
  transform: translateY(-1px);
}

.summary-btn-complete:active {
  transform: translateY(0);
}

/* Dark mode adjustments */
[data-bs-theme="dark"] .checkout-main-card {
  background: #111827;
  border-color: #1f2937;
}
[data-bs-theme="dark"] .checkout-section-title,
[data-bs-theme="dark"] .summary-item-value,
[data-bs-theme="dark"] .summary-total-label,
[data-bs-theme="dark"] .summary-total-amount,
[data-bs-theme="dark"] .security-badge-title {
  color: #f1f5f9;
}
[data-bs-theme="dark"] .checkout-field-label,
[data-bs-theme="dark"] .summary-item-label,
[data-bs-theme="dark"] .security-badge-desc {
  color: #94a3b8;
}
[data-bs-theme="dark"] .checkout-summary-section {
  background: #0b1120;
  border-left-color: #1e293b;
}
[data-bs-theme="dark"] .summary-clean-card {
  background: #1e293b;
  border-color: #334155;
}
[data-bs-theme="dark"] .checkout-input-group .form-control {
  background: #0f172a;
  border-color: #334155;
  color: #f1f5f9;
}
[data-bs-theme="dark"] .checkout-payment-box {
  background: #1e293b;
  border-color: #334155;
}
[data-bs-theme="dark"] .checkout-payment-box.selected {
  background: rgba(91, 77, 226, 0.12);
  border-color: rgba(91, 77, 226, 0.4);
}
[data-bs-theme="dark"] .checkout-security-card {
  background: #1e293b;
  border-color: #334155;
}
[data-bs-theme="dark"] .payment-chip {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}
[data-bs-theme="dark"] .summary-legal-notice a {
  color: #cbd5e1;
}
.plan-price-currency {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
  letter-spacing: -0.02em;
}
[data-bs-theme="dark"] .plan-price-currency {
  color: #f8fafc;
}
.plan-quota-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
[data-bs-theme="dark"] .plan-quota-box {
  background: #1e293b;
  border-color: #334155;
}