/**
 * bayi-giris.css v2 — Beyaz kart, yüksek kontrast
 */
.bg-page {
  min-height: 100vh; margin: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #0f172a;
  background: #e8f5f3;
  position: relative; overflow-x: hidden;
}

.bg-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13, 148, 136, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(45, 212, 191, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #ecfdf5 0%, #e0f2f1 50%, #f0fdfa 100%);
}

.bg-wrap { position: relative; z-index: 1; width: 100%; max-width: 460px; }

.bg-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px; font-size: 0.82rem; font-weight: 700;
  color: #475569; text-decoration: none; transition: color 0.2s;
}
.bg-back:hover { color: #0f766e; }

/* —— Ana kart: düz beyaz —— */
.bg-card {
  background: #ffffff;
  border: 1px solid #d1e7e4;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 20px 48px rgba(13, 148, 136, 0.12);
  overflow: hidden;
}

.bg-head {
  padding: 28px 28px 18px; text-align: center;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
}
.bg-head__logo {
  height: 36px; margin-bottom: 18px;
  filter: none; opacity: 1;
}
.bg-head__icon {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px;
  background: linear-gradient(145deg, #14b8a6, #0d9488);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}
.bg-head h1 {
  margin: 0 0 6px; font-size: 1.35rem; font-weight: 800;
  color: #0f172a; letter-spacing: -0.02em;
}
.bg-head p { margin: 0; font-size: 0.84rem; color: #64748b; line-height: 1.55; max-width: 320px; margin-inline: auto; }

.bg-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 12px 20px; background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.bg-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
  color: #475569; background: #fff;
  border: 1px solid #e2e8f0;
}
.bg-pill i { color: #0d9488; font-size: 0.85rem; }

.bg-steps {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 20px 0; background: #fff;
}
.bg-step {
  display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700;
  color: #94a3b8;
}
.bg-step__num {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #f1f5f9; border: 2px solid #e2e8f0;
  font-size: 0.78rem; color: #64748b;
}
.bg-step--on { color: #0f766e; }
.bg-step--on .bg-step__num {
  background: #0d9488; border-color: #0d9488; color: #fff;
}
.bg-step--done { color: #475569; }
.bg-step--done .bg-step__num { background: #ccfbf1; border-color: #5eead4; color: #0f766e; }
.bg-steps__line { width: 36px; height: 2px; background: #e2e8f0; border-radius: 1px; }
.bg-steps__line--on { background: #14b8a6; }

.bg-body { padding: 20px 28px 28px; background: #fff; }

.bg-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px; font-size: 0.84rem; font-weight: 600;
  margin-bottom: 16px; line-height: 1.45;
}
.bg-alert--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.bg-alert--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.bg-form { display: flex; flex-direction: column; gap: 14px; }
.bg-field label {
  display: block; font-size: 0.8rem; font-weight: 700; color: #334155;
  margin-bottom: 6px;
}
.bg-input-wrap {
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 14px;
  background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bg-input-wrap:focus-within {
  border-color: #14b8a6; background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}
.bg-input-wrap > i.bi:first-child { color: #94a3b8; font-size: 1.05rem; flex-shrink: 0; }
.bg-input-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 0.95rem; font-weight: 600; color: #0f172a; min-width: 0;
}
.bg-input-wrap input::placeholder { color: #94a3b8; font-weight: 500; }
.bg-input-wrap--otp input {
  text-align: center; font-size: 1.4rem; letter-spacing: 0.3em; font-weight: 800; color: #0f172a;
}

.bg-hint {
  font-size: 0.8rem; line-height: 1.5; text-align: center;
  padding: 12px 14px; border-radius: 10px;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
}
.bg-bayi-name {
  font-size: 0.88rem; color: #475569; margin-bottom: 6px; line-height: 1.5;
}
.bg-bayi-name strong { color: #0f766e; }

.bg-check {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none;
}
.bg-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.bg-check__box {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
  border: 2px solid #cbd5e1; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.bg-check__box i { font-size: 0.75rem; color: #fff; opacity: 0; transform: scale(0.5); transition: all 0.15s; }
.bg-check input:checked + .bg-check__box { background: #0d9488; border-color: #0d9488; }
.bg-check input:checked + .bg-check__box i { opacity: 1; transform: scale(1); }
.bg-check__text { font-size: 0.82rem; color: #475569; font-weight: 600; line-height: 1.45; }

.bg-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 20px; border: none; border-radius: 12px;
  font-size: 0.92rem; font-weight: 800; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.bg-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.bg-btn--primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: #fff; box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}
.bg-btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.4); color: #fff;
}
.bg-btn--ghost {
  background: #fff; color: #475569;
  border: 1.5px solid #e2e8f0;
}
.bg-btn--ghost:hover { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }

.bg-divider {
  display: flex; align-items: center; gap: 12px; margin: 22px 0 14px;
  font-size: 0.7rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.bg-divider::before, .bg-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.bg-alt { display: flex; flex-direction: column; gap: 10px; }
.bg-alt-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 12px; text-decoration: none; border: 1.5px solid;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}
.bg-alt-card:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.bg-alt-card__icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.bg-alt-card__text { flex: 1; min-width: 0; }
.bg-alt-card__text strong { display: block; font-size: 0.88rem; font-weight: 800; color: #0f172a; }
.bg-alt-card__text small { display: block; font-size: 0.74rem; margin-top: 2px; color: #64748b; line-height: 1.35; }
.bg-alt-card > .bi-arrow-right { color: #94a3b8; flex-shrink: 0; }

.bg-alt-card--musteri { border-color: #bae6fd; background: #f0f9ff; }
.bg-alt-card--musteri .bg-alt-card__icon { background: #e0f2fe; color: #0284c7; }
.bg-alt-card--musteri strong { color: #0369a1; }

.bg-alt-card--admin { border-color: #c4b5fd; background: #f5f3ff; }
.bg-alt-card--admin .bg-alt-card__icon { background: #ede9fe; color: #6366f1; }
.bg-alt-card--admin strong { color: #5b21b6; }

.bg-foot { margin-top: 20px; text-align: center; padding: 0 8px; }
.bg-foot p { margin: 0; font-size: 0.72rem; color: #64748b; line-height: 1.65; }
.bg-foot strong { color: #475569; }

@media (max-width: 479px) {
  .bg-head { padding: 22px 20px 16px; }
  .bg-body { padding: 16px 20px 24px; }
  .bg-head h1 { font-size: 1.2rem; }
  .bg-step span:last-child { display: none; }
}
