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

/* ========================================================
   HABIB IFIX .TECH - PREMIUM WHITE GLASSMORPHISM DESIGN SYSTEM
   Single Light Theme Architecture with Scenic Backdrop
   ======================================================== */

:root {
  color-scheme: light;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.82);
  --text-primary: #171717;
  --text-secondary: #555555;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.75);
  --input-bg: rgba(255, 255, 255, 0.95);
  --input-text: #171717;

  --accent-cyan: #0284c7;
  --accent-indigo: #4338ca;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-yellow: #eab308;
  --accent-purple: #7c3aed;
  --accent-red: #dc2626;
}

/* ========================================================
   GLOBAL BASE & SCENIC GLASSMORPHISM BACKDROP
   ======================================================== */
html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f8fafc;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(241, 245, 249, 0.92) 100%), url('/assets/scenic_glass_bg.jpg') center/cover no-repeat fixed;
  color: #171717;
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

/* ========================================================
   TYPOGRAPHY & READABLE CONTRAST COLOR SYSTEM
   ======================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #171717 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

p:not(#topPromoBanner *):not(.banner-text):not(button[class*="bg-"] *):not(a[class*="bg-"] *) {
  color: #555555 !important;
  line-height: 1.65;
}

label,
dt,
summary,
strong:not(#topPromoBanner *):not(button[class*="bg-"] *):not(a[class*="bg-"] *),
b:not(#topPromoBanner *):not(button[class*="bg-"] *):not(a[class*="bg-"] *) {
  color: #171717 !important;
}

/* Dark color utility overrides for high contrast light mode */
.text-slate-900,
.text-slate-800,
.text-gray-900,
.text-gray-800,
.text-zinc-900,
.dark\:text-white,
.dark\:text-slate-100,
.dark\:text-slate-200 {
  color: #171717 !important;
}

.text-slate-700,
.text-slate-600,
.text-gray-700,
.text-gray-600,
.dark\:text-slate-300,
.dark\:text-slate-400 {
  color: #555555 !important;
}

.text-slate-500,
.text-gray-500 {
  color: #64748b !important;
  font-weight: 500;
}

/* High Visibility Accent Overrides */
.text-red-600,
.text-red-500,
.text-rose-600,
.text-rose-500 {
  color: #dc2626 !important;
}

.text-amber-500,
.text-amber-600,
.text-yellow-500,
.text-yellow-600 {
  color: #d97706 !important;
}

.text-cyan-600,
.text-cyan-500,
.dark\:text-cyan-400 {
  color: #0284c7 !important;
}

/* Links (not solid buttons) */
a:not([class*="bg-indigo"]):not([class*="bg-cyan"]):not([class*="bg-emerald"]):not([class*="bg-purple"]):not([class*="bg-blue"]):not([class*="bg-red"]):not([class*="bg-amber"]):not([class*="bg-slate-900"]):not([class*="bg-black"]):not([class*="bg-gradient-to"]):not(.btn-colored):not(#topPromoBanner *) {
  color: #171717;
}

/* ========================================================
   BUTTONS & SOLID BADGES (WHITE TEXT ON COLORED BUTTONS)
   ======================================================== */
button[class*="bg-indigo"],
button[class*="bg-cyan"],
button[class*="bg-emerald"],
button[class*="bg-purple"],
button[class*="bg-blue"],
button[class*="bg-red"],
button[class*="bg-amber"],
button[class*="bg-slate-900"],
button[class*="bg-black"],
button[class*="bg-gradient-to"],
a[class*="bg-indigo"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-cyan"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-emerald"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-purple"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-blue"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-red"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-amber"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-slate-900"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-black"]:not(.sidebar-link):not(#sidebarUserPopup a),
a[class*="bg-gradient-to"]:not(.sidebar-link):not(#sidebarUserPopup a),
.btn-primary,
.btn-colored,
.badge-colored,
.top-promo-banner,
#topPromoBanner {
  color: #ffffff !important;
}

button[class*="bg-indigo"] *,
button[class*="bg-cyan"] *,
button[class*="bg-emerald"] *,
button[class*="bg-purple"] *,
button[class*="bg-blue"] *,
button[class*="bg-red"] *,
button[class*="bg-amber"] *,
button[class*="bg-slate-900"] *,
button[class*="bg-black"] *,
button[class*="bg-gradient-to"] *,
a[class*="bg-indigo"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-cyan"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-emerald"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-purple"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-blue"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-red"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-amber"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-slate-900"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-black"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
a[class*="bg-gradient-to"]:not(.sidebar-link):not(#sidebarUserPopup a) *,
.btn-primary *,
.btn-colored *,
.top-promo-banner *,
#topPromoBanner * {
  color: #ffffff !important;
}

/* Secondary Frosted Glass Buttons */
button[class*="bg-white\/"],
a[class*="bg-white\/"]:not([class*="bg-gradient"]),
button.bg-white\/5,
button.bg-white\/10,
button.bg-white\/20,
a.bg-white\/5,
a.bg-white\/10,
a.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  color: #171717 !important;
}

button[class*="bg-white\/"]:hover,
a[class*="bg-white\/"]:hover {
  background-color: #ffffff !important;
  color: #171717 !important;
}

/* ========================================================
   REQUIREMENT 1: WHITE GLASS UI FOR ALL BOXES & CARDS
   ======================================================== */
.glass-card,
.glass-3d,
.glass-panel,
.card,
.white-glass-box,
details.group,
.bg-slate-900:not(button):not(a):not(input):not(textarea),
.bg-slate-950:not(button):not(a):not(input):not(textarea),
.bg-slate-800:not(button):not(a):not(input):not(textarea),
.bg-\[\#111827\]:not(button):not(a):not(input):not(textarea),
.bg-\[\#0B0F19\]:not(button):not(a):not(input):not(textarea),
.dark\:bg-slate-900:not(button):not(a):not(input):not(textarea),
.dark\:bg-slate-950:not(button):not(a):not(input):not(textarea),
.dark\:bg-[#111827]:not(button):not(a):not(input):not(textarea),
.dark\:bg-[#0B0F19]:not(button):not(a):not(input):not(textarea) {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
  border-radius: 18px !important;
  color: #171717 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover,
.glass-3d:hover,
.white-glass-box:hover {
  background: rgba(255, 255, 255, 0.94) !important;
  transform: translateY(-2px);
  border-color: rgba(2, 132, 199, 0.4) !important;
  box-shadow: 0 16px 35px -5px rgba(2, 132, 199, 0.12), 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

/* ========================================================
   FORM CONTROLS & INPUTS
   ======================================================== */
input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #171717 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.75rem !important;
  font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

/* ========================================================
   TABLES, MODALS & DROPDOWNS
   ======================================================== */
table {
  background-color: rgba(255, 255, 255, 0.92);
  color: #171717;
}

thead th {
  background-color: rgba(241, 245, 249, 0.95) !important;
  color: #171717 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

tbody td {
  color: #555555 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

tbody tr:hover {
  background-color: rgba(248, 250, 252, 0.95) !important;
}

#userDropdownPanel,
#sidebarUserPopup,
.dropdown-menu,
.modal-content,
[id$="Modal"] > div:not([class*="bg-slate-950/"]):not([class*="bg-black/"]):not(.fixed) {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  color: #171717 !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12) !important;
  border-radius: 1.25rem !important;
}

[id$="Modal"].fixed {
  background-color: rgba(15, 23, 42, 0.42) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
}

#sidebarBackdrop {
  background-color: rgba(15, 23, 42, 0.22) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

/* ========================================================
   GLOBAL REUSABLE HEADER, BRAND & GLASS ICON CONTAINERS
   ======================================================== */
.glass-nav,
.global-header {
  background-color: rgba(255, 255, 255, 0.90) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88) !important;
  box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06) !important;
}

.global-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.global-brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.global-brand-text {
  color: #0f172a !important;
  font-size: 0.9375rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-block;
}

@media (min-width: 640px) {
  .global-brand-text {
    font-size: 1.0625rem;
  }
}

.global-glass-icon-btn {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(224, 242, 254, 0.90) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.38);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 0;
}

@media (min-width: 640px) {
  .global-glass-icon-btn {
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 0.85rem;
  }
}

.global-glass-icon-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(186, 230, 253, 0.95) 100%);
  border-color: rgba(2, 132, 199, 0.65);
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.18), inset 0 1px 0 #ffffff;
  transform: translateY(-1px);
}

.global-glass-icon-btn:active {
  transform: scale(0.96);
}

.global-glass-icon-btn img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 0.25rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .global-glass-icon-btn img {
    width: 1.45rem;
    height: 1.45rem;
  }
}

/* Premium Blue Glassmorphism Login Icon for Sidebar Account Card */
.blue-glass-login-icon {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.8125rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.20) 0%, rgba(14, 165, 233, 0.28) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.52);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.20), inset 0 1px 1px rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.blue-glass-login-icon img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 0.25rem;
  pointer-events: none;
}

.sidebar-user-card:hover .blue-glass-login-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(2, 132, 199, 0.36) 100%);
  border-color: rgba(14, 165, 233, 0.8);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  transform: translateY(-1px) scale(1.03);
}

/* ========================================================
   NAVIGATION & CHATGPT-STYLE COLLAPSIBLE SIDEBAR
   ======================================================== */
#sidebar,
.sidebar-luxury {
  background-color: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(22px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%) !important;
  border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
  color: #171717 !important;
  box-shadow: 4px 0 28px rgba(15, 23, 42, 0.06);
}

#sidebar .sidebar-user-card-surface {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 249, 255, 0.85)) !important;
  border: 1px solid rgba(186, 230, 253, 0.75) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.06) !important;
}

#sidebar .sidebar-user-card-surface:hover {
  border-color: rgba(2, 132, 199, 0.45) !important;
  background: linear-gradient(135deg, #ffffff, rgba(224, 242, 254, 0.9)) !important;
}

#sidebar .sidebar-user-name {
  color: #0f172a !important;
  font-weight: 800 !important;
}

#sidebar .sidebar-user-email {
  color: #0284c7 !important;
}

#sidebar .sidebar-link {
  color: #334155 !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

#sidebar .sidebar-link:hover {
  background-color: rgba(241, 245, 249, 0.95) !important;
  color: #0f172a !important;
}

#sidebar .sidebar-link i {
  color: #64748b !important;
}

#sidebar .sidebar-link:hover i {
  color: #0284c7 !important;
}

#sidebar .sidebar-divider {
  border-color: rgba(226, 232, 240, 0.88) !important;
}

.sidebar-active-page,
#sidebar .sidebar-link.sidebar-active-page {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(219, 234, 254, 0.88)) !important;
  border: 1px solid rgba(56, 189, 248, 0.42) !important;
  border-left: 3px solid #0284c7 !important;
  color: #0369a1 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.sidebar-active-page i,
#sidebar .sidebar-link.sidebar-active-page i {
  color: #0284c7 !important;
}

#sidebar #sidebarAdminLink,
#sidebar #sidebarAdminLink span {
  color: #b45309 !important;
  font-weight: 800 !important;
}

#sidebar #sidebarAdminLink i {
  color: #d97706 !important;
}

#sidebar #sidebarAdminLink:hover {
  background-color: #fffbeb !important;
}

#sidebar #sidebarAdminLink:hover,
#sidebar #sidebarAdminLink:hover * {
  color: #92400e !important;
}

#sidebar #sidebarAdminLink.sidebar-active-page,
#sidebar #sidebarAdminLink.sidebar-active-page *,
#sidebar #sidebarSimManagementLink.sidebar-active-page,
#sidebar #sidebarSimManagementLink.sidebar-active-page * {
  color: #92400e !important;
}

#sidebar #sidebarSimManagementLink,
#sidebar #sidebarSimManagementLink span {
  color: #b45309 !important;
  font-weight: 700 !important;
}

#sidebar #sidebarSimManagementLink i {
  color: #d97706 !important;
}

#sidebar #sidebarSimManagementLink:hover {
  background-color: #fffbeb !important;
}

#sidebar #sidebarSimManagementLink:hover,
#sidebar #sidebarSimManagementLink:hover * {
  color: #92400e !important;
}

/* ========================================================
   RESPONSIVE COLLAPSIBLE ENGINE (DESKTOP)
   ======================================================== */
#mainContent {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
}

#mainContent > main,
#mainContent > section,
#mainContent > footer {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

main section,
.grid > *,
.swiper,
.swiper-wrapper {
  min-width: 0;
  max-width: 100%;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: tickerScroll 26s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@media (min-width: 1024px) {
  #mainContent {
    width: auto;
  }

  html.sidebar-collapsed-mode #sidebar,
  body.sidebar-collapsed-mode #sidebar {
    width: 72px !important;
  }

  html.sidebar-collapsed-mode #mainContent,
  body.sidebar-collapsed-mode #mainContent {
    margin-left: 72px !important;
  }

  html.sidebar-collapsed-mode .sidebar-label,
  html.sidebar-collapsed-mode .sidebar-brand-text,
  html.sidebar-collapsed-mode .sidebar-user-info,
  html.sidebar-collapsed-mode .sidebar-user-chevron,
  html.sidebar-collapsed-mode .sidebar-footer-note,
  body.sidebar-collapsed-mode .sidebar-label,
  body.sidebar-collapsed-mode .sidebar-brand-text,
  body.sidebar-collapsed-mode .sidebar-user-info,
  body.sidebar-collapsed-mode .sidebar-user-chevron,
  body.sidebar-collapsed-mode .sidebar-footer-note {
    display: none !important;
  }

  html.sidebar-collapsed-mode .sidebar-link,
  body.sidebar-collapsed-mode .sidebar-link {
    justify-content: center !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  html.sidebar-collapsed-mode .sidebar-user-card,
  body.sidebar-collapsed-mode .sidebar-user-card {
    justify-content: center !important;
    padding: 0.35rem !important;
  }

  html.sidebar-collapsed-mode .sidebar-link {
    position: relative;
  }

  html.sidebar-collapsed-mode .sidebar-link:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    margin-left: 12px;
    background-color: #0f172a;
    color: #ffffff;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    pointer-events: none;
  }
}

/* Footer */
footer {
  background-color: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  border-top: 1px solid rgba(226, 232, 240, 0.8) !important;
  color: #555555 !important;
}

footer h1, footer h2, footer h3, footer h4, footer strong, footer b {
  color: #171717 !important;
}

footer p, footer li, footer a {
  color: #555555 !important;
}

footer a:hover {
  color: #0284c7 !important;
}

/* Brand Name Styling */
.brand-name-habib {
  font-weight: 900 !important;
  font-size: 1.35rem !important;
  letter-spacing: -0.02em !important;
  color: #171717 !important;
  display: inline-block !important;
  line-height: 1.2 !important;
}

.brand-name-ifix {
  background: linear-gradient(135deg, #0284c7 0%, #4338ca 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900 !important;
  font-size: 1.3rem !important;
  letter-spacing: -0.02em !important;
  display: inline-block !important;
}

.brand-name-tech {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(2, 132, 199, 0.3) !important;
  border-radius: 6px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  display: inline-block !important;
  margin-left: 5px !important;
  padding: 2px 7px !important;
  vertical-align: middle !important;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 4px;
}

/* ========================================================
   ABSOLUTE LIGHT MODE & ZERO-DARK-BOX ENFORCEMENT
   ======================================================== */
.cat-filter-btn:not(.active) {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

.cat-filter-btn:not(.active):hover {
  background-color: #f8fafc !important;
  color: #7c3aed !important;
  border-color: #a855f7 !important;
}

/* Guarantee for FAQ summaries and descriptions */
details.group summary {
  color: #0f172a !important;
  font-weight: 800 !important;
}

details.group p {
  color: #334155 !important;
}

/* Guarantee for Open Full Services button */
a[href="services.html"].glass-card {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}

/* Convert all dark background classes to clean white cards */
div[class*="bg-[#111827]"],
div[class*="bg-[#0B0F19]"],
div[class*="dark:bg-[#111827]"],
div[class*="dark:bg-[#0B0F19]"],
aside[class*="dark:bg-[#111827]"],
section[class*="bg-slate-900/50"],
article[class*="dark:bg-slate-900"] {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Footer Branding & High Visibility Guarantees */
footer span.font-black,
footer span.font-extrabold,
footer .brand-name-habib,
footer h3,
footer h4 {
  color: #0f172a !important;
}

footer a {
  color: #334155 !important;
}

footer a:hover {
  color: #2563eb !important;
}

footer p {
  color: #475569 !important;
}

footer span[class*="text-cyan"] {
  color: #0284c7 !important;
}

footer span[class*="text-blue"] {
  color: #2563eb !important;
}

/* Force Light Mode on shop & free offer hero sections */
.dark\:from-slate-900,
.dark\:via-indigo-950,
.dark\:to-slate-900,
.dark\:from-purple-950\/30,
.dark\:via-slate-950,
.dark\:to-slate-950 {
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Footer Habib iFix Brand Guarantee */
footer .brand-name-habib,
footer span:has(+ span.text-blue-600),
footer span:has(+ span[class*="text-cyan"]),
footer a span.font-black {
  color: #0f172a !important;
}

/* Guarantee readable tab button labels */
.cat-btn:not(.active),
.cat-filter-btn:not(.active) {
  color: #0f172a !important;
  background-color: #ffffff !important;
}

/* Modal text and background protection */
#checkoutModal > div,
#successModal > div,
#offerModal > div,
#shareModal > div {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* ========================================================
   OFFICIAL BRAND SOCIAL ICON BOXES (HIGH CONTRAST)
   ======================================================== */
a.social-icon-btn,
footer a.social-icon-btn {
  width: 2.25rem !important;
  height: 2.25rem !important;
  border-radius: 0.65rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

a.social-icon-btn *,
footer a.social-icon-btn * {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  line-height: 1 !important;
}

a.social-icon-btn:hover,
footer a.social-icon-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  filter: brightness(1.08) !important;
  color: #ffffff !important;
}

a.social-icon-btn.social-web {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
}

a.social-icon-btn.social-fb {
  background: #1877F2 !important;
}

a.social-icon-btn.social-tg {
  background: #0088cc !important;
}

a.social-icon-btn.social-wa {
  background: #16a34a !important;
}

a.social-icon-btn.social-tt {
  background: #0f172a !important;
}

a.social-icon-btn.social-yt {
  background: #dc2626 !important;
}

a.social-icon-btn.social-ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 55%, #8134af 100%) !important;
}

a.social-icon-btn.social-mail {
  background: #4f46e5 !important;
}
