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

:root {
  /* Typography */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Friendly Salary Official Brand Palette - Next-Level Luxury Fintech (Deep Emerald / Teal) */
  --primary: #0d9488;              /* Vibrant Brand Magenta */
  --primary-hover: #0f766e;        /* Darker Magenta Hover */
  --primary-active: #115e59;       /* Deep Magenta Active */
  --accent: #0d9488;               /* Royal Brand Violet */
  --accent-hover: #0f766e;         /* Rich Violet */
  --indigo-deep: #042f2e;          /* Deep Indigo Accent */
  --primary-foreground: #ffffff;

  /* Base & Canvas */
  --background: #f8faff;           /* Clean crisp light canvas */
  --foreground: #0f172a;           /* Ultra-legible dark slate */
  --card: #ffffff;
  --card-foreground: #0f172a;
  --popover: #ffffff;
  --popover-foreground: #0f172a;

  /* Secondary & Muted Tints */
  --secondary: #f0fdfa;            /* Soft Brand Lavender Tint */
  --secondary-foreground: #0f766e; /* Deep Lavender Text */
  --muted: #f1f5f9;
  --muted-foreground: #475569;
  --border: #e2e8f0;
  --input: #cbd5e1;
  --ring: #0d9488;

  /* Status Colors */
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --info: #0d9488;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #0d9488 0%, #047857 50%, #042f2e 100%);
  --gradient-cta: linear-gradient(135deg, #0d9488 0%, #047857 100%);
  --gradient-header: linear-gradient(135deg, #042f2e 0%, #064e3b 50%, #022c22 100%);
  --gradient-card-glow: radial-gradient(120% 90% at 85% 0%, rgba(13, 148, 136, 0.08) 0%, transparent 60%);

  /* Shadows */
  --shadow-brand: 0 6px 18px 0 rgba(13, 148, 136, 0.35);
  --shadow-lift: 0 20px 40px -15px rgba(4, 47, 46, 0.15);
}

/* Global Font & Theme Application */
html, body {
  font-family: var(--font-sans);
  background-color: var(--background) !important;
  color: var(--foreground) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

#root {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  min-height: 100vh !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  color: #0f172a;
}

/* ==============================================================================
   TEXT SELECTION VISIBILITY FIX (Global)
   Fixes issue where selecting text blends into background or disappears
   ============================================================================== */
*::selection,
::selection {
  background-color: #0d9488 !important;
  color: #ffffff !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

input::selection,
textarea::selection,
select::selection {
  background-color: #0d9488 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* ==============================================================================
   CONTRAST & READABILITY FIXES
   Prevents text from washing out on light surfaces, cards, and tables
   ============================================================================== */
.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-slate-200,
.bg-gray-50,
.bg-gray-100 {
  color: #0f172a;
}

/* Inputs & Form Controls legibility */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  color: #0f172a !important;
  background-color: #ffffff;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
}

input::placeholder, textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Tables Readability */
table {
  color: #0f172a !important;
}

/* Table headers: high-contrast dark default */
table thead, thead.bg-slate-900, thead {
  background-color: #042f2e !important;
  background-image: linear-gradient(135deg, #022c22 0%, #064e3b 100%) !important;
}

table thead tr, thead.bg-slate-900 tr {
  background-color: transparent !important;
  background: transparent !important;
}

thead th, th, table thead th, thead.bg-slate-900 th, tr.bg-slate-900 th {
  color: #ffffff !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
  border-bottom: 2px solid #0f766e !important;
}

/* Light thead fallback (if explicit bg-slate-50 or bg-gray-50) */
thead.bg-slate-50, thead.bg-slate-100, thead.bg-gray-50, thead.bg-gray-100 {
  background-color: #f1f5f9 !important;
  background-image: none !important;
}

thead.bg-slate-50 th, thead.bg-slate-100 th, thead.bg-gray-50 th, thead.bg-gray-100 th {
  color: #0f172a !important;
  font-weight: 800 !important;
  border-bottom: 2px solid #cbd5e1 !important;
  text-shadow: none !important;
}

tbody td,
td {
  color: #1e293b !important;
}

/* Subtext & Labels legibility boost */
.text-slate-400 {
  color: #64748b !important;
}

.text-slate-500 {
  color: #475569 !important;
}

.text-slate-600 {
  color: #334155 !important;
}

/* ==============================================================================
   BRAND THEME OVERRIDES (Friendly Salary Next-Level Deep Emerald & Teal)
   ============================================================================== */

/* Primary Buttons */
.bg-teal-500,
.bg-teal-600,
button.bg-teal-500,
button.bg-teal-600 {
  background: var(--gradient-cta) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: var(--shadow-brand) !important;
  transition: all 0.2s ease-in-out !important;
}

.bg-teal-500:hover,
.bg-teal-600:hover,
button.bg-teal-500:hover,
button.bg-teal-600:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px -4px rgba(13, 148, 136, 0.45) !important;
}

/* Active highlights & Text Colors */
.text-teal-400,
.text-teal-500,
.text-teal-600 {
  color: #0d9488 !important;
}

.border-teal-500,
.border-teal-400 {
  border-color: #0d9488 !important;
}

.focus\:border-teal-500:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
}

/* Header & Dark Elements */
.bg-slate-900 {
  background-color: #042f2e !important;
}

.bg-slate-950 {
  background-color: #022c22 !important;
}

.bg-slate-800 {
  background-color: #064e3b !important;
}

.border-slate-800,
.border-slate-700 {
  border-color: #0f766e !important;
}

/* Hold Badges (Amber / Gold) */
.badge-hold,
.badge-credit-hold,
.badge-sanction-hold {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid #fcd34d !important;
  font-weight: 700 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0d9488;
}

/* ==============================================================================
   HEADER LOGO & ICON SIZING STRICT CONSTRAINTS (Prevents natural 1024px blowup)
   ============================================================================== */
header img[src*="logo"],
img[src*="logo.png"],
img[alt*="Friendly Salary"], img[alt*="FriendlySalary"] {
  height: 20px !important;
  max-height: 20px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  display: block !important;
}

header img[src*="favicon"],
img[src*="favicon.png"] {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  display: block !important;
}

.h-6 { height: 1.5rem !important; max-height: 1.5rem !important; }
.w-8 { width: 2rem !important; max-width: 2rem !important; }
.h-8 { height: 2rem !important; max-height: 2rem !important; }


/* ==============================================================================
   ENHANCED HIGH-CONTRAST BUTTONS & NAVBAR STYLES
   ============================================================================== */
/* Table Review / Action Buttons */
table td button,
button.fl-review-btn {
  background: linear-gradient(135deg, #0d9488 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.4) !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

table td button:hover {
  filter: brightness(1.12) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.6) !important;
}

/* Navbar Tabs Sharp & High Contrast */
header nav button {
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

header nav button:hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

/* Make sure no floating dock covers the header */
#fl-presence-dock {
  display: none !important;
}

/* ==============================================================================
   HEADER SOLID DARK THEME ENFORCEMENT (Prevents transparent white header)
   ============================================================================== */
header {
  background-color: #042f2e !important;
  background-image: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #042f2e 100%) !important;
  border-bottom: 1px solid rgba(13, 148, 136, 0.35) !important;
}

header nav button {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

header nav button:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

/* ==============================================================================
   LOGOUT BUTTON HIGH-CONTRAST VISIBILITY (At rest and on hover)
   ============================================================================== */
button.fl-logout-btn,
button[title*="Logout of Credit Management"], button[title*="Logout of Sanction Management"] {
  background-color: rgba(225, 29, 72, 0.22) !important;
  border: 1px solid rgba(244, 63, 94, 0.5) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.2) !important;
  transition: all 0.2s ease-in-out !important;
}

button.fl-logout-btn:hover,
button[title*="Logout of Credit Management"], button[title*="Logout of Sanction Management"]:hover {
  background-color: #e11d48 !important;
  border-color: #f43f5e !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.5) !important;
  transform: translateY(-1px) !important;
}

button.fl-logout-btn span,
button.fl-logout-btn svg,
button[title*="Logout of Credit Management"], button[title*="Logout of Sanction Management"] span,
button[title*="Logout of Credit Management"], button[title*="Logout of Sanction Management"] svg {
  color: #ffffff !important;
}

/* ==============================================================================
   LEAD DETAIL HEADER - BORROWER NAME HIGH-CONTRAST VISIBILITY
   ============================================================================== */
.bg-slate-900 h2,
header h2,
div.bg-slate-900 h2 {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==============================================================================
   FCU TEAM HANDOFF CARD & BUTTON (Prevents horizontal overflow and button stretch)
   ============================================================================== */
.fcu-handoff-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.8) 0%, rgba(204, 251, 241, 0.5) 100%) !important;
  border: 2px solid #99f6e4 !important;
  border-radius: 1rem !important;
  padding: 1.5rem 2rem !important;
  box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.08) !important;
}

@media (max-width: 768px) {
  .fcu-handoff-container {
    flex-direction: column !important;
    text-align: center !important;
    padding: 1.25rem 1rem !important;
  }
}

.fcu-handoff-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  text-align: left !important;
}

@media (max-width: 768px) {
  .fcu-handoff-text {
    text-align: center !important;
  }
}

.fcu-btn-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-shrink: 0 !important;
  max-width: 320px !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .fcu-btn-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
}

.fcu-big-handoff-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  background-color: #0f766e !important;
  color: #ffffff !important;
  border: 2px solid #115e59 !important;
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.4) !important;
  max-width: 320px !important;
  min-width: 250px !important;
  width: 100% !important;
  padding: 0.85rem 1.75rem !important;
  border-radius: 1rem !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.025em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.fcu-big-handoff-btn:hover {
  background-color: #115e59 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px -5px rgba(13, 148, 136, 0.5) !important;
}

.fcu-big-handoff-btn:active {
  transform: scale(0.97) !important;
}


/* ==============================================================================
   COMPREHENSIVE ANTI-COLOR-BLEND & DESIGN SYSTEM OVERHAUL
   Ensures zero blending of white surfaces, crisp card boundaries,
   high-contrast inputs, distinct tabs, and solid vibrant buttons across all pages.
   ============================================================================== */

/* ==============================================================================
   COMPREHENSIVE ANTI-COLOR-BLEND & DESIGN SYSTEM OVERHAUL
   Ensures zero blending of white surfaces, crisp card boundaries,
   high-contrast inputs, distinct tabs, and solid vibrant buttons across all pages.
   ============================================================================== */
/* COMPREHENSIVE ANTI-COLOR-BLEND & DESIGN SYSTEM OVERHAUL */

/* 1. Universal Anti-Blend Card & Container Elevation */
.bg-white {
  background-color: #ffffff !important;
}

/* Card boundary enforcement on light canvas */
.rounded-xl,
.rounded-2xl,
.rounded-3xl {
  box-sizing: border-box;
}

/* Standalone content cards on canvas */
div.bg-white.rounded-xl,
div.bg-white.rounded-2xl,
div.bg-white.rounded-3xl,
section.bg-white {
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04) !important;
}

/* Nested sub-cards (e.g. inside forms and grids) */
.bg-slate-50,
.bg-gray-50 {
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
}

/* Subtle separator borders */
.border-slate-100,
.border-gray-100 {
  border-color: #e2e8f0 !important;
}

.border-slate-200,
.border-gray-200 {
  border-color: #cbd5e1 !important;
}

.border-slate-300 {
  border-color: #94a3b8 !important;
}

.border-slate-400 {
  border-color: #64748b !important;
}

/* 2. Missing Tailwind Slash-Opacity Utilities */
.border-slate-200\/80,
.border-slate-200\/90,
.border-slate-200\/70,
.border-slate-200\/60 {
  border-color: #cbd5e1 !important;
}

.border-emerald-500\/60,
.border-emerald-500\/40,
.border-emerald-400\/30 {
  border-color: #10b981 !important;
}

.border-amber-400\/30,
.border-amber-200\/70,
.border-amber-200\/60 {
  border-color: #f59e0b !important;
}

.border-rose-500\/40,
.border-rose-500\/30 {
  border-color: #f43f5e !important;
}

.border-purple-500\/30 {
  border-color: #a855f7 !important;
}

.border-indigo-400\/30,
.border-indigo-500\/30 {
  border-color: #6366f1 !important;
}

.border-rose-300 { border-color: #fda4af !important; }
.border-emerald-300 { border-color: #86efac !important; }
.border-amber-300 { border-color: #fcd34d !important; }
.border-pink-200 { border-color: #fbcfe8 !important; }
.border-blue-100\/90 { border-color: #bfdbfe !important; }
.border-emerald-100\/90 { border-color: #a7f3d0 !important; }
.border-rose-100\/90 { border-color: #fecdd3 !important; }
.border-purple-100\/90 { border-color: #ccfbf1 !important; }
.border-amber-100\/90 { border-color: #fde68a !important; }
.border-teal-100\/90, .border-teal-100\/80 { border-color: #99f6e4 !important; }
.border-indigo-100\/90 { border-color: #99f6e4 !important; }
.border-sky-400\/30, .border-sky-400\/40, .border-sky-300\/40, .border-sky-500\/50 { border-color: #38bdf8 !important; }
.border-white\/10, .border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.border-slate-800\/80 { border-color: #1e293b !important; }

.bg-slate-50\/80,
.bg-slate-50\/70,
.bg-slate-50\/60,
.bg-slate-50\/50 {
  background-color: #f8fafc !important;
}

.bg-slate-100\/60 { background-color: #f1f5f9 !important; }
.bg-slate-200\/70 { background-color: #e2e8f0 !important; }

.bg-emerald-50\/90,
.bg-emerald-50\/80,
.bg-emerald-50\/70,
.bg-emerald-50\/60,
.bg-emerald-50\/50,
.bg-emerald-50\/20 {
  background-color: #ecfdf5 !important;
}

.bg-emerald-100\/70, .bg-emerald-100\/80 { background-color: #d1fae5 !important; }
.bg-emerald-600\/25, .bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.15) !important; }

.bg-amber-50\/80,
.bg-amber-50\/70,
.bg-amber-50\/50 {
  background-color: #fffbeb !important;
}
.bg-amber-100\/80 { background-color: #fef3c7 !important; }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.15) !important; }

.bg-rose-50\/80,
.bg-rose-50\/70 {
  background-color: #fff1f2 !important;
}
.bg-rose-500\/20, .bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.12) !important; }

.bg-indigo-50\/70,
.bg-indigo-50\/60,
.bg-indigo-50\/50,
.bg-indigo-50\/40 {
  background-color: #eef2ff !important;
}
.bg-indigo-200\/60 { background-color: #99f6e4 !important; }
.bg-indigo-500\/10, .bg-indigo-500\/20 { background-color: rgba(99, 102, 241, 0.15) !important; }

.bg-blue-50\/70,
.bg-blue-50\/60 {
  background-color: #eff6ff !important;
}

.bg-purple-50\/70 { background-color: #faf5ff !important; }
.bg-purple-500\/20 { background-color: rgba(13, 148, 136, 0.15) !important; }
.bg-teal-50\/70, .bg-teal-50\/30, .bg-teal-50\/20 { background-color: #f0fdfa !important; }
.bg-sky-50\/50 { background-color: #f0f9ff !important; }
.bg-orange-50\/70 { background-color: #fff7ed !important; }

.bg-slate-900\/60, .bg-slate-900\/95 { background-color: #0f172a !important; }
.bg-slate-950\/60, .bg-slate-950\/70, .bg-slate-950\/80 { background-color: #020617 !important; }
.bg-sky-800\/60, .bg-sky-900\/50 { background-color: #075985 !important; }

/* 3. Top Accent Borders (CAM Summary Cards & Highlights) */
.border-t-4 {
  border-top-width: 4px !important;
  border-top-style: solid !important;
}

.border-t-2 {
  border-top-width: 2px !important;
  border-top-style: solid !important;
}

.border-t-blue-600 { border-top-color: #2563eb !important; }
.border-t-rose-500 { border-top-color: #f43f5e !important; }
.border-t-emerald-600 { border-top-color: #059669 !important; }
.border-t-purple-600 { border-top-color: #0d9488 !important; }
.border-t-amber-500 { border-top-color: #f59e0b !important; }
.border-t-indigo-600 { border-top-color: #4f46e5 !important; }

/* 4. Missing Background Classes */
.bg-indigo-700 { background-color: #0f766e !important; }
.hover\:bg-indigo-800:hover { background-color: #115e59 !important; }
.bg-indigo-600 { background-color: #4f46e5 !important; }
.hover\:bg-indigo-700:hover { background-color: #0f766e !important; }
.bg-indigo-500 { background-color: #6366f1 !important; }
.hover\:bg-indigo-600:hover { background-color: #4f46e5 !important; }
.bg-rose-400 { background-color: #fb7185 !important; }
.bg-emerald-600 { background-color: #059669 !important; }
.hover\:bg-emerald-700:hover { background-color: #047857 !important; }

/* 5. Typography & Font Size Utilities */
.text-\[10px\] { font-size: 10px !important; line-height: 14px !important; }
.text-\[11px\] { font-size: 11px !important; line-height: 16px !important; }
.text-\[10\.5px\] { font-size: 10.5px !important; line-height: 15px !important; }
.text-\[11\.5px\] { font-size: 11.5px !important; line-height: 16px !important; }
.text-\[9px\] { font-size: 9px !important; line-height: 12px !important; }
.text-\[8\.5px\] { font-size: 8.5px !important; line-height: 11px !important; }

.text-emerald-700\/80 { color: #047857 !important; }
.text-amber-800\/80 { color: #92400e !important; }
.text-indigo-700\/80 { color: #0f766e !important; }
.text-emerald-400\/80 { color: #10b981 !important; }
.text-sky-300\/70 { color: #7dd3fc !important; }
.text-orange-950 { color: #431407 !important; }
.text-orange-800\/80 { color: #9a3412 !important; }

/* 6. Form Inputs & Selects Crisp Contrast */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border: 1.5px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-radius: 0.625rem !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) inset !important;
  transition: all 0.15s ease-in-out !important;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2) !important;
  outline: none !important;
}

input[disabled],
input[readonly],
select[disabled] {
  background-color: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  cursor: not-allowed !important;
}

/* 7. TOP NAVIGATION SUBTABS (1 Application ... 10 CAM) */
.rounded-full.bg-slate-100 {
  background-color: #e2e8f0 !important;
  border: 1.5px solid #cbd5e1 !important;
  padding: 4px !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) inset !important;
}

.rounded-full.bg-slate-100 button {
  border: 1px solid transparent !important;
}

/* Inactive tabs */
.rounded-full.bg-slate-100 button:not(.bg-slate-900) {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
}

.rounded-full.bg-slate-100 button:not(.bg-slate-900):hover {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
}

/* Active tab */
.rounded-full.bg-slate-100 button.bg-slate-900 {
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%) !important;
  color: #ffffff !important;
  border: 1px solid #0f766e !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(4, 47, 46, 0.35) !important;
}

/* 8. DECISION TAB (Po) HIGH-CONTRAST SYSTEM */
/* Decision Option Cards: Approve */
.border-emerald-300.bg-emerald-50\/80,
.bg-emerald-50\/80 {
  background-color: #ecfdf5 !important;
  border: 2px solid #10b981 !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12) !important;
}

/* Decision Option Cards: Hold */
.border-amber-300.bg-amber-50\/80,
.bg-amber-50\/80 {
  background-color: #fffbeb !important;
  border: 2px solid #f59e0b !important;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12) !important;
}

/* Decision Option Cards: Reject */
.border-rose-300.bg-rose-50\/80,
.bg-rose-50\/80 {
  background-color: #fff1f2 !important;
  border: 2px solid #f43f5e !important;
  box-shadow: 0 2px 6px rgba(244, 63, 94, 0.12) !important;
}

/* Proceed to CAM & Save Decision Buttons */
.fl-proceed-cam-btn,
button.fl-proceed-cam-btn,
form button[type="submit"] {
  background: linear-gradient(135deg, #4f46e5 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1.5px solid #0f766e !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 1.75rem !important;
  box-shadow: 0 4px 14px -2px rgba(13, 148, 136, 0.4) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: all 0.2s ease-in-out !important;
}

.fl-proceed-cam-btn:hover,
button.fl-proceed-cam-btn:hover,
form button[type="submit"]:hover {
  background: linear-gradient(135deg, #0f766e 0%, #0f766e 100%) !important;
  box-shadow: 0 6px 18px -2px rgba(13, 148, 136, 0.55) !important;
  transform: translateY(-1px) !important;
  filter: brightness(1.06) !important;
}

.fl-proceed-cam-btn:active,
button.fl-proceed-cam-btn:active,
form button[type="submit"]:active {
  transform: scale(0.98) !important;
}

/* Decision Unlock / Edit Banner */
.bg-slate-900.border-slate-800 {
  background: linear-gradient(135deg, #042f2e 0%, #042f2e 50%, #022c22 100%) !important;
  border: 1.5px solid #0f766e !important;
  box-shadow: 0 4px 16px rgba(4, 47, 46, 0.25) !important;
}

/* 9. CAM SUMMARY CARDS (Top of CAM Tab) */
.border-t-4.shadow-xs,
.border-t-4.rounded-2xl {
  background-color: #ffffff !important;
  border-left: 1.5px solid #cbd5e1 !important;
  border-right: 1.5px solid #cbd5e1 !important;
  border-bottom: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.15s ease-in-out !important;
}

.border-t-4.shadow-xs:hover,
.border-t-4.rounded-2xl:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.12) !important;
}

/* 10. Table Lists & Data Views */
table {
  background-color: #ffffff !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

table thead tr {
  background-color: transparent !important;
  border-bottom: 2px solid #0f766e !important;
}

table tbody tr {
  border-bottom: 1px solid #e2e8f0 !important;
  transition: background-color 0.15s ease !important;
}

table tbody tr:hover {
  background-color: #f1f5f9 !important;
}

/* Status Badges high-contrast borders */
span.rounded-full {
  font-weight: 700 !important;
  letter-spacing: 0.015em !important;
}

/* Premium Reloan Badge Enhancements */
.reloan-badge,
span[class*="from-amber-500"][class*="to-orange-500"],
span[class*="from-amber-500"][class*="to-amber-600"] {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  padding: 2px 7px !important;
  font-size: 9.5px !important;
  line-height: 1.2 !important;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.45) !important;
}

/* ==============================================================================
   RESPONSIVE LAYOUT & ZERO-OVERFLOW SYSTEM
   Fixes horizontal scroll, header squeeze, stat-card truncation, and chart overflow
   ============================================================================== */

/* 1. Main Content Container Responsiveness */
main,
main.max-w-\[1440px\] {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

@media (max-width: 768px) {
  main,
  main.max-w-\[1440px\] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 1rem !important;
  }
}

/* 2. Header Container & Navbar Responsiveness */
header {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

header > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Header Navbar: Smooth horizontal scroll without stretching the page */
header nav {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  gap: 0.4rem !important;
  padding: 0.25rem 0.5rem !important;
  margin: 0 0.5rem !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  -webkit-overflow-scrolling: touch !important;
}

header nav::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

header nav button {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  transition: all 0.15s ease-in-out !important;
}

@media (max-width: 1536px) {
  header nav button {
    padding: 0.35rem 0.65rem !important;
    font-size: 11.5px !important;
    gap: 0.35rem !important;
  }
}

@media (max-width: 1280px) {
  header nav button {
    padding: 0.3rem 0.55rem !important;
    font-size: 11px !important;
    gap: 0.3rem !important;
  }
}

header > div > div:last-child {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* 3. Adaptive Responsive Stat Cards Grid */
/* Replaces cramped 9-column single row with breathing, unclipped cards */
.grid.xl\:grid-cols-9,
div[class*="xl:grid-cols-9"] {
  display: grid !important;
  gap: 0.75rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Screen sizes: Ultra-wide (>= 1720px): 9 columns */
@media (min-width: 1720px) {
  .grid.xl\:grid-cols-9,
  div[class*="xl:grid-cols-9"] {
    grid-template-columns: repeat(9, 1fr) !important;
  }
}

/* Standard Laptops & Desktops (1200px - 1719px): 5 columns on top, 4 on bottom */
@media (max-width: 1719px) and (min-width: 1200px) {
  .grid.xl\:grid-cols-9,
  div[class*="xl:grid-cols-9"] {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* Small Laptops & Landscape Tablets (840px - 1199px): 3 columns (3x3 grid) */
@media (max-width: 1199px) and (min-width: 840px) {
  .grid.xl\:grid-cols-9,
  div[class*="xl:grid-cols-9"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Portrait Tablets & Large Phones (540px - 839px): 2 columns */
@media (max-width: 839px) and (min-width: 540px) {
  .grid.xl\:grid-cols-9,
  div[class*="xl:grid-cols-9"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile Phones (< 540px): 1 column (or 2 columns compact) */
@media (max-width: 539px) {
  .grid.xl\:grid-cols-9,
  div[class*="xl:grid-cols-9"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
}

/* Stat Card Internal Text Formatting - Prevent Ellipsis Truncation */
div[class*="xl:grid-cols-9"] > div {
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 0.85rem !important;
}

div[class*="xl:grid-cols-9"] > div span.text-\[10px\] {
  font-size: 10.5px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.025em !important;
  white-space: normal !important;
  -webkit-line-clamp: 2 !important;
  overflow: visible !important;
}

div[class*="xl:grid-cols-9"] > div .text-xl {
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
  font-weight: 900 !important;
}

/* 4. Charts Container Responsiveness */
.grid.lg\:grid-cols-2,
div[class*="lg:grid-cols-2"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

div[class*="lg:grid-cols-2"] > div {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.recharts-responsive-container,
.recharts-wrapper {
  max-width: 100% !important;
  min-width: 0 !important;
}

/* 5. Dashboard Action Bar & Search Responsiveness */
main > div:first-child {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

main .relative.min-w-\[240px\],
main div[class*="min-w-[240px]"] {
  min-width: 180px !important;
  max-width: 100% !important;
  flex: 1 1 200px !important;
}

/* 6. Table and List Views Overflow Protection */
.overflow-x-auto {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  box-sizing: border-box !important;
}

.overflow-x-auto table {
  min-width: 750px !important;
}




/* ==============================================================================
   UNIVERSAL HIGH-CONTRAST TEXT & ZERO-BLEND COLOR ARCHITECTURE
   Eliminates all text-background blending across all components, cards, tables,
   headers, modals, badges, inputs, and footers.
   ============================================================================== */

/* ── 1. DARK CONTAINERS & HEADERS (Forest Teal & Dark Slate) ── */
.bg-slate-900,
.bg-slate-950,
.bg-slate-800,
.bg-\[\#042f2e\],
.bg-\[\#022c22\],
.bg-\[\#064e3b\],
[class*="from-slate-900"],
[class*="bg-slate-9"],
[class*="bg-slate-8"],
header,
footer.bg-slate-950 {
  color: #f8fafc !important;
}

/* Headings in dark containers */
.bg-slate-900 h1, .bg-slate-900 h2, .bg-slate-900 h3, .bg-slate-900 h4, .bg-slate-900 h5,
.bg-slate-950 h1, .bg-slate-950 h2, .bg-slate-950 h3, .bg-slate-950 h4, .bg-slate-950 h5,
.bg-slate-800 h1, .bg-slate-800 h2, .bg-slate-800 h3, .bg-slate-800 h4, .bg-slate-800 h5,
header h1, header h2, header h3, header h4, header h5,
div[class*="bg-slate-9"] h1, div[class*="bg-slate-9"] h2, div[class*="bg-slate-9"] h3 {
  color: #ffffff !important;
}

/* Subtext & secondary labels inside dark containers: strictly luminous light tones */
.bg-slate-900 .text-slate-400,
.bg-slate-950 .text-slate-400,
.bg-slate-800 .text-slate-400,
header .text-slate-400,
footer .text-slate-400,
[class*="bg-slate-9"] .text-slate-400,
[class*="bg-slate-8"] .text-slate-400,
[class*="from-slate-900"] .text-slate-400 {
  color: #94a3b8 !important; /* Luminous silver-slate: 8.5:1 contrast */
}

.bg-slate-900 .text-slate-500,
.bg-slate-950 .text-slate-500,
.bg-slate-800 .text-slate-500,
header .text-slate-500,
footer .text-slate-500,
[class*="bg-slate-9"] .text-slate-500,
[class*="bg-slate-8"] .text-slate-500,
[class*="from-slate-900"] .text-slate-500 {
  color: #cbd5e1 !important; /* High-contrast readable light slate: 10:1 contrast */
}

.bg-slate-900 .text-slate-600,
.bg-slate-950 .text-slate-600,
.bg-slate-800 .text-slate-600,
header .text-slate-600,
footer .text-slate-600,
[class*="bg-slate-9"] .text-slate-600,
[class*="bg-slate-8"] .text-slate-600 {
  color: #e2e8f0 !important;
}

.bg-slate-900 .text-slate-700,
.bg-slate-950 .text-slate-700,
.bg-slate-800 .text-slate-700,
header .text-slate-700 {
  color: #f1f5f9 !important;
}

.bg-slate-900 .text-slate-800,
.bg-slate-950 .text-slate-800,
.bg-slate-800 .text-slate-800 {
  color: #ffffff !important;
}

.bg-slate-900 .text-slate-300,
.bg-slate-950 .text-slate-300,
.bg-slate-800 .text-slate-300,
header .text-slate-300 {
  color: #e2e8f0 !important;
}

/* Card 1 in Dashboard 9-Stat Card Grid: "Total Applications" */
div[class*="from-slate-900"] span,
div[class*="from-slate-900"] .text-slate-500,
div[class*="from-slate-900"] span.text-slate-500 {
  color: #99f6e4 !important; /* Vibrant mint: 10.5:1 contrast */
  font-weight: 800 !important;
}
div[class*="from-slate-900"] .text-xl,
div[class*="from-slate-900"] div.text-white {
  color: #ffffff !important;
  font-weight: 900 !important;
}
div[class*="from-slate-900"] .text-slate-300,
div[class*="from-slate-900"] div[class*="text-slate"] {
  color: #cbd5e1 !important; /* Luminous silver: 9.0:1 contrast */
}

/* Top Lead Detail Banner (jK) Breadcrumbs & Details */
.bg-slate-900 a,
.bg-slate-900 button.cursor-pointer,
.bg-slate-900 .text-xs.text-slate-400 {
  color: #cbd5e1 !important;
}
.bg-slate-900 .text-xs.text-slate-400 button:hover,
.bg-slate-900 a:hover {
  color: #ffffff !important;
}
.bg-slate-900 span.text-\[\#f0fdfa\],
.bg-slate-900 span[class*="text-[#f0fdfa]"] {
  color: #99f6e4 !important; /* Crisp luminous mint */
  font-weight: 700 !important;
}

/* ── 2. LIGHT CONTAINERS & CARDS (White, Slate-50, Gray-50) ── */
.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-gray-50,
.bg-gray-100 {
  color: #0f172a;
}

/* Pale labels on white/light surfaces: Boost to solid readable slate-500 */
.bg-white .text-gray-400,
.bg-white .text-slate-400,
.bg-slate-50 .text-gray-400,
.bg-slate-50 .text-slate-400,
.bg-gray-50 .text-gray-400,
.bg-gray-50 .text-slate-400,
section.bg-white .text-gray-400,
section.bg-white .text-slate-400,
div.bg-white .text-gray-400,
div.bg-white .text-slate-400 {
  color: #64748b !important; /* Solid readable slate-500: 5.5:1 contrast */
}

.bg-white .text-gray-300,
.bg-white .text-slate-300,
.bg-slate-50 .text-gray-300,
.bg-slate-50 .text-slate-300 {
  color: #475569 !important; /* Solid readable slate-600: 7.2:1 contrast */
}

/* Customer Snapshot & Case Progress labels */
.bg-white h3.text-gray-500,
.bg-white h3.text-slate-500,
.bg-white .text-gray-500,
.bg-white .text-slate-500,
.bg-slate-50 h3.text-gray-500,
.bg-slate-50 h3.text-slate-500 {
  color: #334155 !important; /* Ultra-crisp slate-700: 9.5:1 contrast */
  font-weight: 800 !important;
}

/* ── 3. TEAL & MINT ZERO-BLEND ARCHITECTURE (AAA Contrast) ── */
.bg-teal-50,
.bg-emerald-50,
.bg-\[\#f0fdfa\],
.bg-\[\#ccfbf1\],
.bg-\[\#e6fffa\],
[class*="bg-teal-50"],
[class*="bg-[#f0fdfa]"],
[class*="bg-[#ccfbf1]"] {
  color: #042f2e;
}

/* Teal text on light mint surfaces: MUST be Deep Forest Teal (not washed out light teal) */
.bg-teal-50 .text-teal-600,
.bg-teal-50 .text-teal-700,
.bg-teal-50 .text-teal-800,
.bg-teal-50 .text-\[\#0d9488\],
.bg-teal-100 .text-teal-600,
.bg-teal-100 .text-teal-700,
.bg-teal-100 .text-teal-800,
.bg-teal-100 .text-\[\#0d9488\],
.bg-\[\#f0fdfa\] .text-teal-600,
.bg-\[\#f0fdfa\] .text-teal-700,
.bg-\[\#f0fdfa\] .text-teal-800,
.bg-\[\#f0fdfa\] .text-\[\#0d9488\],
[class*="bg-teal-50"] [class*="text-teal"],
[class*="bg-[#f0fdfa]"] [class*="text-teal"],
[class*="bg-[#f0fdfa]"] .text-\[\#0d9488\],
[class*="bg-[#ccfbf1]"] .text-\[\#0d9488\] {
  color: #0f766e !important; /* Deep Rich Teal: 7.5:1 contrast */
  font-weight: 800 !important;
}

/* ── 4. STATUS PILLS & BADGES HIGH-CONTRAST PALETTE ── */
/* Sanction Pending / Sent to Sanction: Deep forest teal text on crisp mint background */
span[class*="text-[#0d9488]"][class*="bg-[#f0fdfa]"],
span[class*="text-teal"][class*="bg-teal"],
.badge-sent-to-sanction,
.badge-sanction-pending {
  background-color: #ccfbf1 !important;
  color: #0f766e !important;
  border: 1.5px solid #2dd4bf !important;
  font-weight: 800 !important;
}

/* Approved & Active: Deep forest green on clean emerald tint */
.bg-emerald-50.text-emerald-800,
.bg-emerald-50.text-emerald-700,
span[class*="bg-emerald-50"][class*="text-emerald"],
span[class*="bg-emerald-100"][class*="text-emerald"] {
  background-color: #d1fae5 !important;
  color: #065f46 !important;
  border: 1.5px solid #34d399 !important;
  font-weight: 800 !important;
}

/* Hold & Sanction Hold: Deep walnut amber on warm gold tint */
.bg-amber-50.text-amber-800,
.bg-amber-100.text-amber-900,
.badge-hold,
.badge-sanction-hold,
.badge-credit-hold {
  background-color: #fef3c7 !important;
  color: #92400e !important;
  border: 1.5px solid #f59e0b !important;
  font-weight: 800 !important;
}

/* Rejected: Deep crimson on soft rose tint */
.bg-rose-50.text-rose-800,
.bg-rose-50.text-rose-700,
span[class*="bg-rose-50"][class*="text-rose"],
span[class*="bg-rose-100"][class*="text-rose"] {
  background-color: #ffe4e6 !important;
  color: #9f1239 !important;
  border: 1.5px solid #f43f5e !important;
  font-weight: 800 !important;
}

/* Disbursed: Deep navy-blue on crisp ice blue tint */
.bg-blue-50.text-blue-800,
.bg-blue-50.text-blue-700,
span[class*="bg-blue-50"][class*="text-blue"],
span[class*="bg-blue-100"][class*="text-blue"] {
  background-color: #dbeafe !important;
  color: #1e40af !important;
  border: 1.5px solid #60a5fa !important;
  font-weight: 800 !important;
}

/* Closed / Settled: Solid charcoal on clean neutral slate */
.bg-slate-100.text-slate-800,
.bg-slate-100.text-slate-700,
span[class*="bg-slate-100"][class*="text-slate"] {
  background-color: #e2e8f0 !important;
  color: #1e293b !important;
  border: 1.5px solid #94a3b8 !important;
  font-weight: 800 !important;
}

/* ── 5. NAVIGATION SUBTABS (Lead Detail: 1 Application ... 12 eNACH) ── */
/* Inactive tab button */
.rounded-full.bg-slate-100 button:not(.bg-slate-900),
nav button:not(.bg-slate-900) {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  font-weight: 700 !important;
}

.rounded-full.bg-slate-100 button:not(.bg-slate-900):hover,
nav button:not(.bg-slate-900):hover {
  background-color: #f0fdfa !important;
  border-color: #0d9488 !important;
  color: #0f766e !important;
}

/* Inactive subtab step badge (e.g. "1", "2") */
.rounded-full.bg-slate-100 button:not(.bg-slate-900) span.bg-slate-200,
button:not(.bg-slate-900) span.bg-slate-200 {
  background-color: #e2e8f0 !important;
  color: #334155 !important;
  font-weight: 800 !important;
}

/* Active subtab button */
.rounded-full.bg-slate-100 button.bg-slate-900,
button.bg-slate-900.rounded-full {
  background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%) !important;
  color: #ffffff !important;
  border: 1.5px solid #0d9488 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(4, 47, 46, 0.35) !important;
}

/* Active subtab all children: 100% pure white */
.rounded-full.bg-slate-100 button.bg-slate-900 *,
button.bg-slate-900.rounded-full * {
  color: #ffffff !important;
}

.rounded-full.bg-slate-100 button.bg-slate-900 span.bg-white\/20,
button.bg-slate-900 span.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

/* ── 6. PRIMARY BUTTONS & CTAs: ALL CHILDREN MUST BE PURE WHITE ── */
button.bg-teal-600,
button.bg-teal-500,
button[class*="bg-teal-600"],
button[class*="bg-teal-500"],
button[class*="from-teal-600"],
.bg-teal-600,
.bg-teal-500 {
  color: #ffffff !important;
}

button.bg-teal-600 *,
button.bg-teal-500 *,
button[class*="bg-teal-600"] *,
button[class*="bg-teal-500"] *,
button[class*="from-teal-600"] * {
  color: #ffffff !important;
}

/* ── 7. FORM INPUTS & LABELS ── */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 600 !important;
}

input::placeholder,
textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

label {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* ── 8. FOOTER HIGH CONTRAST ── */
footer,
footer.bg-slate-950,
[class*="bg-slate-950"] footer {
  background-color: #022c22 !important;
  border-top: 1px solid rgba(13, 148, 136, 0.3) !important;
  color: #94a3b8 !important;
}

footer div,
footer span,
footer p {
  color: #94a3b8 !important;
}

footer a {
  color: #2dd4bf !important;
}
footer a:hover {
  color: #ffffff !important;
}
