/* ============================================================
   jahuu — Booking System v2
   ============================================================ */

/* ── Sayfa wrapper ── */
.termin-page-wrap {
  padding-top: 80px;
  background: #f5f7fa;
  min-height: 100vh;
  padding-bottom: 80px;
}

/* ── Sayfa başlığı ── */
.termin-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
}

.termin-hero .label-pill {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  color: #059669;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.termin-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.6rem;
  letter-spacing: -0.5px;
}

.termin-hero p {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

/* ── Ana widget kartı ── */
.bk-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  padding: 2.5rem 2.5rem 3rem;
}

@media (max-width: 600px) {
  .bk-card { padding: 1.5rem 1rem 2rem; margin: 0 8px; border-radius: 16px; }

  /* Standart mobil dokunma hedefleri (48px) */
  .bk-form-input { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  textarea.bk-form-input { font-size: 15px; }
  .bk-btn-next { padding: 14px 28px; font-size: 15px; border-radius: 14px; }
  .bk-btn-back { padding: 14px 20px; font-size: 14px; border-radius: 14px; }
  .bk-nav { gap: 10px; }
  .bk-step-title { font-size: 1.05rem; margin-bottom: 1.2rem; }
  .bk-field-label { font-size: 11px; margin-bottom: 6px; }
  .bk-service-card { padding: 14px 8px; min-height: 80px; }
  .bk-date-card { padding: 16px 8px; }
  .bk-date-num { font-size: 1.6rem; }
  .bk-time-chip { padding: 13px 6px; font-size: 14px; }
}

@media (max-width: 520px) {
  .bk-step-label { display: none; }
  .bk-step-circle { width: 32px; height: 32px; font-size: 13px; }
  .bk-step-line { min-width: 20px; }
  .bk-steps { margin-bottom: 1.5rem; }
}

/* ── Step göstergesi ── */
.bk-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0;
}

.bk-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.bk-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.bk-step-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
  transition: color 0.25s;
}

.bk-step-item.active .bk-step-circle {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}

.bk-step-item.active .bk-step-label { color: #10b981; }

.bk-step-item.done .bk-step-circle {
  background: #10b981;
  color: #fff;
}

.bk-step-item.done .bk-step-label { color: #475569; }

.bk-step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin-bottom: 18px;
  min-width: 40px;
  max-width: 100px;
  transition: background 0.3s;
}

.bk-step-line.done { background: #10b981; }

/* ── Adım başlığı ── */
.bk-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1.5rem;
}

/* ── Kategori grid ── */
.bk-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1.5rem;
}

@media (max-width: 500px) {
  .bk-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.bk-cat-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 14px 18px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
}

.bk-cat-card:hover {
  border-color: #10b981;
  background: #f0fdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.1);
}

.bk-cat-card.selected {
  border-color: #10b981;
  border-width: 2px;
  background: #f0fdf8;
}

.bk-cat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bk-cat-icon svg { width: 44px; height: 44px; stroke-width: 1.4; }

.bk-cat-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

/* ── Marka grid ── */
.bk-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .bk-brand-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 480px) {
  .bk-brand-grid { grid-template-columns: repeat(2, 1fr); }
}

.bk-brand-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.bk-brand-card:hover {
  border-color: #10b981;
  background: #f0fdf8;
  transform: translateY(-2px);
}

.bk-brand-card.selected {
  border-color: #10b981;
  border-width: 2px;
  background: #f0fdf8;
}

.bk-brand-card img {
  width: 90%;
  max-width: 200px;
  height: auto;
  max-height: 110px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.bk-brand-name {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.bk-brand-text {
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.3px;
}

/* ── Arama dropdown sonuçları ── */
.bk-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  z-index: 200;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.bk-search-results.show { display: block; }

.bk-sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid #f1f5f9;
}

.bk-sr-item:last-child { border-bottom: none; }
.bk-sr-item:hover { background: #f0fdf8; }

.bk-sr-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.bk-sr-fallback {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  border-radius: 6px;
  flex-shrink: 0;
}

.bk-sr-name {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
}

/* ── Seçili model barı (service ekranı üstü) ── */
.bk-selected-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0fdf8;
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 1.25rem;
}

.bk-selected-bar img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.bk-selected-bar-info { flex: 1; min-width: 0; }

.bk-selected-bar-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #10b981;
  margin-bottom: 3px;
}

.bk-selected-bar-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-btn-change {
  padding: 7px 16px;
  border: 1.5px solid #10b981;
  border-radius: 8px;
  background: transparent;
  color: #10b981;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  flex-shrink: 0;
}

.bk-btn-change:hover { background: #f0fdf8; }

/* ── Model arama ── */
.bk-search-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.bk-search-wrap input {
  width: 100%;
  padding: 13px 54px 13px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  outline: none;
  background: #fff;
  transition: border-color 0.18s;
  box-sizing: border-box;
}

.bk-search-wrap input:focus { border-color: #10b981; }
.bk-search-wrap input::placeholder { color: #bbb; }

.bk-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #10b981;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

/* ── Model grid ── */
.bk-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
  .bk-model-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 400px) {
  .bk-model-grid { grid-template-columns: repeat(2, 1fr); }
}

.bk-model-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
}

.bk-model-card:hover {
  border-color: #10b981;
  background: #f0fdf8;
}

.bk-model-card.selected {
  border-color: #10b981;
  border-width: 2px;
  background: #f0fdf8;
}

.bk-model-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
}

.bk-model-name {
  font-size: 10px;
  font-weight: 500;
  color: #334155;
  line-height: 1.3;
}

/* ── Servis grid ── */
.bk-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.25rem;
}

@media (min-width: 600px) {
  .bk-service-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 400px) {
  .bk-service-grid { grid-template-columns: repeat(2, 1fr); }
}

.bk-service-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 10px;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.bk-service-card:hover {
  border-color: #10b981;
  background: #f0fdf8;
}

.bk-service-card.selected {
  border-color: #10b981;
  border-width: 2px;
  background: #f0fdf8;
}

.bk-svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f0fdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  flex-shrink: 0;
}

.bk-svc-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }

.bk-svc-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

/* ── Servis ekranı alan etiketi ── */
.bk-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #334155;
  margin-bottom: 10px;
}

.bk-svc-desc-wrap { margin-top: 1.25rem; }

/* ── Servis yöntemi ── */
.bk-method-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.bk-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.bk-method-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
}

.bk-method-card:hover { border-color: #10b981; background: #f0fdf8; }
.bk-method-card.active { border-color: #10b981; border-width: 2px; background: #f0fdf8; }

.bk-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f0fdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  flex-shrink: 0;
}

.bk-method-label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

/* ── Kişi tipi ── */
.bk-person-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.bk-person-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #fff;
  transition: all 0.18s;
}

.bk-person-card:hover { border-color: #10b981; background: #f0fdf8; }
.bk-person-card.active { border-color: #10b981; border-width: 2px; background: #f0fdf8; }

/* ── İletişim formu ── */
.bk-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (max-width: 500px) { .bk-form-row { grid-template-columns: 1fr; } }

.bk-form-group { margin-bottom: 12px; }

.bk-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bk-form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 9px;
  font-size: 14px;
  font-family: inherit;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  box-sizing: border-box;
}

.bk-form-input:focus { border-color: #10b981; background: #fff; }
.bk-form-input.error { border-color: #ef4444; }
textarea.bk-form-input { resize: vertical; min-height: 80px; }

.bk-dsgvo {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  cursor: pointer;
}

.bk-dsgvo input { flex-shrink: 0; margin-top: 2px; accent-color: #10b981; }
.bk-dsgvo a { color: #10b981; text-decoration: none; }

/* ── Terminwunsch (Tarih) ── */
.bk-date-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1.5rem;
}

@media (max-width: 500px) { .bk-date-grid { grid-template-columns: repeat(2, 1fr); } }

.bk-date-card {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
}

.bk-date-card:hover { border-color: #10b981; background: #f0fdf8; }
.bk-date-card.selected { border-color: #10b981; border-width: 2px; background: #f0fdf8; }

.bk-date-day { font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.bk-date-num { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin-bottom: 2px; }
.bk-date-mon { font-size: 11px; color: #64748b; }
.bk-date-card.selected .bk-date-num { color: #10b981; }

.bk-time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1.5rem;
}

@media (max-width: 400px) { .bk-time-grid { grid-template-columns: repeat(3, 1fr); } }

.bk-time-chip {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 9px 6px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s;
}

.bk-time-chip:hover { border-color: #10b981; background: #f0fdf8; }
.bk-time-chip.selected { border-color: #10b981; border-width: 2px; background: #f0fdf8; color: #10b981; }

/* ── Navigasyon butonları ── */
.bk-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.bk-nav--top {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.bk-nav.end { justify-content: flex-end; }

/* ── Andere Marke / Andere Modell kartları ── */
.bk-other-card { justify-content: center; }
.bk-other-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  margin-bottom: 4px;
}
.bk-other-card:hover .bk-other-icon { background: #dcfce7; color: #10b981; }
.bk-other-card.selected .bk-other-icon { background: #10b981; color: #fff; }

.bk-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid #e2e8f0;
  border-radius: 50px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  text-decoration: none;
}

.bk-btn-back:hover { border-color: #94a3b8; color: #334155; }

.bk-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 28px;
  border: none;
  border-radius: 50px;
  background: #10b981;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
}

.bk-btn-next:hover:not(:disabled) { background: #059669; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(16,185,129,0.3); }
.bk-btn-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.bk-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 32px;
  border: none;
  border-radius: 50px;
  background: #10b981;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s;
  width: auto;
  justify-content: center;
  margin-top: 6px;
}

.bk-btn-submit:hover:not(:disabled) { background: #059669; }
.bk-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Loading / empty ── */
.bk-loading {
  text-align: center;
  padding: 50px 20px;
  color: #64748b;
  grid-column: 1 / -1;
}

.bk-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #10b981;
  border-radius: 50%;
  animation: bkSpin .7s linear infinite;
  margin: 0 auto 14px;
}

@keyframes bkSpin { to { transform: rotate(360deg); } }

.bk-empty {
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-size: 13px;
  grid-column: 1 / -1;
}

/* ── Özet sidebar ── */
.bk-step5-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 780px) {
  .bk-step5-layout { grid-template-columns: 1fr; }
  .bk-summary { order: -1; }
}

.bk-summary {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

@media (max-width: 780px) {
  .bk-summary { position: static; }
}

.bk-summary-head {
  background: #0f172a;
  padding: 14px 18px;
  color: #fff;
}

.bk-summary-head h4 { font-size: 13px; font-weight: 700; margin: 0 0 2px; }
.bk-summary-head p  { font-size: 11px; opacity: 0.5; margin: 0; }

.bk-summary-body { padding: 14px 18px; }

.bk-sum-img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
  margin-bottom: 12px;
}

.bk-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 12px;
}

.bk-sum-row:last-of-type { border-bottom: none; }
.bk-sum-k { color: #94a3b8; font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.bk-sum-v { font-weight: 600; color: #0f172a; font-size: 12px; text-align: right; max-width: 55%; }

.bk-sum-total {
  margin-top: 10px;
  background: rgba(16,185,129,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.bk-sum-total .ot-k { font-weight: 600; color: #334155; }
.bk-sum-total .ot-v { font-weight: 800; color: #10b981; font-size: 13px; }

/* ── Success ── */
.bk-success-wrap {
  text-align: center;
  padding: 60px 40px;
}

.bk-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.bk-success-icon svg { color: #10b981; }
.bk-success-wrap h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
.bk-success-wrap p  { color: #64748b; font-size: 15px; margin-bottom: 28px; }

/* ── Animasyon ── */
@keyframes bkSlideRight { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:translateX(0); } }
@keyframes bkSlideLeft  { from { opacity:0; transform:translateX(-24px); } to { opacity:1; transform:translateX(0); } }
.bk-anim-right { animation: bkSlideRight .22s ease forwards; }
.bk-anim-left  { animation: bkSlideLeft  .22s ease forwards; }

/* ── BS step visibility ── */
.bs-step { display: none; }
