/* One Card color utilities (for prebuilt Tailwind builds) */

/* Width utilities */

/* Backgrounds */
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }

.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-400 { background-color: #60a5fa; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }

.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-400 { background-color: #4ade80; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }

.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-500 { background-color: #ef4444; }

.bg-yellow-50 { background-color: #fefce8; }
.bg-yellow-100 { background-color: #fef9c3; }

.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-amber-500 { background-color: #f59e0b; }

/* Backgrounds with opacity */
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-blue-500\/30 { background-color: rgba(59, 130, 246, 0.3); }
.bg-blue-500\/50 { background-color: rgba(59, 130, 246, 0.5); }

.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.bg-amber-500\/30 { background-color: rgba(245, 158, 11, 0.3); }
.bg-amber-500\/50 { background-color: rgba(245, 158, 11, 0.5); }

/* Text */
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }

.text-yellow-700 { color: #a16207; }

.text-blue-100 { color: #dbeafe; }
.text-blue-200 { color: #bfdbfe; }
.text-blue-300 { color: #93c5fd; }
.text-blue-400 { color: #60a5fa; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-700 { color: #1d4ed8; }

.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }

.text-red-400 { color: #f87171; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }

.text-amber-400 { color: #fbbf24; }
.text-amber-600 { color: #d97706; }
.text-amber-700 { color: #b45309; }

/* Borders */
.border-blue-400 { border-color: #60a5fa; }
.border-blue-500 { border-color: #3b82f6; }
.border-blue-500\/30 { border-color: rgba(59, 130, 246, 0.3); }

.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }

/* Gradients */
.to-amber-50 { --tw-gradient-to: #fffbeb var(--tw-gradient-to-position); }
.to-green-500 { --tw-gradient-to: #22c55e var(--tw-gradient-to-position); }

/* Hover utilities */
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-blue-500\/50:hover { background-color: rgba(59, 130, 246, 0.5); }
.hover\:text-blue-600:hover { color: #2563eb; }
.hover\:text-blue-700:hover { color: #1d4ed8; }
.hover\:bg-amber-500\/50:hover { background-color: rgba(245, 158, 11, 0.5); }

/* Focus utilities */
.focus\:border-blue-500:focus { border-color: #3b82f6; }
.focus\:ring-blue-500\/10:focus { --tw-ring-color: rgba(59, 130, 246, 0.1); }

/* Shadow utilities */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* Overflow */

/* ============================================
   RESPONSIVE GRID & LAYOUT UTILITIES
   ============================================ */

/* Grid */

/* Gap - using !important to ensure they override other styles */
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-7 { gap: 1.75rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-12 { gap: 3rem !important; }
.gap-x-2 { column-gap: 0.5rem !important; }
.gap-x-3 { column-gap: 0.75rem !important; }
.gap-x-4 { column-gap: 1rem !important; }
.gap-x-6 { column-gap: 1.5rem !important; }
.gap-x-8 { column-gap: 2rem !important; }
.gap-x-12 { column-gap: 3rem !important; }
.gap-y-2 { row-gap: 0.5rem !important; }
.gap-y-3 { row-gap: 0.75rem !important; }
.gap-y-4 { row-gap: 1rem !important; }
.gap-y-6 { row-gap: 1.5rem !important; }
.gap-y-8 { row-gap: 2rem !important; }

/* Grid children default to min-width:auto, which sizes a track to the item's
   min-content and lets it grow past its own container. On a 320px phone that
   pushed the tool pages 32 to 35px sideways: the .grid holding the vCard,
   WhatsApp and signature panels measured 288px while its single track measured
   336px. Setting min-width:0 on grid children is the standard remedy and takes
   the overflow to zero on all three.

   Grid only. The same rule on flex children looked equally correct and broke
   /oman-business-index at 768px, pushing it 88px sideways off a
   fa-arrow-right icon that had been relying on min-content sizing. Measured
   both ways: with the flex half removed the directory is back to 0 and the
   tool pages stay at 0. */
.grid > * { min-width: 0; }

/* A long unbreakable URL inside prose has no break opportunity, so a <code>
   holding one pushed /tools/whatsapp-qr-generator 9px sideways at 320px.
   Wrapping anywhere is the right behaviour for a URL people are meant to
   read, not scroll past. */
.prose code,
.guide-content code,
article code { overflow-wrap: anywhere; word-break: break-word; }

/* Flexbox - with !important for consistent override */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-none { flex: none !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.items-baseline { align-items: baseline !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-start { justify-content: flex-start !important; }
.justify-end { justify-content: flex-end !important; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Container & Max Width */
.container { width: 100%; margin-left: auto; margin-right: auto; }

/* Display */
.hidden { display: none !important; }
.block { display: block !important; }
.inline { display: inline !important; }
.inline-block { display: inline-block !important; }

/* Position */

/* Sizing */

/* Padding */


/* ============================================
   SM BREAKPOINT (640px)
   ============================================ */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* `.flex-col` above carries !important, which also beat the unimportant
     responsive flex-row utilities, so every `flex flex-col sm:flex-row`
     row stayed stacked at every width (34 such elements across the public
     pages, the get-started hero CTAs among them). Same weight fix the sm:
     display utilities below already use. */
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:flex-col { flex-direction: column !important; }
  /* `.hidden` above carries !important so JS adding the class reliably hides an
     element that also has a display utility. That weight also beat Tailwind's
     unimportant sm: display utilities, so a `hidden sm:inline-flex` element (the
     header Sign In and Get Started Free buttons among them) stayed display:none
     at every width. Give the sm: display utilities the same weight the lg: block
     below already uses. */
  .sm\:block { display: block !important; }
  .sm\:inline { display: inline !important; }
  .sm\:inline-block { display: inline-block !important; }
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:text-left { text-align: left; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  html[dir="rtl"] .sm\:text-left { text-align: right !important; }
}

/* ============================================
   MD BREAKPOINT (768px)
   ============================================ */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:flex-col { flex-direction: column !important; }
  .md\:hidden { display: none; }
  .md\:block { display: block !important; }
  .md\:w-12 { width: 3rem; }
  .md\:h-12 { height: 3rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  html[dir="rtl"] .text-left.md\:text-right { text-align: left !important; }
}

/* ============================================
   LG BREAKPOINT (1024px)
   ============================================ */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
  .lg\:flex { display: flex !important; }
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:flex-col { flex-direction: column !important; }
  .lg\:inline-flex { display: inline-flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:block { display: block !important; }
  .lg\:text-left { text-align: left !important; }
  .lg\:text-center { text-align: center !important; }
  html[dir="rtl"] .lg\:text-left { text-align: right !important; }
  .lg\:text-6xl { font-size: 3.75rem !important; line-height: 1 !important; }
  .lg\:text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
  .lg\:justify-start { justify-content: flex-start !important; }
  .lg\:justify-center { justify-content: center !important; }
  .lg\:items-center { align-items: center !important; }
  .lg\:mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
  .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .lg\:py-24 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
  .lg\:pt-36 { padding-top: 9rem !important; }
  .lg\:pb-24 { padding-bottom: 6rem !important; }
  .lg\:gap-8 { gap: 2rem !important; }
  .lg\:gap-12 { gap: 3rem !important; }
  .lg\:h-20 { height: 5rem !important; }
}

/* ============================================
   XL BREAKPOINT (1280px)
   ============================================ */
@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:flex-row { flex-direction: row !important; }
}

/* ============================================
   VCARDONLINE PRICING (BHD design language, teal accent #009bc1)
   ============================================ */
.vcardonline-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 80rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .vcardonline-pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .vcardonline-pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

.vcardonline-plan {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vcardonline-plan--featured {
  border: 2px solid #009bc1;
  box-shadow: 0 10px 32px rgba(0, 155, 193, 0.18);
  padding-top: 2.25rem;
}

.vcardonline-plan--dark {
  background: linear-gradient(160deg, #111827 0%, #1f2937 100%);
  border-color: #0d0d0d;
  color: #f0ede8;
}

.vcardonline-plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #009bc1;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 155, 193, 0.35);
}

.vcardonline-plan-header { margin-bottom: 1.25rem; }
.vcardonline-plan-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}
.vcardonline-plan--dark .vcardonline-plan-name { color: #ffffff; }

.vcardonline-plan-tagline {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
  line-height: 1.4;
}
.vcardonline-plan--dark .vcardonline-plan-tagline { color: rgba(255, 255, 255, 0.6); }

.vcardonline-plan-price { margin-bottom: 1.5rem; min-height: 72px; }
.vcardonline-plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  flex-wrap: wrap;
}
.vcardonline-plan-price-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.vcardonline-plan-price-value--num {
  font-family: 'DM Mono', 'Courier New', monospace;
  font-weight: 700;
}
.vcardonline-plan--dark .vcardonline-plan-price-value { color: #ffffff; }
.vcardonline-plan-price-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}
.vcardonline-plan--dark .vcardonline-plan-price-unit { color: rgba(255, 255, 255, 0.6); }
.vcardonline-plan-price-sub {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0.375rem 0 0;
}
.vcardonline-plan--dark .vcardonline-plan-price-sub { color: rgba(255, 255, 255, 0.55); }

.vcardonline-plan-features {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.vcardonline-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.4;
}
.vcardonline-plan--dark .vcardonline-plan-features li { color: rgba(255, 255, 255, 0.78); }

.vcardonline-tick {
  color: #16a34a;
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.vcardonline-tick--accent { color: #00718c; }
.vcardonline-tick--gold { color: #fbbf24; }

.vcardonline-plan-cta {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.vcardonline-plan-cta--ghost {
  background: #ffffff;
  border-color: #e5e7eb;
  color: #374151;
}
.vcardonline-plan-cta--ghost:hover {
  border-color: #00718c;
  color: #00718c;
}
.vcardonline-plan-cta--primary {
  background: #009bc1;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 155, 193, 0.3);
}
.vcardonline-plan-cta--primary:hover {
  background: #007fa0;
  box-shadow: 0 6px 16px rgba(0, 155, 193, 0.4);
}
.vcardonline-plan-cta--on-dark {
  background: #ffffff;
  color: #111827;
}
.vcardonline-plan-cta--on-dark:hover { background: #f3f4f6; }

/* ================================================================
   LOGO LIBRARY, download buttons + meta actions (BHD design language)
   Teal accent #009bc1 across all primary CTAs. Neutrals for secondary.
   ================================================================ */
.vcardonline-logo-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
@media (min-width: 768px) {
  .vcardonline-logo-downloads { justify-content: flex-start; }
  .vcardonline-logo-downloads.is-rtl { justify-content: flex-end; }
}

.vcardonline-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  background: #ffffff;
  color: #374151;
  border: 1px solid #e5e7eb;
  transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease, transform .1s ease;
  text-decoration: none;
  white-space: nowrap;
}
.vcardonline-dl-btn i {
  font-size: 11px;
  color: #9ca3af;
  transition: color .15s ease;
}
.vcardonline-dl-btn:hover {
  border-color: #00718c;
  color: #007fa0;
  background: #f0fafd;
}
.vcardonline-dl-btn:hover i { color: #00718c; }
.vcardonline-dl-btn:active { transform: translateY(1px); }
.vcardonline-dl-btn:focus-visible {
  outline: none;
  border-color: #00718c;
  box-shadow: 0 0 0 3px rgba(0, 155, 193, 0.2);
}

.vcardonline-dl-btn--primary {
  background: #009bc1;
  color: #ffffff;
  border-color: #00718c;
  box-shadow: 0 4px 12px rgba(0, 155, 193, 0.28);
}
.vcardonline-dl-btn--primary i { color: rgba(255, 255, 255, 0.85); }
.vcardonline-dl-btn--primary:hover {
  background: #007fa0;
  border-color: #007fa0;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 155, 193, 0.38);
}
.vcardonline-dl-btn--primary:hover i { color: #ffffff; }

/* Secondary meta row: "Claim it" + "Report / takedown" */
.vcardonline-logo-meta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
@media (min-width: 768px) {
  .vcardonline-logo-meta-actions { justify-content: flex-start; }
  .vcardonline-logo-meta-actions.is-rtl { justify-content: flex-end; }
}
.vcardonline-logo-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s ease;
}
.vcardonline-logo-meta-link i { font-size: 10px; opacity: .75; }
.vcardonline-logo-meta-link:hover { color: #00718c; }
.vcardonline-logo-meta-link--flag { color: #9ca3af; }
.vcardonline-logo-meta-link--flag:hover { color: #e11d48; }
.vcardonline-logo-meta-sep { color: #d1d5db; user-select: none; }

/* =====================================================
   BHD brand palette, global override
   Maps the generic blue utility classes rendered site-wide onto the
   BHD teal system (#009bc1). One source of truth for brand accents.
   Pages that need the old indigo/blue should use explicit hex values.
   ===================================================== */

:root {
    --bhd-teal-50:  #e6f7fb;
    --bhd-teal-100: #b8e7f1;
    --bhd-teal-200: #8ad6e7;
    --bhd-teal-300: #5cc5dc;
    --bhd-teal-400: #007792;
    --bhd-teal-500: #00718c;  /* brand ink: text + white-on-brand CTAs */
    --bhd-teal-600: #005a70;
    --bhd-teal-700: #036e87;
    --bhd-teal-800: #04586c;
    --bhd-teal-900: #063f4e;

    /* The vivid brand cyan. WCAG 1.4.3 (text) needs 4.5:1 and this is 3.25:1
       on white, so it may NOT carry text and may NOT sit under white text.
       It clears 1.4.11 (3:1) so it is still correct for non-text use: chart
       fills, decorative blocks, icon glyphs on dark, illustration accents.
       Steps 400/500/600 above were darkened for exactly this reason; the
       ramp is no longer a pure lightness scale of this hue by design. */
    --bhd-teal-bright: #009bc1;
}

/* Solid backgrounds (brand CTAs) */
.bg-blue-600 { background-color: var(--bhd-teal-500) !important; }
.bg-blue-700 { background-color: var(--bhd-teal-600) !important; }
.bg-blue-500 { background-color: var(--bhd-teal-400) !important; }
.bg-indigo-600, .bg-indigo-700 { background-color: var(--bhd-teal-600) !important; }
.hover\:bg-blue-700:hover { background-color: var(--bhd-teal-600) !important; }
.hover\:bg-blue-600:hover { background-color: var(--bhd-teal-500) !important; }
.hover\:bg-blue-500:hover { background-color: var(--bhd-teal-400) !important; }
.hover\:bg-blue-50:hover { background-color: var(--bhd-teal-50) !important; }

/* Tints (badges, soft pills) */
.bg-blue-50  { background-color: var(--bhd-teal-50)  !important; }
.bg-blue-100 { background-color: var(--bhd-teal-100) !important; }

/* Text accents */
.text-blue-600, .text-blue-700 { color: var(--bhd-teal-500) !important; }
.text-blue-500 { color: var(--bhd-teal-400) !important; }
.text-indigo-600, .text-indigo-700 { color: var(--bhd-teal-600) !important; }
.hover\:text-blue-600:hover, .hover\:text-blue-700:hover { color: var(--bhd-teal-500) !important; }
.hover\:text-blue-500:hover { color: var(--bhd-teal-400) !important; }

/* Borders + focus rings */
.border-blue-600, .border-blue-500 { border-color: var(--bhd-teal-500) !important; }
.border-blue-100, .border-blue-200 { border-color: var(--bhd-teal-100) !important; }
.ring-blue-600, .ring-blue-500 { --tw-ring-color: var(--bhd-teal-500) !important; }
.focus\:ring-blue-600:focus { --tw-ring-color: var(--bhd-teal-500) !important; }
.focus\:border-blue-600:focus { border-color: var(--bhd-teal-500) !important; }
.focus-visible\:outline-blue-600:focus-visible { outline-color: var(--bhd-teal-500) !important; }

/* Gradient stops, used in hero CTAs (from-blue-600 to-indigo-700 etc) */
.from-blue-700  { --tw-gradient-from: var(--bhd-teal-600) var(--tw-gradient-from-position) !important; }
.from-blue-800  { --tw-gradient-from: var(--bhd-teal-700) var(--tw-gradient-from-position) !important; }
.from-blue-900  { --tw-gradient-from: var(--bhd-teal-800) var(--tw-gradient-from-position) !important; }
.from-indigo-600 { --tw-gradient-from: var(--bhd-teal-600) var(--tw-gradient-from-position) !important; }
.from-indigo-700 { --tw-gradient-from: var(--bhd-teal-700) var(--tw-gradient-from-position) !important; }
.to-blue-800    { --tw-gradient-to:   var(--bhd-teal-700) var(--tw-gradient-to-position)   !important; }
.to-blue-900    { --tw-gradient-to:   var(--bhd-teal-800) var(--tw-gradient-to-position)   !important; }
.to-indigo-600  { --tw-gradient-to:   var(--bhd-teal-600) var(--tw-gradient-to-position)   !important; }
.to-indigo-700  { --tw-gradient-to:   var(--bhd-teal-700) var(--tw-gradient-to-position)   !important; }
.via-blue-700   { --tw-gradient-via:  var(--bhd-teal-600) var(--tw-gradient-via-position,50%)  !important; }
.via-blue-800   { --tw-gradient-via:  var(--bhd-teal-700) var(--tw-gradient-via-position,50%)  !important; }
.via-indigo-600 { --tw-gradient-via:  var(--bhd-teal-600) var(--tw-gradient-via-position,50%)  !important; }

/* Shadow tints */
.shadow-blue-600\/30 { --tw-shadow-color: rgba(0, 155, 193, 0.30) !important; --tw-shadow: var(--tw-shadow-colored); }
.shadow-blue-600\/40 { --tw-shadow-color: rgba(0, 155, 193, 0.40) !important; --tw-shadow: var(--tw-shadow-colored); }

/* USD currency, DM Mono per BHD design language */
.omr, [data-currency="USD"] {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-feature-settings: 'tnum' 1;
}

/* ------------------------------------------------------------------
   RTL / Hebrew support
   Applied via html[dir="rtl"] set by I18n layer.
   Uses logical properties where possible to avoid per-selector flips.
-------------------------------------------------------------------*/
html[dir="rtl"] {
    font-family: "IBM Plex Sans Hebrew", "Inter", "Segoe UI", Tahoma, sans-serif;
}
html[dir="rtl"] body {
    letter-spacing: 0;
}
html[dir="rtl"] .text-right { text-align: left  !important; }
html[dir="rtl"] [dir="ltr"] .text-right { text-align: right !important; }
html[dir="rtl"] .text-left.md\:text-right { text-align: right !important; }

/* Tailwind margin/padding flips for common utility names.
   Only pairs we actually use elsewhere in the codebase. */
html[dir="rtl"] .ml-1 { margin-left: 0 !important; margin-right: 0.25rem !important; }
html[dir="rtl"] .ml-2 { margin-left: 0 !important; margin-right: 0.5rem  !important; }
html[dir="rtl"] .ml-3 { margin-left: 0 !important; margin-right: 0.75rem !important; }
html[dir="rtl"] .ml-4 { margin-left: 0 !important; margin-right: 1rem    !important; }
html[dir="rtl"] .ml-6 { margin-left: 0 !important; margin-right: 1.5rem  !important; }
html[dir="rtl"] .mr-1 { margin-right: 0 !important; margin-left: 0.25rem !important; }
html[dir="rtl"] .mr-2 { margin-right: 0 !important; margin-left: 0.5rem  !important; }
html[dir="rtl"] .mr-3 { margin-right: 0 !important; margin-left: 0.75rem !important; }
html[dir="rtl"] .mr-4 { margin-right: 0 !important; margin-left: 1rem    !important; }
html[dir="rtl"] .mr-6 { margin-right: 0 !important; margin-left: 1.5rem  !important; }
html[dir="rtl"] .pl-2 { padding-left: 0 !important; padding-right: 0.5rem  !important; }
html[dir="rtl"] .pl-3 { padding-left: 0 !important; padding-right: 0.75rem !important; }
html[dir="rtl"] .pl-4 { padding-left: 0 !important; padding-right: 1rem    !important; }
html[dir="rtl"] .pr-2 { padding-right: 0 !important; padding-left: 0.5rem  !important; }
html[dir="rtl"] .pr-3 { padding-right: 0 !important; padding-left: 0.75rem !important; }
html[dir="rtl"] .pr-4 { padding-right: 0 !important; padding-left: 1rem    !important; }

/* Form icons that sit on one side, flip positioning.
   Scope to .absolute only: otherwise these rules hit elements with
   `fixed top-0 left-0 right-0` (like the main navbar), stripping BOTH
   inset values to auto and collapsing the nav to content-width. */
html[dir="rtl"] .absolute.left-0,
html[dir="rtl"] .absolute.left-2,
html[dir="rtl"] .absolute.left-3,
html[dir="rtl"] .absolute.left-4   { right: 0; left: auto !important; }
html[dir="rtl"] .absolute.right-0,
html[dir="rtl"] .absolute.right-2,
html[dir="rtl"] .absolute.right-3,
html[dir="rtl"] .absolute.right-4  { left:  0; right: auto !important; }

/* FontAwesome icons that use rotation for direction, flip arrows */
html[dir="rtl"] .fa-arrow-right::before { content: "\f060"; } /* left */
html[dir="rtl"] .fa-arrow-left::before  { content: "\f061"; } /* right */
html[dir="rtl"] .fa-chevron-right::before { content: "\f053"; }
html[dir="rtl"] .fa-chevron-left::before  { content: "\f054"; }
html[dir="rtl"] .fa-angle-right::before { content: "\f104"; }
html[dir="rtl"] .fa-angle-left::before  { content: "\f105"; }

/* Borders commonly used on left/right */
html[dir="rtl"] .border-l { border-left: 0 !important; border-right-width: 1px !important; }
html[dir="rtl"] .border-r { border-right: 0 !important; border-left-width:  1px !important; }

/* ------------------------------------------------------------------
   Language switcher component
   <a class="vcardonline-lang-switch" href="?lang=ar">العربية</a>
-------------------------------------------------------------------*/
.vcardonline-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    transition: all 150ms ease-out;
    line-height: 1;
}
.vcardonline-lang-switch:hover {
    color: #00718c;
    border-color: #00718c;
    background: rgba(0, 155, 193, 0.05);
}
.vcardonline-lang-switch i,
.vcardonline-lang-switch svg { font-size: 0.8125rem; opacity: 0.7; }
html[dir="rtl"] .vcardonline-lang-switch { font-family: "IBM Plex Sans Hebrew", "Inter", sans-serif; }

/* Currency pill, matches the lang switcher so the header CTAs read as a set. */
.vcardonline-currency-pill {
    color: #475569;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    line-height: 1;
    transition: all 150ms ease-out;
}
.vcardonline-currency-pill:hover {
    color: #00718c;
    border-color: #00718c;
    background: rgba(0, 155, 193, 0.05);
}
html[dir="rtl"] .vcardonline-currency-pill { font-family: "IBM Plex Sans Hebrew", "Inter", sans-serif; }

/* USD in Hebrew uses the Hebrew glyphs, not DM Mono */
html[dir="rtl"] .omr,
html[dir="rtl"] [data-currency="USD"] {
    font-family: "IBM Plex Sans Hebrew", "Inter", sans-serif;
}

/* Extended RTL utility flips, covers patterns spotted during audit */
html[dir="rtl"] .justify-start { justify-content: flex-end !important; }
html[dir="rtl"] .justify-end   { justify-content: flex-start !important; }
html[dir="rtl"] .items-start   { align-items: flex-start; } /* vertical, no flip */
html[dir="rtl"] .float-left    { float: right !important; }
html[dir="rtl"] .float-right   { float: left  !important; }

/* space-x-N, Tailwind emits margin-left on children; flip to margin-right */
html[dir="rtl"] .space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-right: 0.25rem !important; margin-left: 0 !important; }
html[dir="rtl"] .space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-right: 0.5rem  !important; margin-left: 0 !important; }
html[dir="rtl"] .space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-right: 0.75rem !important; margin-left: 0 !important; }
html[dir="rtl"] .space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-right: 1rem    !important; margin-left: 0 !important; }
html[dir="rtl"] .space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-right: 1.5rem  !important; margin-left: 0 !important; }

/* Positional utilities for dropdowns and menus */
html[dir="rtl"] .origin-top-right { transform-origin: top left !important; }
html[dir="rtl"] .origin-top-left  { transform-origin: top right !important; }

/* Rounded corners, flip left/right pairs */
html[dir="rtl"] .rounded-l-lg { border-top-right-radius: 0.5rem !important; border-bottom-right-radius: 0.5rem !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
html[dir="rtl"] .rounded-r-lg { border-top-left-radius:  0.5rem !important; border-bottom-left-radius:  0.5rem !important; border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; }
html[dir="rtl"] .rounded-l-md { border-top-right-radius: 0.375rem !important; border-bottom-right-radius: 0.375rem !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
html[dir="rtl"] .rounded-r-md { border-top-left-radius:  0.375rem !important; border-bottom-left-radius:  0.375rem !important; border-top-right-radius:0 !important; border-bottom-right-radius:0 !important; }

/* Tables, flip text alignment of numeric cells only when authored as text-right */
html[dir="rtl"] td.text-right, html[dir="rtl"] th.text-right { text-align: left !important; }
html[dir="rtl"] td.text-left,  html[dir="rtl"] th.text-left   { text-align: right !important; }

/* Breadcrumbs and separators that use chevrons, swap direction */
html[dir="rtl"] .fa-chevron-right.breadcrumb-sep { transform: scaleX(-1); }

/* ---------------------------------------------------------------------------
   Tap targets. Every control sized to its glyph gets a 44x44 hit area.
   The visual size is unchanged; only the touchable box grows, so nothing in
   the layout shifts.
   --------------------------------------------------------------------------- */
.vcardonline-lang-switch,
.vcardonline-currency-pill {
  min-block-size: 44px;
  min-inline-size: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Small icon-only and inline controls in the chrome: grow the box, keep the ink. */
.vcardonline-nav a,
.vcardonline-nav button,
.vcardonline-footer a,
.vcardonline-footer button {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
}

/* An anchor whose line-box is shorter than the finger it is tapped with. */
a.vcardonline-tap,
button.vcardonline-tap {
  position: relative;
}
a.vcardonline-tap::after,
button.vcardonline-tap::after {
  content: "";
  position: absolute;
  inset-block: 50%;
  inset-inline: 0;
  block-size: 44px;
  transform: translateY(-50%);
}

/* =====================================================
   WCAG 1.4.3 contrast floor for status/action colours
   -----------------------------------------------------
   The Tailwind green/amber/red utilities above are the stock palette, which
   is tuned for FILLS BEHIND DARK TEXT. One Card uses them the other way round,
   as solid CTAs with white text ("Book a demo on WhatsApp", "Talk on
   WhatsApp"), where green-500 measures 2.28:1 and fails 4.5:1 outright.

   These rules darken only the steps that carry text. The tints (50/100) and
   the light steps used for badges behind dark text are deliberately left
   alone: darkening those would break the contrast in the other direction.

   Verified by measuring the rendered pixel rather than the declared hex.
   ===================================================== */
:root {
    --bhd-green-ink:       #15803d;  /* 5.0:1 under white text */
    --bhd-green-ink-hover: #126430;  /* 6.9:1, hover/active */
    --bhd-red-ink:         #b91c1c;  /* 5.9:1 under white text */
}

.bg-green-500,
.bg-green-400            { background-color: var(--bhd-green-ink) !important; }
.bg-green-600            { background-color: var(--bhd-green-ink-hover) !important; }
.hover\:bg-green-600:hover,
.hover\:bg-green-500:hover { background-color: var(--bhd-green-ink-hover) !important; }
.to-green-500            { --tw-gradient-to: var(--bhd-green-ink) var(--tw-gradient-to-position) !important; }
.from-green-500          { --tw-gradient-from: var(--bhd-green-ink) var(--tw-gradient-from-position) !important; }

/* Green as TEXT on a light surface fails at the stock steps too. */
.text-green-500,
.text-green-600          { color: var(--bhd-green-ink) !important; }
.hover\:text-green-600:hover { color: var(--bhd-green-ink-hover) !important; }

/* Same defect class, red destructive buttons with white labels. */
.bg-red-500              { background-color: var(--bhd-red-ink) !important; }
.hover\:bg-red-600:hover { background-color: #991b1b !important; }
.text-red-500            { color: var(--bhd-red-ink) !important; }

/* ------------------------------------------------------------------
 * 49 plain utility rules were removed from this file on 5 Sep 2026.
 *
 * They were byte-identical copies of what the Tailwind build already
 * emits (.text-center{text-align:center} and 48 more), added back when
 * the April build was missing pieces. Because this file loads AFTER the
 * Tailwind builds, each copy also beat every responsive and state
 * variant of the same utility: lg:text-start lost to .text-center,
 * md:flex-row lost to .flex-col, and four of those had already been
 * patched by hand with !important.
 *
 * Removing them changes nothing that renders, because the identical
 * declaration still arrives from the Tailwind layer, and it lets the
 * variants win as they should. The 92 rules here that hold a DIFFERENT
 * value from Tailwind are deliberate brand remaps and were left alone.
 * ------------------------------------------------------------------ */
