/* Click Local Tools - Global Design System & Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: rgba(79, 70, 229, 0.08);
  --secondary: #10b981;
  --secondary-hover: #059669;
  --secondary-light: rgba(16, 185, 129, 0.08);
  --tertiary: #0284c7;
  --tertiary-hover: #0369a1;
  
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.90);
  --bg-sidebar: rgba(255, 255, 255, 0.94);
  --text-sidebar: #475569;
  --text-sidebar-active: #4f46e5;
  --bg-sidebar-active: rgba(79, 70, 229, 0.08);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: rgba(226, 232, 240, 0.85);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 36px -4px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 24px 48px -10px rgba(15, 23, 42, 0.08);
  --radius-card: 26px;
  --radius-pill: 9999px;
}



body, html, *, input, button, select, textarea, .form-control, .btn, h1, h2, h3, h4, h5, h6, .badge {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(59, 130, 246, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Layout Setup */
#wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  min-height: 100vh;
}

/* Light SaaS Sidebar Styling - Violet Primary & Green Secondary */
#sidebar {
  min-width: 270px;
  max-width: 270px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  color: var(--text-sidebar);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1040;
  display: flex;
  flex-direction: column;
}

#sidebar.active {
  margin-left: -270px;
}

#sidebar .sidebar-brand {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

#sidebar .sidebar-brand img {
  height: 38px;
  width: auto;
}

#sidebar .sidebar-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

#sidebar .sidebar-brand-text span {
  font-size: 0.72rem;
  display: block;
  color: #2563eb;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  padding: 1rem 0.8rem;
  overflow-y: auto;
  flex-grow: 1;
}

.sidebar-heading {
  padding: 0.75rem 1.5rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
}

/* Collapsible Violet Light Tab Card Sidebar */
.sidebar-menu-group {
  margin-bottom: 2px;
}

.sidebar-tab-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.95rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  color: #334155 !important;
  font-weight: 600;
  font-size: 0.89rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.sidebar-tab-card:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  color: #1e40af !important;
  border-color: #2563eb !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  transform: translateX(3px);
}

.sidebar-tab-card.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.sidebar-tab-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-right: 11px;
  transition: all 0.2s ease;
}

.sidebar-tab-card:hover .sidebar-tab-icon {
  background: #2563eb !important;
  color: #ffffff !important;
}

.sidebar-tab-card.active .sidebar-tab-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.sidebar-arrow {
  font-size: 0.75rem;
  color: #94a3b8;
  transition: transform 0.3s ease, color 0.2s ease;
}

.sidebar-tab-card:hover .sidebar-arrow {
  color: #2563eb !important;
}

.sidebar-tab-card[aria-expanded="true"] .sidebar-arrow {
  transform: rotate(180deg);
  color: #2563eb;
}

.sidebar-sub-box {
  margin: 0.2rem 0 0.6rem 1.1rem;
  padding-left: 0.9rem;
  border-left: 2px solid #cbd5e1;
}

.sidebar-sub-link {
  display: flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  margin-bottom: 0.25rem;
  border-radius: 8px;
  color: #475569 !important;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.sidebar-sub-link:hover {
  color: #2563eb !important;
  background: rgba(37, 99, 235, 0.08) !important;
  transform: translateX(3px);
}

.sidebar-sub-link.active {
  color: #1d4ed8 !important;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.12) !important;
  border-left: 3px solid #2563eb;
}

.sidebar-sub-link i {
  font-size: 0.6rem;
  margin-right: 8px;
  color: #16a34a;
}

/* Main Content Area */
#content-wrapper {
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Navbar (Panze Studio Glassmorphism) */
.topbar {
  height: 72px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.topbar .search-box {
  position: relative;
  width: 280px;
}

.topbar .search-box input {
  background: rgba(244, 246, 252, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.42rem 1rem 0.42rem 2.3rem;
  font-size: 0.84rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.topbar .search-box input:focus {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.topbar .search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.topbar-plugin-pill {
  background: #ffffff;
  border: 1.5px solid #fde68a !important;
  border-radius: 9999px;
  padding: 6px 14px;
  color: #1e293b;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .topbar-plugin-pill {
  background: #1e293b;
  border-color: rgba(253, 230, 138, 0.3) !important;
  color: #f1f5f9;
}

.topbar-plugin-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.user-profile-pill {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.2s ease;
}

[data-theme="dark"] .user-profile-pill {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.user-profile-pill:hover {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Executive Dark Luxury Tool Hero Banner */
.tool-header-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
  color: #ffffff !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.4), 0 4px 12px rgba(15, 23, 42, 0.1) !important;
  padding: 1.75rem 2rem !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
  overflow: hidden !important;
}
.tool-header-hero h2,
.tool-header-hero h3,
.tool-header-hero h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px !important;
  margin: 0 !important;
}
.tool-header-hero p {
  color: rgba(255, 255, 255, 0.65) !important;
  margin: 0 !important;
  margin-top: 0.25rem !important;
  font-size: 0.92rem !important;
}

/* Cards & Widgets (Panze Luxury Shadow & Elevated Edges) */
.card-custom {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 28px !important;
  box-shadow: 0 24px 55px -12px rgba(15, 23, 42, 0.12), 0 8px 24px -4px rgba(15, 23, 42, 0.05) !important;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  margin-bottom: 1.75rem;
}

[data-theme="dark"] .card-custom {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px -12px rgba(0, 0, 0, 0.5) !important;
}

.card-custom:hover {
  box-shadow: 0 30px 65px -12px rgba(15, 23, 42, 0.16) !important;
}

/* Big High-Visibility Form Controls & Inputs */
.form-control:not(.border-0), 
.form-select:not(.border-0),
textarea.form-control:not(.border-0) {
  min-height: 52px;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.98rem;
  font-weight: 500;
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

[data-theme="dark"] .form-control:not(.border-0), 
[data-theme="dark"] .form-select:not(.border-0),
[data-theme="dark"] textarea.form-control:not(.border-0) {
  background-color: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

.form-control:not(.border-0):focus, 
.form-select:not(.border-0):focus,
textarea.form-control:not(.border-0):focus {
  background-color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
  outline: none;
}

.form-control-lg:not(.border-0), .form-select-lg:not(.border-0) {
  min-height: 60px;
  font-size: 1.04rem;
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
}

/* ── Absolute Clean Reset for Nested / Borderless / Capsule / Hero Inputs ── */
.border-0, 
.form-control.border-0, 
input.border-0, 
#dash-input-url, 
.cl-hero-input, 
.gmb-hero-search-input, 
.input-group > .form-control.border-0,
.input-group > input.border-0,
.search-capsule-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: none !important;
  min-height: auto !important;
}

.border-0:focus,
.form-control.border-0:focus,
input.border-0:focus,
#dash-input-url:focus,
.cl-hero-input:focus,
.gmb-hero-search-input:focus {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  transform: none !important;
  outline: none !important;
}

/* Big Elevated Luxury Action Buttons */
.btn-primary, .btn-submit, .btn-custom-primary {
  min-height: 56px;
  padding: 0.9rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: 9999px !important;
  background: #4f46e5 !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 16px 36px -6px rgba(79, 70, 229, 0.55), 0 6px 16px -2px rgba(79, 70, 229, 0.35) !important;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover, .btn-submit:hover, .btn-custom-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 46px -6px rgba(79, 70, 229, 0.7), 0 10px 22px -2px rgba(79, 70, 229, 0.4) !important;
  background: #4338ca !important;
  color: #ffffff !important;
}

.btn-lg {
  min-height: 64px !important;
  font-size: 1.12rem !important;
  padding: 1.05rem 3.25rem !important;
}

/* Panze Studio Specific Components (Solid Luxury & Large Box Oval Edges) */
.panze-plan-card {
  background: #0f172a;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15);
  padding: 1.85rem;
}

.panze-btn-solid {
  background: #4f46e5;
  border: none;
  border-radius: var(--radius-pill);
  color: #ffffff !important;
  font-weight: 600;
  padding: 9px 22px;
  font-size: 0.86rem;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.panze-btn-solid:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
  color: #ffffff !important;
}

.panze-stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.65rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.panze-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.panze-circle-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.panze-circle-green {
  background: #10b981;
}

.panze-circle-purple {
  background: #4f46e5;
}

.panze-circle-orange {
  background: #f59e0b;
}

.panze-filter-pill {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.panze-filter-pill:hover {
  background: #ffffff;
  border-color: #4f46e5;
  color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.12);
}

/* Panze Translucent Table with Large Box Oval Edges */
.panze-table-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.panze-table {
  margin-bottom: 0;
}

.panze-table thead th {
  background: rgba(248, 250, 252, 0.7);
  border-bottom: 1px solid var(--border-color);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  padding: 1.1rem 1.4rem;
}

[data-theme="dark"] .panze-table thead th {
  background: rgba(30, 41, 59, 0.7);
  color: #94a3b8;
}

.panze-table tbody td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  vertical-align: middle;
}

.panze-table tbody tr:hover td {
  background: rgba(79, 70, 229, 0.025);
}

/* Global Pill Buttons */
.btn {
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
  background-color: #4f46e5;
  border-color: #4f46e5;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background-color: #4338ca;
  border-color: #4338ca;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-success {
  background-color: #10b981;
  border-color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-success:hover {
  background-color: #059669;
  border-color: #059669;
  transform: translateY(-1px);
}

.btn-purple, .cl-btn-all-apps {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  text-decoration: none !important;
}

.btn-purple:hover, .cl-btn-all-apps:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.45) !important;
}

.btn-purple:active, .cl-btn-all-apps:active {
  transform: scale(0.97);
}

/* ========================================================================= */
/* LUXURY PRO MODAL: CUSTOMISE DASHBOARD                                     */
/* ========================================================================= */
#customiseDashboardModal .modal-dialog {
  max-width: 840px;
}

#customiseDashboardModal .modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 26px !important;
  box-shadow: 0 30px 80px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}

[data-theme="dark"] #customiseDashboardModal .modal-content {
  background: #0f172a !important;
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8) !important;
}

#customiseDashboardModal .modal-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 1.35rem 1.75rem !important;
}

[data-theme="dark"] #customiseDashboardModal .modal-header {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

#customiseDashboardModal .modal-body {
  background: #f8fafc !important;
  padding: 1.5rem 1.75rem !important;
}

[data-theme="dark"] #customiseDashboardModal .modal-body {
  background: #090d16 !important;
}

#customiseDashboardModal .modal-footer {
  background: #ffffff !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  padding: 1.15rem 1.75rem !important;
}

[data-theme="dark"] #customiseDashboardModal .modal-footer {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Modal Search Capsule */
.cl-modal-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.cl-modal-search-box i {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 0.95rem;
  pointer-events: none;
}
.cl-modal-search-input {
  width: 100%;
  height: 48px;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1rem 0.5rem 2.75rem !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
}
[data-theme="dark"] .cl-modal-search-input {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f8fafc !important;
}
.cl-modal-search-input:focus {
  background: #ffffff !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

/* Modal Tool Card Item */
.cl-modal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.75rem 0.95rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  user-select: none;
  height: 100%;
  min-height: 64px;
}
[data-theme="dark"] .cl-modal-card {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}
.cl-modal-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.06);
}
.cl-modal-card.is-selected {
  border-color: #4f46e5 !important;
  background: #f5f3ff !important;
  box-shadow: 0 4px 16px -2px rgba(79, 70, 229, 0.18) !important;
}
[data-theme="dark"] .cl-modal-card.is-selected {
  background: rgba(79, 70, 229, 0.12) !important;
  border-color: #6366f1 !important;
}

/* Custom Checkbox inside modal */
.cl-modal-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
  accent-color: #4f46e5;
}
.cl-modal-card.is-selected .cl-modal-check {
  border-color: #4f46e5;
  background-color: #4f46e5;
}

/* Icon box inside modal */
.cl-modal-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.15);
}

/* Typography inside modal */
.cl-modal-card-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .cl-modal-card-title {
  color: #f8fafc;
}
.cl-modal-card-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin: 2px 0 0 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .cl-modal-card-desc {
  color: #94a3b8;
}

/* Badge inside modal */
.cl-modal-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
[data-theme="dark"] .cl-modal-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

/* Sleek Scrollbar */
#modal-tools-list::-webkit-scrollbar {
  width: 6px;
}
#modal-tools-list::-webkit-scrollbar-track {
  background: transparent;
}
#modal-tools-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
[data-theme="dark"] #modal-tools-list::-webkit-scrollbar-thumb {
  background: #334155;
}

.panze-filter-pill:hover {
  background: #ffffff;
  border-color: #6366f1;
  color: #6366f1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

/* Panze Translucent Table */
.panze-table-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.panze-table {
  margin-bottom: 0;
}

.panze-table thead th {
  background: rgba(244, 246, 252, 0.6);
  border-bottom: 1px solid var(--border-color);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  padding: 1rem 1.25rem;
}

[data-theme="dark"] .panze-table thead th {
  background: rgba(30, 41, 59, 0.6);
  color: #94a3b8;
}

.panze-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.86rem;
  vertical-align: middle;
}

.panze-table tbody tr:hover td {
  background: rgba(99, 102, 241, 0.03);
}

.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.btn-purple {
  background-color: var(--primary-purple);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-purple:hover {
  background-color: var(--primary-purple-hover);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-green {
  background-color: var(--secondary-green);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-green:hover {
  background-color: var(--secondary-green-hover);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* Score Circle Gauge */
.score-badge-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.score-high { background: linear-gradient(135deg, #10b981, #387910); }
.score-medium { background: linear-gradient(135deg, #f39c12, #d35400); }
.score-low { background: linear-gradient(135deg, #e74c3c, #c0392b); }

/* SERP Google Preview Card */
.serp-box {
  background: #ffffff;
  border: 1px solid #dfe1e5;
  border-radius: 8px;
  padding: 1.25rem;
  font-family: arial, sans-serif;
  max-width: 600px;
}

.serp-box .serp-url {
  color: #202124;
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 2px;
}

.serp-box .serp-title {
  color: #1a0dab;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}

.serp-box .serp-title:hover {
  text-decoration: underline;
}

.serp-box .serp-desc {
  color: #4d5156;
  font-size: 14px;
  line-height: 1.58;
  margin-top: 4px;
}

/* Toast Container */
#toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1090;
}

/* Mobile Sidebar Backdrop */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1030;
}

@media (max-width: 991.98px) {
  #sidebar {
    margin-left: -270px;
    position: fixed;
    height: 100vh;
  }
  #sidebar.active {
    margin-left: 0;
  }
  .sidebar-overlay.active {
    display: block;
  }
}

/* Print Stylesheet for Reports */
@media print {
  #sidebar, .topbar, .btn, footer, #toast-container {
    display: none !important;
  }
  #content-wrapper, body {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .card-custom {
    border: none !important;
    box-shadow: none !important;
  }
}

/* ==========================================================================
   Dashboard Panel Intelligence - Big Search Bar, Problem Engine & Right Panel
   ========================================================================== */

/* ==========================================================================
   Dashboard Panel Intelligence - Dark Navy Luxury & Distinct Color Tabs
   ========================================================================== */

/* Deep Midnight Navy Hero Card */
.hero-card-navy-luxury {
  background: linear-gradient(135deg, #091a2e 0%, #0d2a4a 50%, #083c4d 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(9, 26, 46, 0.55);
}

.hero-card-navy-luxury::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(16, 185, 129, 0.12) 40%, transparent 70%);
  pointer-events: none;
}

/* Giant Pill Capsule Search Box (Even Bigger & Wider) */
.pill-search-giant-wrapper {
  background: rgba(226, 232, 240, 0.96);
  backdrop-filter: blur(12px);
  border-radius: 9999px;
  padding: 10px 12px 10px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 72px;
}

.pill-search-giant-wrapper:focus-within {
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(79, 70, 229, 0.35);
}

.pill-search-giant-input {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.pill-search-giant-input::placeholder {
  color: #64748b !important;
  font-size: 1.05rem;
  font-weight: 400;
}

/* Integrated Location Chip */
.pill-location-chip {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.pill-location-input {
  border: none !important;
  background: transparent !important;
  font-weight: 700;
  color: #0f172a !important;
  font-size: 0.88rem;
  box-shadow: none !important;
}

.btn-pill-search-gradient {
  background: #2563eb;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 0.85rem 2.4rem;
  border: 1px solid #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-pill-search-gradient:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Floating Link Type Pills */
.link-type-badge {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-type-badge.gmb {
  background: rgba(22, 163, 74, 0.12);
  color: #16a34a;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.link-type-badge.website {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Standard Color-Coded Signal Filter Tabs System
   ========================================================================== */
.tab-signal-pill {
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.tab-signal-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.tab-signal-pill.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* Tab specific active colors */
.tab-signal-pill[data-filter="gmb"].active {
  background: #16a34a !important;
  border-color: #15803d !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.tab-signal-pill[data-filter="seo"].active {
  background: #0284c7 !important;
  border-color: #0369a1 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.tab-signal-pill[data-filter="aeo"].active {
  background: #475569 !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.25);
}

.tab-signal-pill[data-filter="critical"].active {
  background: #dc2626 !important;
  border-color: #b91c1c !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* KPI Score Cards */
.kpi-mini-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #cbd5e1;
  padding: 1.25rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.kpi-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.08);
}

/* Problem-Solution Luxury Cards */
.problem-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  border-left: 6px solid #cbd5e1 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.1);
}

.problem-card.severity-critical {
  border-left-color: #ef4444 !important;
}

.problem-card.severity-warning {
  border-left-color: #f59e0b !important;
}

.problem-card.severity-opportunity {
  border-left-color: #0ea5e9 !important;
}

.problem-solution-box {
  background: #f8fafc;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  transition: background 0.2s ease;
}

.problem-card:hover .problem-solution-box {
  background: #faf5ff;
  border-color: rgba(79, 70, 229, 0.35);
}

.btn-action-trigger {
  background: #4f46e5;
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-action-trigger:hover {
  background: #7322BC;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}

/* Smart Right Panel */
.smart-right-panel {
  position: sticky;
  top: 80px;
}

.score-progress-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
}

.score-progress-ring.overall {
  background: conic-gradient(#4f46e5 calc(var(--score-pct, 78) * 1%), #e2e8f0 0);
}

.score-progress-ring-inner {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-grid-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.tool-grid-btn:hover {
  background: #ffffff;
  border-color: #4f46e5;
  color: #4f46e5;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.15);
  transform: translateX(4px);
}

.tool-grid-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}




.problem-filter-btn {
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.problem-filter-btn.active, .problem-filter-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Complete Dark Theme Component Overrides
   ========================================================================== */
[data-theme="dark"] body {
  background-color: #0b0f19 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .topbar {
  background: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] #sidebar {
  background: #0f172a !important;
  border-right: 1px solid #1e293b !important;
}

[data-theme="dark"] #sidebar .sidebar-brand {
  background: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
}

[data-theme="dark"] #sidebar .sidebar-brand-text {
  color: #f8fafc !important;
}

[data-theme="dark"] .sidebar-tab-card {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .sidebar-tab-card:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

[data-theme="dark"] .sidebar-tab-card.active {
  background: #2563eb !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .sidebar-tab-icon {
  background: rgba(37, 99, 235, 0.2) !important;
  color: #60a5fa !important;
}

[data-theme="dark"] .sidebar-sub-box {
  border-left-color: #334155 !important;
}

[data-theme="dark"] .sidebar-sub-link {
  color: #94a3b8 !important;
}

[data-theme="dark"] .sidebar-sub-link:hover {
  color: #60a5fa !important;
  background: rgba(37, 99, 235, 0.15) !important;
}

[data-theme="dark"] .sidebar-sub-link.active {
  color: #ffffff !important;
  background: rgba(37, 99, 235, 0.25) !important;
  border-left: 3px solid #3b82f6 !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .card-custom,
[data-theme="dark"] .la-search-card,
[data-theme="dark"] .la-card,
[data-theme="dark"] .la-score-card,
[data-theme="dark"] .kpi-mini-card,
[data-theme="dark"] .la-pillar-card,
[data-theme="dark"] .bg-white,
[data-theme="dark"] footer.bg-white {
  background: #111827 !important;
  border-color: #1e293b !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .la-card-head,
[data-theme="dark"] .la-report-actions,
[data-theme="dark"] .proximity-table th,
[data-theme="dark"] .la-check-item,
[data-theme="dark"] .origin-zero-banner,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .modal-header,
[data-theme="dark"] .modal-footer {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .modal-content {
  background: #111827 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .la-geogrid-wrap {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

[data-theme="dark"] .la-spoke-col-head {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .input-group-text,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] input:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .la-biz-name,
[data-theme="dark"] .la-step-title,
[data-theme="dark"] .la-check-title,
[data-theme="dark"] .la-pillar-title,
[data-theme="dark"] .la-field-lg label,
[data-theme="dark"] .fw-bold.text-dark,
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 {
  color: #f8fafc !important;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .la-biz-meta,
[data-theme="dark"] .la-step-desc,
[data-theme="dark"] .la-check-desc {
  color: #94a3b8 !important;
}

.dropdown-menu {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 8px 20px -4px rgba(15, 23, 42, 0.08) !important;
  z-index: 1080 !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="dark"] .dropdown-menu {
  background-color: #0f172a !important;
  background: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  color: #f8fafc !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75) !important;
  z-index: 1080 !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="dark"] .dropdown-item {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .dropdown-item:hover {
  background-color: #1e293b !important;
  color: #ffffff !important;
}

[data-theme="dark"] .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .btn-light {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .btn-outline-secondary {
  border-color: #475569 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .btn-outline-secondary:hover {
  background-color: #334155 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .tab-signal-pill {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .tab-signal-pill.active {
  color: #ffffff !important;
}

[data-theme="dark"] .pill-search-giant-wrapper {
  background: #111827 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .pill-search-giant-input {
  background: transparent !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .proximity-table td,
[data-theme="dark"] .la-signal-row {
  border-color: #1e293b !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .la-sig-name {
  color: #f8fafc !important;
}

[data-theme="dark"] .la-step-card {
  background: #1e293b !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .btn-la-report {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .btn-la-report:hover {
  border-color: #3b82f6 !important;
  color: #60a5fa !important;
}

[data-theme="dark"] .btn-la-report.blue {
  background: #2563eb !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .tool-grid-btn {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .tool-grid-btn:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

/* ==========================================================================
   Social Media Management Suite - Luxury Master Brand Design System
   ========================================================================== */
:root {
  --fb-primary: #1877F2;
  --fb-gradient: linear-gradient(135deg, #1877F2 0%, #0d5bc0 100%);
  --ig-gradient: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --yt-gradient: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  --li-gradient: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
  --pin-gradient: linear-gradient(135deg, #E60023 0%, #ad081b 100%);
  --x-gradient: linear-gradient(135deg, #0f1419 0%, #2b3137 100%);
  --gbp-gradient: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

.social-brand-fb { background: var(--fb-gradient) !important; color: #ffffff !important; }
.social-brand-ig { background: var(--ig-gradient) !important; color: #ffffff !important; }
.social-brand-yt { background: var(--yt-gradient) !important; color: #ffffff !important; }
.social-brand-li { background: var(--li-gradient) !important; color: #ffffff !important; }
.social-brand-pin { background: var(--pin-gradient) !important; color: #ffffff !important; }
.social-brand-x { background: var(--x-gradient) !important; color: #ffffff !important; }
.social-brand-gbp { background: var(--gbp-gradient) !important; color: #ffffff !important; }

.social-color-fb { color: #1877F2 !important; }
.social-color-ig { color: #dc2743 !important; }
.social-color-yt { color: #FF0000 !important; }
.social-color-li { color: #0A66C2 !important; }
.social-color-pin { color: #E60023 !important; }
.social-color-x { color: #0f1419 !important; }
.social-color-gbp { color: #4285F4 !important; }

/* Platform Icon Badge */
.platform-avatar-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.platform-avatar-badge::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.platform-avatar-badge:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.28);
}

.platform-avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

/* Master Agency Suites Top Cards */
.agency-suite-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.agency-suite-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--suite-brand-gradient, #2563eb);
}
.agency-suite-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -6px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
}

/* Luxury Client Card */
.social-client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.social-client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.12);
  border-color: rgba(37, 99, 235, 0.4);
}
.social-client-card-banner {
  height: 6px;
  width: 100%;
  background: var(--client-brand-gradient, linear-gradient(90deg, #2563eb, #8b5cf6));
}

/* Client Avatar Monogram */
.client-avatar-monogram {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  box-shadow: 0 8px 16px -3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.client-avatar-monogram::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* Client Contact Quick Action Buttons */
.client-quick-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.client-quick-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Interactive Social Asset Card inside Client Card */
.social-asset-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.social-asset-item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: var(--asset-card-bar, #2563eb);
}
.social-asset-item-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.12);
  border-color: rgba(59, 130, 246, 0.4);
}

.social-asset-item-card.card-platform-facebook { --asset-card-bar: var(--fb-gradient); }
.social-asset-item-card.card-platform-instagram { --asset-card-bar: var(--ig-gradient); }
.social-asset-item-card.card-platform-youtube { --asset-card-bar: var(--yt-gradient); }
.social-asset-item-card.card-platform-linkedin { --asset-card-bar: var(--li-gradient); }
.social-asset-item-card.card-platform-pinterest { --asset-card-bar: var(--pin-gradient); }
.social-asset-item-card.card-platform-twitter { --asset-card-bar: var(--x-gradient); }
.social-asset-item-card.card-platform-google_business { --asset-card-bar: var(--gbp-gradient); }

.social-asset-item-card:hover.card-platform-facebook { box-shadow: 0 14px 30px -6px rgba(24, 119, 242, 0.2); }
.social-asset-item-card:hover.card-platform-instagram { box-shadow: 0 14px 30px -6px rgba(220, 39, 67, 0.2); }
.social-asset-item-card:hover.card-platform-youtube { box-shadow: 0 14px 30px -6px rgba(255, 0, 0, 0.2); }
.social-asset-item-card:hover.card-platform-linkedin { box-shadow: 0 14px 30px -6px rgba(10, 102, 194, 0.2); }
.social-asset-item-card:hover.card-platform-pinterest { box-shadow: 0 14px 30px -6px rgba(230, 0, 35, 0.2); }

/* Quick Link Platform Button Pill */
.btn-quick-platform-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-quick-platform-add:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Empty Asset Box */
.client-empty-assets-box {
  background: rgba(248, 250, 252, 0.6);
  border: 2px dashed rgba(203, 213, 225, 0.8);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.25s ease;
}
.client-empty-assets-box:hover {
  background: rgba(37, 99, 235, 0.03);
  border-color: #3b82f6;
}
[data-theme="dark"] .client-empty-assets-box {
  background: rgba(30, 41, 59, 0.4);
  border-color: #334155;
}

/* 1-Click Launch Button */
.btn-direct-launch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-decoration: none !important;
}
.btn-direct-launch.fb { background: rgba(24, 119, 242, 0.12); color: #1877f2; border-color: rgba(24, 119, 242, 0.25); }
.btn-direct-launch.fb:hover { background: #1877f2; color: #ffffff; box-shadow: 0 6px 16px rgba(24, 119, 242, 0.4); transform: scale(1.03); }

.btn-direct-launch.ig { background: rgba(220, 39, 67, 0.12); color: #dc2743; border-color: rgba(220, 39, 67, 0.25); }
.btn-direct-launch.ig:hover { background: var(--ig-gradient); color: #ffffff; box-shadow: 0 6px 16px rgba(220, 39, 67, 0.4); transform: scale(1.03); }

.btn-direct-launch.yt { background: rgba(255, 0, 0, 0.12); color: #ff0000; border-color: rgba(255, 0, 0, 0.25); }
.btn-direct-launch.yt:hover { background: var(--yt-gradient); color: #ffffff; box-shadow: 0 6px 16px rgba(255, 0, 0, 0.4); transform: scale(1.03); }

.btn-direct-launch.li { background: rgba(10, 102, 194, 0.12); color: #0a66c2; border-color: rgba(10, 102, 194, 0.25); }
.btn-direct-launch.li:hover { background: var(--li-gradient); color: #ffffff; box-shadow: 0 6px 16px rgba(10, 102, 194, 0.4); transform: scale(1.03); }

.btn-direct-launch.pin { background: rgba(230, 0, 35, 0.12); color: #e60023; border-color: rgba(230, 0, 35, 0.25); }
.btn-direct-launch.pin:hover { background: var(--pin-gradient); color: #ffffff; box-shadow: 0 6px 16px rgba(230, 0, 35, 0.4); transform: scale(1.03); }

.btn-direct-launch.generic { background: rgba(37, 99, 235, 0.12); color: #2563eb; border-color: rgba(37, 99, 235, 0.25); }
.btn-direct-launch.generic:hover { background: #2563eb; color: #ffffff; box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4); transform: scale(1.03); }

/* Suite Multi-Action Buttons */
.suite-action-group {
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn-suite-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.btn-suite-action:hover {
  transform: translateY(-2px) scale(1.08);
}
.btn-suite-action.inbox:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
.btn-suite-action.planner:hover {
  background: #8b5cf6;
  color: #ffffff;
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}
.btn-suite-action.analytics:hover {
  background: #0ea5e9;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

/* Staff Role & Duty Badges */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.role-badge.role-admin {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.15));
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.role-badge.role-creator {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(6, 182, 212, 0.15));
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.35);
}
.role-badge.role-moderator {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.15));
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.role-badge.role-ads {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.15));
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.role-badge.role-analyst {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.15), rgba(71, 85, 105, 0.15));
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.35);
}

/* Quick Filter Platform Pill */
.social-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.social-filter-pill:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: #2563eb;
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.15);
}
.social-filter-pill.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

/* Platform Select Option Tile (in Add Profile Modal) */
.platform-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.platform-picker-item {
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.2s ease;
  user-select: none;
}
.platform-picker-item:hover {
  border-color: #3b82f6;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
.platform-picker-item.selected {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}
.platform-picker-item .icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* ==========================================================================
   UNIVERSAL ENTERPRISE APP HERO HEADERS & STAT BUTTONS
   ========================================================================== */

.app-hero-header,
.social-hero-header,
.cl-apps-hero,
.avc-hero,
.avp-hero,
.gda-hero {
  position: relative !important;
  overflow: hidden !important;
  background: #0f172a !important;
  border-radius: 26px !important;
  color: #ffffff !important;
  box-shadow: 0 14px 36px -10px rgba(15, 23, 42, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 1.75rem 2.25rem !important;
  margin-bottom: 1.75rem !important;
}

.app-hero-icon,
.social-hero-icon,
.cl-apps-hero-icon,
.avc-hero-icon,
.avp-hero-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35) !important;
}

/* Stat Buttons & KPI Tiles (Clear Gap, Single Row, Crisp Typography) */
.hero-stat-card,
.avc-hero-stat,
.avp-stat,
.app-hero-stat {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 18px !important;
  padding: 0.85rem 1.35rem !important;
  min-width: 105px !important;
  text-align: center !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  cursor: default;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.hero-stat-card:hover,
.avc-hero-stat:hover,
.avp-stat:hover,
.app-hero-stat:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.4) !important;
}

.hero-stat-val,
.avc-hero-stat-val,
.avp-stat-val,
.app-hero-stat-val {
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  letter-spacing: -0.5px !important;
  white-space: nowrap !important;
}

.hero-stat-lbl,
.avc-hero-stat-lbl,
.avp-stat-lbl,
.app-hero-stat-lbl {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  white-space: nowrap !important;
}

/* Category & Platform Engine Chips */
.avc-engine-chip,
.avp-stat-chip,
.app-hero-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 9999px !important;
  padding: 7px 16px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  user-select: none;
}

.avc-engine-chip:hover,
.avp-stat-chip:hover,
.app-hero-chip:hover {
  background: rgba(99, 102, 241, 0.25) !important;
  border-color: #818cf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

/* ==========================================================================
   Non-blocking Sleek Mini Toast Notification
   ========================================================================== */
@keyframes miniToastSlideIn {
  0% { opacity: 0; transform: translateY(16px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   UNIVERSAL ENTERPRISE MODAL & POPUP DIALOG SYSTEM (ALL SCREENS & POPUPS)
   ========================================================================== */
.modal {
  z-index: 1060 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
  background-color: #030712 !important;
  opacity: 0.70 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.modal-dialog {
  margin: 1.75rem auto;
  z-index: 1065 !important;
}

.modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.4), 0 0 1px 1px rgba(0, 0, 0, 0.05) !important;
  overflow: hidden !important;
  position: relative !important;
}

[data-theme="dark"] .modal-content {
  background: #111827 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.modal-header {
  padding: 1.35rem 1.75rem 1rem 1.75rem !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75) !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

[data-theme="dark"] .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #111827 !important;
}

.modal-header .modal-title {
  font-size: 1.12rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.3px !important;
  margin: 0 !important;
}

[data-theme="dark"] .modal-header .modal-title {
  color: #ffffff !important;
}

.modal-body {
  padding: 1.65rem 1.75rem !important;
  background: #ffffff !important;
  color: #1e293b !important;
}

[data-theme="dark"] .modal-body {
  background: #111827 !important;
  color: #e2e8f0 !important;
}

.modal-footer {
  padding: 1rem 1.75rem 1.4rem 1.75rem !important;
  border-top: 1px solid rgba(226, 232, 240, 0.75) !important;
  background: #f8fafc !important;
}

[data-theme="dark"] .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #0f172a !important;
}

/* Modal Form Controls inside Modals */
.modal-body .form-label {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  margin-bottom: 0.45rem !important;
  display: block !important;
}

[data-theme="dark"] .modal-body .form-label {
  color: #cbd5e1 !important;
}

.modal-body .form-control,
.modal-body .form-select {
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 12px !important;
  padding: 0.65rem 0.95rem !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
  background-color: #ffffff !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15) !important;
  color: #0f172a !important;
}



/* ==========================================================================
   EXPLICIT WHITE / LIGHT THEME ENGINE
   ========================================================================== */
[data-theme="light"], [data-bs-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-inner: #ffffff;
  --bg-sidebar: #ffffff;
  --text-sidebar: #475569;
  --text-sidebar-active: #4f46e5;
  --bg-sidebar-active: rgba(79, 70, 229, 0.08);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: rgba(226, 232, 240, 0.85);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 36px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -10px rgba(15, 23, 42, 0.08);
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] body {
  background-color: #f8fafc !important;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(236, 72, 153, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(59, 130, 246, 0.03) 0px, transparent 50%) !important;
  color: #0f172a !important;
}

[data-theme="light"] #wrapper,
[data-theme="light"] #content-wrapper {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] #sidebar {
  background: #ffffff !important;
  border-right-color: rgba(226, 232, 240, 0.85) !important;
}

[data-theme="light"] #sidebar .sidebar-brand {
  background: #ffffff !important;
  border-bottom-color: rgba(226, 232, 240, 0.85) !important;
}

[data-theme="light"] #sidebar .sidebar-brand-text {
  color: #0f172a !important;
}

[data-theme="light"] .sidebar-tab-card {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

[data-theme="light"] .sidebar-tab-card:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  color: #1e40af !important;
  border-color: #2563eb !important;
}

[data-theme="light"] .sidebar-tab-card.active {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}

[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: rgba(226, 232, 240, 0.85) !important;
}

[data-theme="light"] .card:not(.seo-pub-hero):not(.set-hero):not(.hero-banner):not(.lum-policy-banner),
[data-theme="light"] .panze-card,
[data-theme="light"] .sec-card,
[data-theme="light"] .bli-card,
[data-theme="light"] .bli-filter-card,
[data-theme="light"] .gmb-search-card,
[data-theme="light"] .table-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .table {
  color: #0f172a !important;
  --bs-table-color: #0f172a !important;
}

[data-theme="light"] .table thead th,
[data-theme="light"] .table-light th {
  background-color: #f8fafc !important;
  color: #64748b !important;
  border-bottom-color: #e2e8f0 !important;
}

[data-theme="light"] .table tbody td {
  border-bottom-color: #f1f5f9 !important;
  color: #334155 !important;
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .bg-white {
  background-color: #ffffff !important;
}

[data-theme="light"] .bg-light {
  background-color: #f8fafc !important;
}

[data-theme="light"] .text-dark {
  color: #0f172a !important;
}

[data-theme="light"] .text-muted {
  color: #64748b !important;
}

[data-theme="light"] .nav-pills .nav-link,
[data-theme="light"] .sec-nav-pills .nav-link,
[data-theme="light"] .bli-nav-pills .nav-link,
[data-theme="light"] .gmb-nav-pills .nav-link,
[data-theme="light"] .nav-tabs .nav-link {
  background: #ffffff !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .nav-pills .nav-link.active,
[data-theme="light"] .sec-nav-pills .nav-link.active,
[data-theme="light"] .bli-nav-pills .nav-link.active,
[data-theme="light"] .gmb-nav-pills .nav-link.active,
[data-theme="light"] .nav-tabs .nav-link.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(147, 51, 234, 0.12)) !important;
  color: #4f46e5 !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1) !important;
}


