@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --success: #10b981;
  --success-light: #d1fae5;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --warning: #f97316;
  --warning-light: #ffedd5;
  
  --bg-main: #0f172a;
  --bg-surface: #1e293b;
  --bg-card: rgba(30, 41, 59, 0.92);
  --bg-glass: rgba(15, 23, 42, 0.94);
  --border-color: rgba(148, 163, 184, 0.24);
  --border-light: rgba(148, 163, 184, 0.12);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(99, 102, 241, 0.45);
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RGB Technological Animations */
@keyframes rgbGlow {
  0% { box-shadow: 0 0 15px #ff0055, 0 0 30px #00ffff; }
  33% { box-shadow: 0 0 15px #00ff66, 0 0 30px #ff0055; }
  66% { box-shadow: 0 0 15px #00ffff, 0 0 30px #7000ff; }
  100% { box-shadow: 0 0 15px #ff0055, 0 0 30px #00ffff; }
}

@keyframes rgbBorderGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGps {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 15% 15%, rgba(99, 102, 241, 0.18) 0px, transparent 45%),
    radial-gradient(at 85% 85%, rgba(14, 165, 233, 0.15) 0px, transparent 45%),
    radial-gradient(at 50% 50%, rgba(255, 0, 128, 0.08) 0px, transparent 55%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.35);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #2a364f; border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* App Wrapper & View Modes */
.app-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.app-wrapper.mobile-app-mode {
  max-width: 430px;
  margin: 1.5rem auto;
  border-radius: 40px;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.9), 0 0 50px rgba(99, 102, 241, 0.4);
  overflow: hidden;
  position: relative;
  min-height: 880px;
  max-height: 92vh;
  background-color: var(--bg-main);
}

.mobile-notch {
  display: none;
  height: 28px;
  background: #1e293b;
  width: 160px;
  margin: 0 auto;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.mobile-app-mode .mobile-notch { display: block; }

/* Top Navbar */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-app-mode .top-navbar {
  padding-top: 2.2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #ff007a, #7000ff, #00ffff);
  background-size: 200% 200%;
  animation: rgbBorderGradient 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 122, 0.5);
  font-weight: 900;
}

.brand-text {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #60a5fa, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.location-picker-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.35);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
}

.location-picker-btn:hover {
  background: rgba(14, 165, 233, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

.gps-btn {
  background: #0ea5e9;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.45rem 0.95rem;
  font-size: 0.825rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: pulseGps 2s infinite;
  transition: var(--transition);
}

.gps-btn:hover {
  background: #0284c7;
  transform: scale(1.04);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* RGB & Technological Buttons */
.btn-rgb-glow {
  position: relative;
  background: linear-gradient(135deg, #ff0055, #7000ff, #00ffff);
  background-size: 300% 300%;
  animation: rgbBorderGradient 4s ease infinite;
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.5);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: none;
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.btn-rgb-glow:hover {
  transform: translateY(-3px) scale(1.02);
  animation: rgbBorderGradient 2s ease infinite, rgbGlow 3s infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #ffffff;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-success {
  background: var(--success);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.btn-success:hover { background: #059669; transform: translateY(-2px); }

.btn-danger {
  background: var(--danger);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.btn-danger:hover { background: #dc2626; transform: translateY(-2px); }

.role-switch-btn {
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.role-switch-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.role-switch-btn.active-b2b {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #000;
  font-weight: 800;
  border-color: transparent;
}

.mode-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.mode-toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.15);
}

/* Main Content & Section Navigation Tabs */
.main-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-app-mode .main-content {
  padding: 1rem;
  padding-bottom: 5rem;
}

.sub-nav-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.85rem;
  overflow-x: auto;
}

.tab-link {
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.tab-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.tab-link.active {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.45);
}

/* Google-Like Directory Hero Section with Autocomplete */
.google-directory-hero {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: visible;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(14, 165, 233, 0.12);
}

.google-hero-logo {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}

.mobile-app-mode .google-hero-logo { font-size: 2.1rem; }

.google-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.25rem auto;
}

.google-search-bar {
  max-width: 820px;
  margin: 0 auto 1.25rem auto;
  display: flex;
  background: rgba(21, 30, 50, 0.98);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(14, 165, 233, 0.2);
  transition: var(--transition);
  position: relative;
  z-index: 50;
}

.google-search-bar:focus-within {
  border-color: #00ffff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 255, 0.35);
}

.mobile-app-mode .google-search-bar {
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  gap: 0.75rem;
}

.search-location-select {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-right: 1px solid var(--border-color);
  font-size: 0.95rem;
  cursor: pointer;
  min-width: 170px;
}

.mobile-app-mode .search-location-select {
  border-right: none;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.google-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-main);
  padding: 0.65rem 1.25rem;
  font-size: 1.05rem;
}

.google-search-input::placeholder { color: #64748b; }

/* Instant Live Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 2px solid #00ffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0,0,0,0.9), 0 0 30px rgba(0,255,255,0.25);
  z-index: 100;
  text-align: left;
  overflow: hidden;
  display: none;
}

.autocomplete-dropdown.show { display: block; }

.autocomplete-item {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: rgba(14, 165, 233, 0.2); }
.autocomplete-title { font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.6rem; }
.autocomplete-meta { font-size: 0.825rem; color: #38bdf8; font-weight: 600; }

/* Emergency RFQ Banner */
.emergency-banner {
  background: linear-gradient(135deg, #450a0a, #7f1d1d, #991b1b);
  border: 2px solid #ef4444;
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.35);
  flex-wrap: wrap;
  gap: 1.25rem;
}

.emergency-banner h3 { font-size: 1.4rem; color: #fff; display: flex; align-items: center; gap: 0.6rem; }

/* Ä°l / Ä°lÃ§e Semt HÄ±zlÄ± Rehberi Pills */
.city-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.city-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.city-pill:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-2px);
}

.city-pill.active {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.4);
}

/* Section Title Headers */
.section-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* RGB Featured Business Card Showcase */
.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
}

.mobile-app-mode .grid-layout { grid-template-columns: 1fr; }

.business-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.business-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(14, 165, 233, 0.2);
}

.business-card.featured-rgb {
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.business-card.featured-rgb::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff0055, #7000ff, #00ffff);
  background-size: 200% 200%;
  animation: rgbBorderGradient 4s ease infinite;
  z-index: -1;
}

.vip-ribbon {
  position: absolute;
  top: 15px;
  left: -32px;
  background: linear-gradient(90deg, #ff0055, #ff5500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 2.5rem;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.business-img-wrapper {
  height: 190px;
  background: #1e293b;
  position: relative;
  overflow: hidden;
}

.business-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.business-card:hover .business-img-wrapper img { transform: scale(1.06); }

.distance-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 3;
}

.category-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  z-index: 3;
}

.business-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.business-name { font-size: 1.3rem; margin-bottom: 0.4rem; }
.business-address {
  font-size: 0.865rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.business-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fbbf24;
  font-weight: 800;
  font-size: 1rem;
}

.rating-count { color: var(--text-muted); font-size: 0.825rem; font-weight: 400; }

.open-status {
  font-size: 0.825rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.open-status.is-open { color: var(--success); }
.open-status.is-closed { color: var(--danger); }

.business-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn-book {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-book:hover {
  background: #4338ca;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-contact {
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(14, 165, 233, 0.45);
  color: #38bdf8;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-contact:hover {
  background: rgba(14, 165, 233, 0.35);
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

/* Directory Filter Sidebar & Layout */
.directory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.mobile-app-mode .directory-layout, @media (max-width: 900px) {
  .directory-layout { grid-template-columns: 1fr; }
}

.filter-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-checkbox:hover { color: var(--text-main); }
.filter-checkbox input[type="checkbox"] { width: 18px; height: 18px; }

/* Business Detail Profile Page (Firma Detay) */
.detail-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1e293b;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.detail-cover-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: brightness(0.65);
}

.detail-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(11,15,25,0.95) 20%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.mobile-app-mode .detail-hero-content { padding: 1.5rem; }

.detail-main-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.mobile-app-mode .detail-main-grid, @media (max-width: 950px) {
  .detail-main-grid { grid-template-columns: 1fr; }
}

.amenity-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.review-card-full {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-bottom: 1.25rem;
}

.booking-box-sticky {
  background: var(--bg-surface);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-lg), 0 0 35px rgba(99, 102, 241, 0.15);
}

/* Categories Bar */
.categories-slider {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-bottom: 2.25rem;
}

.category-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  transition: var(--transition);
}

.category-chip:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.18);
  transform: translateY(-2px);
}

.category-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.45);
}

/* Modals & Messaging Drawer */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(0, 0, 0, 0.9);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-container { transform: scale(1); }

.modal-header {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  z-index: 10;
}

.modal-title { font-size: 1.4rem; }

.btn-close {
  background: rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.btn-close:hover { color: #fff; background: var(--danger); }

.modal-body { padding: 1.5rem; }

/* Messaging Chat History Inside Drawer */
.chat-history-box {
  background: rgba(11, 15, 25, 0.65);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.chat-bubble {
  max-width: 75%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.935rem;
  line-height: 1.5;
}

.chat-bubble.sender-user {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.sender-business {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Service List Item */
.service-list-item {
  background: rgba(11, 15, 25, 0.65);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.service-list-item:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.12);
}

.service-list-item.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.28);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.service-name { font-weight: 600; font-size: 1.05rem; }
.service-duration { font-size: 0.85rem; color: var(--text-muted); }
.service-price { font-weight: 800; color: var(--accent); font-size: 1.15rem; }

/* Time Slots Grid */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.time-slot-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  transition: var(--transition);
}

.time-slot-btn:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.18);
}

.time-slot-btn.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
}

/* Rewards & Points Shop Cards */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.reward-card {
  background: linear-gradient(145deg, var(--bg-surface), var(--bg-main));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.reward-points-tag {
  background: var(--accent);
  color: #000;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  align-self: flex-start;
}

/* Penalty / No-Show Status Dashboard */
.penalty-status-card {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mobile-app-mode .penalty-status-card { flex-direction: column; align-items: flex-start; }

.strikes-indicator { display: flex; gap: 0.5rem; }

.strike-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--danger);
}

.strike-circle.filled { background: var(--danger); color: #fff; }

/* B2B Dashboard Cards & Stat Metrics */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.18);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.stat-value { font-size: 1.85rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.865rem; color: var(--text-muted); }

/* Tables */
.data-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-bottom: 2.25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  padding: 1.1rem 1.35rem;
  background: rgba(11, 15, 25, 0.7);
  font-size: 0.865rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.935rem;
}

.data-table tr:hover { background: rgba(255, 255, 255, 0.04); }

/* Status Badges */
.status-badge {
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.status-approved { background: var(--success-light); color: #065f46; }
.status-pending { background: var(--warning-light); color: #9a3412; }
.status-cancelled { background: var(--danger-light); color: #991b1b; }
.status-completed { background: var(--primary-light); color: #312e81; }

/* Toast */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-app-mode .toast-container { bottom: 85px; right: 15px; left: 15px; }

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--primary);
  border-left: 5px solid var(--primary);
  color: #fff;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
}

.toast.toast-success { border-color: var(--success); border-left-color: var(--success); }
.toast.toast-danger { border-color: var(--danger); border-left-color: var(--danger); }
.toast.toast-warning { border-color: var(--accent); border-left-color: var(--accent); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 0.65rem 1rem;
  z-index: 50;
  justify-content: space-around;
  align-items: center;
}

.mobile-app-mode .mobile-bottom-nav { display: flex; }

.nav-item-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.nav-item-bottom i { font-size: 1.3rem; }
.nav-item-bottom.active { color: var(--primary); }

@media (max-width: 768px) {
  .top-navbar { padding: 0.75rem 1rem; }
  .brand-text { display: none; }
  .google-directory-hero { padding: 2.25rem 1rem; }
}

/* =========================================================================
   PORTAL HERO REDESIGN & UI POLISH OVERRIDES (V5)
   ========================================================================= */

/* Portal Hero Layout */
.portal-hero {
  text-align: center;
  padding: 5rem 1.5rem;
  background: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent 60%);
}

.portal-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portal-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem auto;
  line-height: 1.6;
}

/* Portal Search Pill */
.portal-search-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.5rem;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  position: relative;
}

.search-location-wrapper {
  display: flex;
  align-items: center;
  padding: 0 1rem 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.location-icon {
  color: var(--primary);
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

.portal-location-select {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  appearance: none;
  outline: none;
  padding-right: 1.5rem;
  cursor: pointer;
}

.search-location-wrapper::after {
  content: "¡";
  font-size: 0.6rem;
  color: var(--text-muted);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 1.5rem;
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.portal-search-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  outline: none;
}
.portal-search-input::placeholder {
  color: #64748b;
}

.search-action-wrapper {
  padding-left: 0.5rem;
}

.btn-portal-search {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-portal-search:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Quick Category Grid */
.quick-category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.quick-category-grid .category-chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  color: var(--text-muted);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quick-category-grid .category-chip:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* UI Polish Overrides */
.business-card {
  padding: 1.25rem !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.business-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.business-card-footer button {
  flex: 1;
  padding: 0.65rem 0.5rem !important;
  font-size: 0.85rem !important;
  border-radius: var(--radius-sm) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Custom Checkbox/Radio for Filter Sidebar */
.filter-sidebar input[type="radio"],
.filter-sidebar input[type="checkbox"] {
  appearance: none;
  background-color: transparent;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  display: grid;
  place-content: center;
  margin-right: 0.5rem;
}
.filter-sidebar input[type="checkbox"] {
  border-radius: 0.2em;
}
.filter-sidebar input[type="radio"]::before,
.filter-sidebar input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--primary);
}
.filter-sidebar input[type="checkbox"]::before {
  border-radius: 0;
  box-shadow: inset 1em 1em var(--primary);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.filter-sidebar input[type="radio"]:checked::before,
.filter-sidebar input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.filter-sidebar input[type="radio"]:checked,
.filter-sidebar input[type="checkbox"]:checked {
  border-color: var(--primary);
}
.filter-sidebar label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff !important;
}

/* Remove old harsh google-directory-hero */
.google-directory-hero { display: none !important; }

/* Dashboard specifics */
.status-badge.status-approved {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}


/* Dashboard Internal Local Navigation (Tabs) */
.dashboard-tabs-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  scrollbar-width: thin;
}
.dashboard-tabs-wrapper::-webkit-scrollbar {
  height: 4px;
}
.dashboard-tabs-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 4px;
}
.dash-tab {
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}
.dash-tab:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.dash-tab.active {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--primary);
}
.tab-badge {
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-full);
  margin-left: 0.25rem;
}

/* SEO Districts Scrollable Row */
.seo-districts-scroll {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.seo-districts-scroll::-webkit-scrollbar {
  height: 3px;
}
.seo-districts-scroll::-webkit-scrollbar-thumb {
  background-color: var(--secondary);
  border-radius: 3px;
}
.seo-district-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.825rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.seo-district-chip:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* Desktop Top Menu next to Logo */
.desktop-top-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.top-menu-link {
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.top-menu-link:hover {
  color: #fff;
}
.dropdown-menu-item {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-surface);
  min-width: 210px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  padding: 0.5rem 0;
  z-index: 2000;
}
.dropdown-menu-item:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  transition: all 0.2s;
}
.dropdown-content a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Mobile Directory Feed Pills & Floating CTAs (Desktop & Base Rules) */
.mobile-pill-item {
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mobile-pill-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.mobile-pill-item.active {
  background: linear-gradient(135deg, var(--primary), #0ea5e9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
  font-weight: 700;
}

.mobile-hidden {
  display: none !important;
}

.mobile-detail-floating-cta {
  display: none !important;
}

/* Mobile App Native Experience (@media max-width 768px) */
@media (max-width: 768px) {
  .desktop-top-menu {
    display: none !important;
  }
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(11, 15, 25, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.6) !important;
    padding: 0.6rem 0.5rem !important;
  }
  body {
    padding-bottom: 85px !important; /* Space for bottom app bar + floating action bar */
  }
  .top-navbar {
    padding: 0.75rem 1rem !important;
  }
  .brand-text {
    font-size: 1.1rem !important;
  }
  .portal-hero-subtitle {
    display: none !important;
  }
  .portal-hero-title {
    font-size: 1.65rem !important;
    margin-bottom: 1rem !important;
  }
  .emergency-banner p {
    display: none !important;
  }
  .location-picker-btn span {
    max-width: 110px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .nav-right .btn-uye-paneli span, .nav-right .btn-uye-paneli i {
    font-size: 0.85rem !important;
  }

  /* --- Directory (Firma Listesi) Mobile Polish --- */
  .directory-main-title {
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
  }
  .directory-main-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }
  .directory-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .filter-sidebar.mobile-collapsible-drawer {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 1.5rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
  }
  .mobile-filter-toggle-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .directory-results-bar {
    padding: 0.75rem 1rem !important;
  }
  .directory-results-bar select {
    width: 100% !important;
    margin-top: 0.4rem !important;
  }

  /* --- Business Card (Firma Kartı) Mobile Polish --- */
  .directory-cards-grid, .grid-layout {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .business-card {
    padding: 1rem !important;
    border-radius: var(--radius-lg) !important;
  }
  .business-img-wrapper img {
    height: 155px !important;
  }
  .business-name {
    font-size: 1.18rem !important;
  }
  .business-address {
    font-size: 0.82rem !important;
    margin-bottom: 0.75rem !important;
  }
  .business-meta {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 0.85rem !important;
  }
  .business-card-footer {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding-top: 0.85rem !important;
  }
  .business-card-footer button {
    flex: 1 !important;
    padding: 0.75rem 0.4rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
  }

  /* --- Business Detail Page (Firma Detayı) Mobile Polish --- */
  .detail-hero {
    margin-bottom: 1.25rem !important;
    border-radius: var(--radius-md) !important;
  }
  .detail-cover-img {
    height: 210px !important;
  }
  .detail-hero-content {
    position: relative !important;
    background: var(--bg-surface) !important;
    padding: 1.25rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .detail-hero-title {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
  }
  .detail-hero-actions {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
  }
  .detail-action-btn {
    flex: 1 !important;
    justify-content: center !important;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.84rem !important;
  }
  .detail-main-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .booking-box-sticky {
    position: relative !important;
    top: 0 !important;
    padding: 1.35rem !important;
    border-radius: var(--radius-lg) !important;
  }
  .service-list-item {
    padding: 0.9rem !important;
  }
  .service-name {
    font-size: 0.96rem !important;
  }
  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .time-slot-btn {
    padding: 0.65rem 0.4rem !important;
    font-size: 0.82rem !important;
  }

  /* Floating Sticky CTA on Mobile Detail View */
  .mobile-detail-floating-cta {
    display: flex !important;
    position: fixed !important;
    bottom: 60px !important; /* Right above mobile bottom nav */
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    background: rgba(11, 15, 25, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 0.75rem 1.25rem !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.6) !important;
  }
}

/* =========================================================================
   GOOGLE TRANSLATE CUSTOM LANGUAGE SWITCHER STYLES (TR / EN / AR)
   ========================================================================= */
.lang-switcher-pill {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

/* Hide default Google Translate bar & tooltip */
body {
  top: 0 !important;
}
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame {
  display: none !important;
}
.goog-tooltip {
  display: none !important;
}
.goog-tooltip:hover {
  display: none !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

