/* ═══════════════════════════════════════
   GÖRÜŞME REZERVASYON SİSTEMİ
   ═══════════════════════════════════════ */

/* ── Başarı toast ── */
.bk-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(2rem);
  background: #0f5132;
  color: #fff;
  padding: .85rem 1.75rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 9999;
  white-space: nowrap;
}
.bk-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Overlay ── */
.bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(27, 45, 94, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.bk-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ── Box ── */
.bk-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.bk-overlay.open .bk-box {
  transform: translateY(0) scale(1);
}

/* ── Kapat ── */
.bk-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  line-height: 1;
}
.bk-close:hover { background: rgba(255,255,255,0.3); color: var(--white); }

/* ── Adım göstergesi ── */
.bk-steps {
  display: flex;
  align-items: center;
  padding: 1.75rem 2.5rem 0;
  margin-bottom: 2rem;
}
.bk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.bk-step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.bk-step > span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  transition: color var(--transition);
}
.bk-step.active .bk-step-num { background: var(--navy); color: var(--white); }
.bk-step.active > span        { color: var(--navy); }
.bk-step.done .bk-step-num   { background: var(--teal); color: var(--white); }
.bk-step.done > span          { color: var(--teal); }

.bk-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 0.75rem;
  margin-bottom: 1.3rem; /* daire merkezine hizala */
  transition: background 0.4s ease;
}
.bk-step-line.done { background: var(--teal); }

/* ── Panel ── */
.bk-panel { padding: 0 2.5rem 2rem; }
.bk-panel .form-row + .form-group,
.bk-panel .form-row + .form-row,
.bk-panel .form-group + .form-group:not(.form-row > .form-group),
.bk-panel .form-group + .form-row { margin-top: 1.25rem; }

.bk-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 1.5rem;
}

/* ── Takvim ── */
.cal-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: var(--navy);
  color: var(--white);
}
.cal-month-year {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
}
.cal-nav {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.cal-nav:hover { background: rgba(255,255,255,0.3); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 0;
}
.cal-day-header {
  background: var(--bg);
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}
.cal-day {
  background: var(--white);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
}
.cal-day.empty      { background: var(--bg); }
.cal-day.disabled   { color: var(--text-light); background: var(--bg); font-weight: 400; }
.cal-day.booked     { color: var(--text-light); background: var(--bg); text-decoration: line-through; font-weight: 400; }
.cal-day.available  { color: var(--navy); cursor: pointer; }
.cal-day.available:hover { background: rgba(42, 175, 212, 0.12); color: var(--teal); }
.cal-day.today      { box-shadow: inset 0 0 0 2px var(--blue-light); font-weight: 700; }
.cal-day.selected   { background: var(--navy) !important; color: var(--white) !important; font-weight: 700; }

/* ── Saat seçimi ── */
.time-slots-wrap {
  margin-bottom: 1rem;
  animation: fadeUp 0.3s ease;
}
.slots-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.slots-label strong { color: var(--navy); }
.slots-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.time-slot {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  color: var(--text-mid);
  letter-spacing: 0.02em;
}
.time-slot.available:hover {
  border-color: var(--blue);
  color: var(--teal);
  background: rgba(42, 175, 212, 0.07);
}
.time-slot.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.time-slot.booked {
  background: var(--bg);
  color: var(--text-light);
  text-decoration: line-through;
  cursor: not-allowed;
  border-style: dashed;
}

/* ── Footer (navigasyon) ── */
.bk-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.bk-selection-info {
  font-size: 0.875rem;
  color: var(--text-mid);
}
.bk-selection-info strong { color: var(--navy); }

/* Ghost buton */
.btn-ghost {
  background: none;
  border: none;
  color: var(--text-mid);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
}
.btn-ghost:hover { color: var(--navy); }

/* ── Dosya yükleme ── */
.label-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 0.35rem;
}
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--blue);
  background: rgba(42, 175, 212, 0.05);
}
.upload-zone.upload-error {
  border-color: #e53e3e;
  background: rgba(229, 62, 62, 0.04);
}
.upload-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0.35rem 0 0.75rem;
}
.upload-zone svg {
  width: 36px;
  height: 36px;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}
.upload-zone p   { font-size: 0.9rem; color: var(--text-mid); margin: 0; }
.upload-zone > span { font-size: 0.8rem; color: var(--text-light); }

.btn-outline {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.file-list {
  list-style: none;
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.875rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.file-item-icon        { color: var(--blue); flex-shrink: 0; }
.file-item-icon svg    { width: 18px; height: 18px; display: block; }
.file-item-name {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-item-size {
  font-size: 0.75rem;
  color: var(--text-light);
  flex-shrink: 0;
}
.file-item-remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  font-family: inherit;
}
.file-item-remove:hover { background: #fff0f0; color: #e53e3e; }

/* ── Hata stili ── */
.input-error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

/* ── Özet (step 3) ── */
.bk-summary {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.bk-summary h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 0;
  font-size: 0.9rem;
}
.summary-row > span   { color: var(--text-mid); }
.summary-row > strong { color: var(--text); font-weight: 600; text-align: right; }
.summary-row.summary-total {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--border);
}
.summary-row.summary-total > span   { color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.summary-row.summary-total > strong {
  color: var(--navy);
  font-size: 1.25rem;
  font-family: var(--font-head);
}

/* ── Ödeme ── */
.payment-info {
  font-size: 0.83rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.payment-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.btn-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-payment:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.btn-payment svg { width: 38px; height: 38px; }
.btn-payment span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-payment.iyzico          { border-color: #ff6b35; }
.btn-payment.iyzico:hover    { background: rgba(255, 107, 53, 0.04); }
.btn-payment.iyzico svg      { color: #ff6b35; }
.btn-payment.iyzico span     { color: #ff6b35; }
.btn-payment.bank            { border-color: var(--navy); }
.btn-payment.bank:hover      { background: rgba(27, 45, 94, 0.04); }
.btn-payment.bank svg        { color: var(--navy); }
.btn-payment.bank span       { color: var(--navy); }

/* ── OTP / Doğrulama ── */
.field-otp-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.field-otp-wrap input { flex: 1; min-width: 0; }

.btn-send-otp {
  white-space: nowrap;
  padding: 0 0.9rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn-send-otp:disabled {
  background: var(--bg-alt);
  color: var(--text-light);
  cursor: not-allowed;
}
.btn-send-otp:not(:disabled):hover { background: var(--navy); }

.otp-section {
  margin-top: 0.5rem;
  animation: fadeUp 0.25s ease;
}
.otp-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.otp-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-align: center;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--navy);
  outline: none;
  transition: var(--transition);
  background: var(--white);
}
.otp-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(42, 175, 212, 0.12);
}
.otp-input.otp-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
  animation: shake 0.35s ease;
}
.btn-check-otp {
  padding: 0 1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}
.btn-check-otp:hover { background: var(--teal); }

.otp-meta {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.7;
}
.btn-resend {
  background: none;
  border: none;
  color: var(--blue);
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
}
.btn-resend:disabled {
  color: var(--text-light);
  text-decoration: none;
  cursor: default;
}
/* Test/geliştirme ortamı kodu ipucu */
.otp-dev-hint {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  color: #2f855a;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(56, 161, 105, 0.09);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(56, 161, 105, 0.25);
}
.verify-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e53e3e;
}
.company-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 6px;
  padding: 0.4rem 0.65rem;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60%  { transform: translateX(-5px); }
  40%, 80%  { transform: translateX(5px); }
}

/* ── Animasyonlar ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .bk-panel  { padding: 0 1.25rem 1.5rem; }
  .bk-steps  { padding: 1.25rem 1.25rem 0; gap: 0; }
  .bk-step > span  { display: none; }
  .bk-step-line    { margin: 0 0.4rem; margin-bottom: 0.9rem; }
  .payment-btns    { grid-template-columns: 1fr; }
  .cal-day { font-size: 0.8rem; }
}
