/**
 * AllOfBD Design Tokens & Ecosystem Base CSS
 * Ultra-Modern Premier Business Directory Edition (Decoupled Platform Layer)
 */

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

:root {
  /* Brand Primary & Accents */
  --dir-primary: #2563eb;
  --dir-primary-hover: #1d4ed8;
  --dir-primary-subtle: #eff6ff;
  --dir-primary-glow: rgba(37, 99, 235, 0.18);
  --dir-accent: #0284c7;
  --dir-accent-light: #e0f2fe;
  
  /* Semantic Status Colors */
  --dir-success: #10b981;
  --dir-success-bg: #ecfdf5;
  --dir-warning: #f59e0b;
  --dir-warning-bg: #fffbeb;
  --dir-danger: #f43f5e;
  --dir-danger-bg: #fff1f2;
  
  /* Modern Dark & Slate Neutrals */
  --dir-dark: #0f172a;
  --dir-heading: #0f172a;
  --dir-body: #334155;
  --dir-muted: #64748b;
  --dir-light-muted: #94a3b8;
  --dir-border: #e2e8f0;
  --dir-border-light: #f1f5f9;
  --dir-bg: #f8fafc;
  --dir-card: #ffffff;
  
  /* Typography Variables */
  --font-heading: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Standard Radii System */
  --dir-radius-xs: 6px;
  --dir-radius-sm: 10px;
  --dir-radius-md: 16px;
  --dir-radius-lg: 24px;
  --dir-radius-pill: 9999px;
  
  /* Multi-Layer Diffuse Elevation Shadows */
  --dir-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --dir-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --dir-shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.03);
  --dir-shadow-hover: 0 20px 35px rgba(37, 99, 235, 0.14), 0 8px 16px rgba(15, 23, 42, 0.04);
  --dir-shadow-hero: 0 20px 50px rgba(0, 0, 0, 0.22);
  --dir-shadow-dropdown: 0 16px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);

  /* Micro-Interaction Easing */
  --dir-ease: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --dir-ease-spring: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--dir-primary) !important;
  outline-offset: 2px !important;
}

/* Screen Reader Utility */
.allofbd-sr-only, .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Yellow Pages Gold Star Ratings */
.lp-star,
.lp-rating-stars i,
.listingpro-rating i,
.star-rating,
.rating-stars i,
.lp-listing-stars i {
  color: #f59e0b !important;
}

/* Verified Trust Badge */
.lp-claimed-icon,
.verified-icon,
.claimed-badge,
.lp-user-verified {
  color: #10b981 !important;
}

/* Global Responsive Containment */
@media (max-width: 1024px) {
  html, body, .lp-grid-box-contianer, .content-grid, .page-container, body.search, .site-content, .elementor-section-wrap {
    overflow-x: hidden !important;
    overflow-x: clip !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
