/* ==========================================================================
   RANDEVU PLATFORMU - ORTAK TASARIM SİSTEMİ (app.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #006654;
  --primary-dark: #004d3f;
  --primary-light: #e6f4f1;
  --primary-border: #bce3db;
  --primary-ring: rgba(0, 102, 84, 0.14);

  --red: #c62828;
  --red-light: #fdecec;
  --amber: #b45309;
  --amber-light: #fef3c7;
  --blue: #1d4ed8;
  --blue-light: #e0e7ff;
  --gray-light: #f1f5f9;

  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --bg: #f4f7f6;
  --card: #ffffff;
  --border: #e2e8f0;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-full: 9999px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

body.modal-open { overflow: hidden; }

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.hidden { display: none !important; }
.muted { color: var(--text-muted); }
.small { font-size: 0.8rem; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.row { display: flex; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* --------------------------------------------------------------------------
   Yerleşim
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container-narrow { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container,
.site-header .container-narrow { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff;
  display: grid; place-items: center;
}
.brand-mark svg { width: 18px; height: 18px; }
.header-links { display: flex; align-items: center; gap: 4px; }
.header-links a { padding: 8px 12px; border-radius: var(--r-full); color: var(--text); font-weight: 600; font-size: 0.875rem; }
.header-links a:hover { background: var(--primary-light); color: var(--primary); }
@media (max-width: 560px) { .header-links .hide-sm { display: none; } }

.site-footer { padding: 32px 0 40px; color: var(--text-muted); font-size: 0.825rem; border-top: 1px solid var(--border); margin-top: 48px; background: var(--card); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--primary); }
.site-footer .footer-credit { justify-content: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.dev-credit {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: var(--r-md);
  background: #0f172a; box-shadow: var(--shadow-sm); opacity: 0.9;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
}
.dev-credit img { display: block; width: 150px; height: auto; }
.dev-credit:hover, .dev-credit:focus-visible { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dev-credit:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Yasal metinler (gizlilik, kullanım koşulları) */
.legal { max-width: 760px; padding-top: 32px; padding-bottom: 48px; line-height: 1.7; }
.legal h1 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.legal h2 { font-size: 1.1rem; font-weight: 800; margin: 28px 0 8px; }
.legal h3 { font-size: 0.95rem; font-weight: 700; margin: 16px 0 6px; }
.legal p, .legal li { color: var(--text); font-size: 0.95rem; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin: 6px 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal-date { color: var(--text-muted); font-size: 0.85rem; margin: 4px 0 20px; }
.legal-links { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   Butonlar
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r-md);
  padding: 11px 18px; font-weight: 600; font-size: 0.925rem;
  cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease), color .15s var(--ease);
  background: var(--card); color: var(--text); white-space: nowrap; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-outline { border-color: var(--border); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--gray-light); }
.btn-soft { background: var(--primary-light); color: var(--primary); }
.btn-soft:hover:not(:disabled) { background: var(--primary-border); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #a51f1f; }
.btn-danger-soft { background: var(--red-light); color: var(--red); }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; border-radius: var(--r-sm); }
.btn-sm svg { width: 15px; height: 15px; }
.btn-lg { padding: 15px 22px; font-size: 1rem; }
.btn-block { width: 100%; }

.icon-btn {
  width: 40px; height: 40px; border-radius: var(--r-full); border: none; background: transparent;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--text); transition: background .15s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--primary-light); color: var(--primary); }

.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Form elemanları
   -------------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label, .label { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.field .hint { font-size: 0.75rem; color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--r-md);
  background: #fff; padding: 11px 14px; font-size: 0.925rem; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.input::placeholder, .textarea::placeholder { color: var(--text-light); }
.input.invalid, .select.invalid { border-color: var(--red); }
.textarea { resize: vertical; min-height: 84px; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.input-prefix:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.input-prefix span { padding: 11px 0 11px 14px; color: var(--text-muted); font-size: 0.875rem; white-space: nowrap; }
.input-prefix .input { border: none; box-shadow: none; padding-left: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.form-error { color: var(--red); font-size: 0.825rem; font-weight: 600; margin-bottom: 12px; }

/* Anahtar (switch) */
.switch { position: relative; width: 42px; height: 24px; display: inline-block; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: #cbd5e1; border-radius: 24px; transition: .2s; cursor: pointer; }
.switch .track::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::before { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--primary); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Kartlar, rozetler, boş durumlar
   -------------------------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 14px; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card-title svg { width: 18px; height: 18px; color: var(--primary); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-full); font-size: 0.72rem; font-weight: 700; background: var(--gray-light); color: var(--text-muted); }
.badge-primary { background: var(--primary-light); color: var(--primary); }

.status-badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.st-pending { background: var(--amber-light); color: var(--amber); }
.st-confirmed { background: var(--primary-light); color: var(--primary); }
.st-completed { background: var(--blue-light); color: var(--blue); }
.st-cancelled { background: var(--gray-light); color: var(--text-muted); text-decoration: line-through; }
.st-noshow { background: var(--red-light); color: var(--red); }

.empty { text-align: center; padding: 32px 16px; color: var(--text-muted); }
.empty svg { width: 40px; height: 40px; opacity: 0.45; margin: 0 auto 10px; }
.empty strong { display: block; color: var(--text); margin-bottom: 4px; }

.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--primary-light); color: var(--primary-dark); font-size: 0.825rem; }
.notice svg { width: 18px; height: 18px; margin-top: 1px; }
.notice-warn { background: var(--amber-light); color: var(--amber); }

.skeleton { background: linear-gradient(90deg, #eef2f5 25%, #f6f8fa 37%, #eef2f5 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: var(--r-md); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.85rem; color: #fff; background: var(--primary); flex-shrink: 0; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.fatal-banner { background: var(--red); color: #fff; padding: 12px 16px; text-align: center; font-weight: 600; font-size: 0.875rem; }

/* --------------------------------------------------------------------------
   Toast & Modal
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; top: 16px; left: 50%; z-index: 3000;
  transform: translate(-50%, -140%); transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
  background: var(--text); color: #fff; padding: 12px 20px; border-radius: var(--r-md);
  font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 32px); width: max-content; text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast.success { background: var(--primary); }
.toast.error { background: var(--red); }

.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, 0.45);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
  width: 100%; max-width: 480px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg);
  transform: translateY(12px); transition: transform .2s var(--ease);
}
.modal-overlay.active .modal-card { transform: none; }
.modal-sm { max-width: 380px; }
.modal-lg { max-width: 640px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.confirm-text { font-size: 0.95rem; font-weight: 500; }
@media (max-width: 520px) {
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-card { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; max-height: 92dvh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   ANA SAYFA (işletme dizini)
   -------------------------------------------------------------------------- */
.hero { padding: 48px 0 28px; background: radial-gradient(1200px 400px at 10% -10%, #d9f0ea 0%, transparent 60%), var(--bg); }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; max-width: 680px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { color: var(--text-muted); margin-top: 10px; font-size: 1.02rem; max-width: 560px; }
.search-bar {
  margin-top: 24px; display: flex; gap: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 6px; box-shadow: var(--shadow-md); max-width: 680px;
}
.search-bar .search-field { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 10px; min-width: 0; }
.search-bar .search-field svg { width: 18px; height: 18px; color: var(--text-muted); }
.search-bar input, .search-bar select { border: none; outline: none; background: transparent; width: 100%; padding: 10px 0; font-size: 0.95rem; min-width: 0; }
.search-bar .divider { width: 1px; background: var(--border); margin: 8px 0; }
@media (max-width: 600px) {
  .search-bar { flex-wrap: wrap; }
  .search-bar .search-field { flex-basis: 100%; }
  .search-bar .divider { display: none; }
  .search-bar .btn { width: 100%; }
}

.chip-scroller { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.chip-scroller::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--border); background: #fff; border-radius: var(--r-full);
  padding: 8px 14px; font-size: 0.85rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: .15s; color: var(--text);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 14px; }
.section-head h2 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; }

.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.biz-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; color: var(--text); transition: box-shadow .2s, transform .2s;
}
.biz-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.biz-cover { height: 120px; background: linear-gradient(135deg, var(--primary) 0%, #0f8a72 100%); position: relative; }
.biz-cover img { width: 100%; height: 100%; object-fit: cover; }
.biz-cover .avatar { position: absolute; left: 14px; bottom: -20px; width: 48px; height: 48px; border: 3px solid #fff; font-size: 1rem; background: var(--primary-dark); }
.biz-body { padding: 26px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.biz-name { font-weight: 700; font-size: 1rem; }
.biz-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.biz-meta svg { width: 14px; height: 14px; }
.biz-desc { font-size: 0.82rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
.biz-card .btn { margin: 0 14px 14px; }

.feature-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.feature .f-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; margin-bottom: 10px; }
.feature .f-icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 0.95rem; margin-bottom: 4px; }
.feature p { font-size: 0.85rem; color: var(--text-muted); }

.cta-band {
  margin-top: 36px; border-radius: var(--r-lg); padding: 28px; color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-band h2 { font-size: 1.3rem; }
.cta-band p { opacity: 0.85; font-size: 0.9rem; margin-top: 4px; }
.cta-band .btn { background: #fff; color: var(--primary); }

/* --------------------------------------------------------------------------
   İŞLETME SAYFASI & RANDEVU AKIŞI
   -------------------------------------------------------------------------- */
.biz-hero { background: #fff; border-bottom: 1px solid var(--border); }
.biz-hero-cover { height: 150px; background: linear-gradient(135deg, var(--primary) 0%, #0f8a72 100%); }
.biz-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.biz-hero-body { padding: 0 16px 16px; }
.biz-hero-top { display: flex; align-items: flex-end; gap: 12px; margin-top: -34px; }
.biz-hero-top .avatar { width: 72px; height: 72px; border: 4px solid #fff; font-size: 1.4rem; box-shadow: var(--shadow-sm); background: var(--primary-dark); }
.biz-hero h1 { font-size: 1.35rem; font-weight: 800; margin-top: 10px; letter-spacing: -0.01em; }
.biz-hero .biz-meta { margin-top: 2px; }
.biz-actions { display: flex; gap: 8px; margin-top: 14px; }
.biz-actions .btn { flex: 1; padding: 9px 10px; font-size: 0.82rem; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); background: #fff; position: sticky; top: 60px; z-index: 40; padding: 0 8px; }
.tab { flex: 1; background: none; border: none; padding: 13px 8px; font-weight: 600; font-size: 0.875rem; color: var(--text-muted); cursor: pointer; border-bottom: 2.5px solid transparent; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; padding: 16px 0 40px; }
.tab-panel.active { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.step { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; transition: opacity .2s; }
.step.locked { opacity: 0.5; pointer-events: none; }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; flex-shrink: 0; }
.step.done .step-num { background: var(--primary); color: #fff; }
.step-title { font-weight: 700; font-size: 0.975rem; }
.step-sub { margin-left: auto; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r-md); cursor: pointer; background: #fff; text-align: left; width: 100%; transition: .15s;
}
.service-item:hover { border-color: var(--primary-border); background: #fbfdfc; }
.service-item.selected { border-color: var(--primary); background: var(--primary-light); }
.service-item .s-name { font-weight: 700; font-size: 0.925rem; }
.service-item .s-desc { font-size: 0.78rem; color: var(--text-muted); }
.service-item .s-meta { margin-left: auto; text-align: right; flex-shrink: 0; }
.service-item .s-price { font-weight: 800; font-size: 0.925rem; color: var(--primary); }
.service-item .s-dur { font-size: 0.75rem; color: var(--text-muted); }
.radio-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; display: grid; place-items: center; }
.selected .radio-dot { border-color: var(--primary); }
.selected .radio-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }

.staff-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.staff-chip {
  display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 84px; padding: 10px 8px;
  border: 1.5px solid var(--border); border-radius: var(--r-md); background: #fff; cursor: pointer; transition: .15s;
}
.staff-chip:hover { border-color: var(--primary-border); }
.staff-chip.selected { border-color: var(--primary); background: var(--primary-light); }
.staff-chip .avatar { width: 44px; height: 44px; }
.staff-chip .sc-name { font-size: 0.8rem; font-weight: 700; text-align: center; line-height: 1.2; }
.staff-chip .sc-title { font-size: 0.68rem; color: var(--text-muted); text-align: center; }
.avatar-any { background: var(--gray-light) !important; color: var(--primary) !important; }
.avatar-any svg { width: 22px; height: 22px; }

.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.date-pill {
  min-width: 62px; padding: 9px 6px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; scroll-snap-align: start; transition: .15s;
}
.date-pill .dp-day { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.date-pill .dp-num { font-size: 1.15rem; font-weight: 800; }
.date-pill .dp-info { font-size: 0.64rem; font-weight: 600; color: var(--primary); }
.date-pill:hover:not(:disabled) { border-color: var(--primary-border); }
.date-pill.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.date-pill.selected .dp-day, .date-pill.selected .dp-info { color: rgba(255,255,255,.85); }
.date-pill:disabled { cursor: not-allowed; background: var(--gray-light); }
.date-pill:disabled .dp-num { color: var(--text-light); }
.date-pill:disabled .dp-info { color: var(--text-light); }

.slot-group-title { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 12px 0 8px; }
.slot-group-title:first-child { margin-top: 0; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.slot {
  padding: 10px 4px; border-radius: var(--r-md); border: 1.5px solid var(--primary-border); background: #fff;
  font-weight: 700; font-size: 0.875rem; color: var(--primary); cursor: pointer; transition: .15s;
}
.slot:hover { background: var(--primary-light); }
.slot.selected { background: var(--primary); color: #fff; border-color: var(--primary); }

.summary { background: var(--gray-light); border-radius: var(--r-md); padding: 12px 14px; font-size: 0.85rem; display: grid; gap: 6px; margin-bottom: 14px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--text-muted); }
.summary strong { text-align: right; }

.success-box { text-align: center; padding: 8px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; margin: 0 auto 12px; }
.success-icon svg { width: 32px; height: 32px; }
.code-box { margin: 16px auto; padding: 12px 18px; border: 2px dashed var(--primary-border); border-radius: var(--r-md); display: inline-block; }
.code-box .code { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.18em; color: var(--primary); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-box small { display: block; font-size: 0.72rem; color: var(--text-muted); }

.booking-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px; background: #fff; }
.booking-card + .booking-card { margin-top: 10px; }
.booking-card.past { opacity: 0.7; }
.booking-card .bc-when { font-weight: 800; font-size: 0.95rem; }
.booking-card .bc-what { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.booking-card .bc-biz { font-weight: 700; font-size: 0.85rem; color: var(--primary); }
.booking-card .bc-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.info-list { display: grid; gap: 4px; }
.info-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.info-item:last-child { border-bottom: none; }
.info-item .ii-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ii-icon svg { width: 18px; height: 18px; }
.info-item .ii-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.info-item .ii-value { font-size: 0.9rem; font-weight: 600; word-break: break-word; }
.hours-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.hours-table td { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.today td { color: var(--primary); font-weight: 800; }

.page-state { padding: 60px 16px; text-align: center; }
.page-state h1 { font-size: 1.3rem; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   Şifre bileşeni (passwords.js)
   -------------------------------------------------------------------------- */
.pw-field { position: relative; }
.pw-field .input { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border: none; background: none; border-radius: var(--r-full);
  display: grid; place-items: center; color: var(--text-muted); cursor: pointer;
}
.pw-toggle:hover { color: var(--primary); background: var(--primary-light); }
.pw-toggle svg { width: 20px; height: 20px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 4px 0 6px; }
.pw-meter i { height: 5px; border-radius: 4px; background: var(--border); transition: background .2s; }
.pw-label { font-size: 0.8rem; font-weight: 700; min-height: 1.2em; }
.pw-rules { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin: 8px 0 4px; font-size: 0.78rem; color: var(--text-muted); }
.pw-rules li::before { content: "○"; display: inline-block; width: 1.3em; color: var(--text-light); }
.pw-rules li.ok { color: var(--primary); font-weight: 600; }
.pw-rules li.ok::before { content: "✓"; color: var(--primary); font-weight: 800; }
.pw-rules li.bad { color: var(--red); }
.pw-rules li.bad::before { content: "✕"; color: var(--red); font-weight: 800; }
.pw-issues { list-style: none; margin: 6px 0 0; padding: 0; font-size: 0.78rem; color: var(--red); display: grid; gap: 3px; }
.pw-issues li::before { content: "• "; }
.pw-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pw-gen-note { margin-top: 6px; }

/* --------------------------------------------------------------------------
   Mobil iyileştirmeler
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* iOS Safari, 16px altındaki alanlara odaklanınca sayfayı yakınlaştırır */
  .input, .select, .textarea, .search-bar input, .search-bar select { font-size: 16px; }
  .btn-sm { min-height: 40px; padding: 9px 14px; }
  .btn { min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .check input { width: 20px; height: 20px; }
  .pw-rules { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .biz-card:hover, .service-item:hover { transform: none; }
}

/* Marka alanı: işletme logosu / baş harfleri */
.brand-mark { overflow: hidden; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand .site-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.form-grid > * { min-width: 0; }
