/* =========================================================================
   BITEL CORPORATE BRAND THEME — OFFICE SIGNAGE SYSTEM (A-Z EXTENSIVE)
   Pattern:
   - Primary Signboard / Accents: Radiant Telecom Yellow (#FFD200)
   - 3D Primary Brand & Actions: Cobalt Electric Blue (#0052FF)
   - Deep Corporate Navy & Text: (#002D8F / #020B1E)
   ========================================================================= */

:root {
  --bitel-yellow: #FFD200;
  --bitel-yellow-light: #FFFDE6;
  --bitel-yellow-hover: #F2C400;
  --bitel-blue: #0052FF;
  --bitel-blue-hover: #0043D6;
  --bitel-blue-dark: #002D8F;
  --bitel-navy: #020B1E;

  --color-brand-50: #FFFDE6;
  --color-brand-100: #FFF9B3;
  --color-brand-500: #FFD200;
  --color-brand-600: #0052FF;
  --color-brand-700: #0043D6;
  --color-brand-800: #002D8F;
}

/* 1. Universal Signboard Header */
#bitel-shared-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}

#bitel-shared-header > header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

header nav {
  background-color: #FFD200 !important;
  border: 2px solid #0052FF !important;
  box-shadow: 0 10px 30px rgba(0, 82, 255, 0.18), 0 2px 10px rgba(255, 210, 0, 0.35) !important;
}

@media (max-width: 640px) {
  #bitel-shared-header > header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

header nav a, header nav span, header nav button {
  color: #002D8F !important;
  font-weight: 700 !important;
}

header nav a:hover {
  color: #0052FF !important;
}

/* Ensure the Brand Logo anchor NEVER receives active background */
header nav a[aria-label*="homepage"] {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Standard Header Nav Links in normal state: NEVER blue background */
header nav ul a {
  background: transparent !important;
  color: #002D8F !important;
  border: none !important;
  box-shadow: none !important;
  padding: 6px 12px !important;
}

/* Active navigation item: Warm Golden Yellow pill with Cobalt Blue border and Navy text ONLY WHEN ACTIVE */
header nav ul a[aria-current="page"],
header nav ul a.bitel-nav-active {
  color: #002D8F !important;
  background-color: #FFC000 !important;
  border: 2px solid #0052FF !important;
  box-shadow: 0 4px 12px rgba(0, 82, 255, 0.22), inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
}

/* The home navigation focuses on the core Bitel customer experience. */
header nav a[href="/employers"] {
  display: none !important;
}

/* 2. Hero & Section Badges */
div[class*="rounded-full"][class*="bg-neutral"],
div[class*="rounded-full"][class*="bg-blue"],
div[class*="rounded-full"][class*="bg-brand"],
.badge-corporate, .hero-badge {
  background-color: #FFD200 !important;
  color: #002D8F !important;
  border: 1.5px solid #0052FF !important;
  font-weight: 700 !important;
}

/* 3. Primary Action Buttons & CTAs (EXCLUDING header nav links) */
main a[href*="contact"], main a[href*="get-started"], main a[href*="auth"],
button[type="submit"], .btn-primary, button.btn-primary,
.bg-brand-600, .bg-blue-600,
button[class*="bg-brand"], button[class*="bg-blue"],
main a[class*="bg-brand"], main a[class*="bg-blue"] {
  background-color: #0052FF !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.3) !important;
  transition: all 0.2s ease-in-out !important;
}

main a[href*="contact"]:hover, main a[href*="get-started"]:hover,
.bg-brand-600:hover, .bg-blue-600:hover,
button[class*="bg-brand"]:hover, button[class*="bg-blue"]:hover,
main a[class*="bg-brand"]:hover, main a[class*="bg-blue"]:hover {
  background-color: #003ECC !important;
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Secondary Buttons with Yellow Accent */
.btn-secondary, a[class*="border-brand"], button[class*="border-brand"] {
  background-color: #FFD200 !important;
  color: #002D8F !important;
  border: 2px solid #0052FF !important;
  font-weight: 700 !important;
}

/* 4. Text Brand Accents & Headings */
.text-brand-600, .text-blue-600, a.text-brand-600 {
  color: #0052FF !important;
}

/* 5. Feature Cards & Containers */
div[class*="ring-black/5"], div[class*="ring-black/6"],
div[class*="border-neutral"] {
  border-color: rgba(0, 82, 255, 0.15) !important;
}

/* Accordion Active States & Plus Buttons */
span[class*="rotate-45"][class*="bg-"] {
  background-color: #FFD200 !important;
  color: #002D8F !important;
  border: 1px solid #0052FF !important;
}

/* 6. Testimonial Slider Controls */
.bitel-slider-arrows button.bitel-next-btn {
  background-color: #0052FF !important;
  color: #FFFFFF !important;
}
.bitel-slider-arrows button.bitel-prev-btn {
  background-color: #FFD200 !important;
  color: #002D8F !important;
  border: 1px solid #0052FF !important;
}

/* 7. Footer Accent Band */
footer {
  border-top: 4px solid #FFD200 !important;
}

footer a[href]:hover {
  color: #FFD200 !important;
}


/* =========================================================================
   8. UNIFIED DARK MODE RULES FOR COMPREHENSIVE THEME COVERAGE
   ========================================================================= */
html.dark, html.dark body {
  background-color: #0D0D0D !important;
  color: #F3F4F6 !important;
}

html.dark main {
  background-color: #0D0D0D !important;
  color: #F3F4F6 !important;
}

/* Sections that had light gradient or gray backgrounds */
html.dark section[class*="bg-gradient"],
html.dark section[class*="bg-["],
html.dark div[class*="bg-linear-to-b"] {
  background: #0D0D0D !important;
}

/* Section background tokens in dark mode */
html.dark .bg-sectionBg,
html.dark section.bg-sectionBg {
  background-color: #121212 !important;
}

/* Headings and primary text in dark mode */
html.dark h1,
html.dark h2,
html.dark h3,
html.dark h4,
html.dark .text-heading {
  color: #FFFFFF !important;
}

html.dark p,
html.dark .text-text {
  color: #B6B6CC !important;
}

/* White cards in dark mode */
html.dark div[class*="bg-white"],
html.dark article[class*="bg-white"],
html.dark div.bg-white {
  background-color: #1A1A1A !important;
  border-color: #262626 !important;
}

/* FAQ accordion containers in dark mode */
html.dark div[class*="cursor-pointer"][class*="rounded-2xl"] {
  background-color: #171717 !important;
  border-color: #262626 !important;
}

/* Mobile navigation drawer in dark mode */
html.dark #primary-mobile-navigation {
  background-color: #171717 !important;
  border-color: #262626 !important;
}

html.dark #primary-mobile-navigation ul li a {
  color: #FFFFFF !important;
}
