/**
 * yonetici-login.css v2 — Beyaz kart, yüksek kontrast
 */
.yl-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: #eef2ff;
  position: relative; overflow-x: hidden;
}

.yl-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(99, 102, 241, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #eef2ff 0%, #f5f3ff 50%, #faf5ff 100%);
}

.yl-wrap { position: relative; z-index: 1; width: 100%; max-width: 460px; }

.yl-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;
}
.yl-back:hover { color: #4f46e5; }

.yl-card {
  background: #ffffff;
  border: 1px solid #e0e7ff;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(15, 23, 42, 0.04), 0 20px 48px rgba(99, 102, 241, 0.12);
  overflow: hidden;
}

.yl-head {
  padding: 28px 28px 18px; text-align: center;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}
.yl-head__logo { height: 36px; margin-bottom: 18px; filter: none; opacity: 1; }
.yl-head__icon {
  width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px;
  background: linear-gradient(145deg, #818cf8, #6366f1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}
.yl-head h1 {
  margin: 0 0 6px; font-size: 1.35rem; font-weight: 800;
  color: #0f172a; letter-spacing: -0.02em;
}
.yl-head p { margin: 0; font-size: 0.84rem; color: #64748b; line-height: 1.55; max-width: 300px; margin-inline: auto; }

.yl-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 12px 20px; background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.yl-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;
}
.yl-pill i { color: #6366f1; font-size: 0.85rem; }

.yl-body { padding: 24px 28px 28px; background: #fff; }

.yl-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;
}
.yl-alert--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.yl-alert--info { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }

.yl-form { display: flex; flex-direction: column; gap: 14px; }
.yl-field label {
  display: block; font-size: 0.8rem; font-weight: 700; color: #334155; margin-bottom: 6px;
}
.yl-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;
}
.yl-input-wrap:focus-within {
  border-color: #818cf8; background: #fff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.yl-input-wrap > i.bi:first-child { color: #94a3b8; font-size: 1.05rem; flex-shrink: 0; }
.yl-input-wrap input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 0.95rem; font-weight: 600; color: #0f172a; min-width: 0;
}
.yl-input-wrap input::placeholder { color: #94a3b8; font-weight: 500; }
.yl-toggle-pw {
  border: none; background: none; color: #94a3b8; cursor: pointer;
  padding: 4px; font-size: 1.05rem; flex-shrink: 0;
}
.yl-toggle-pw:hover { color: #6366f1; }

.yl-check {
  display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none;
}
.yl-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.yl-check__box {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  border: 2px solid #cbd5e1; background: #fff;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.yl-check__box i { font-size: 0.75rem; color: #fff; opacity: 0; transform: scale(0.5); transition: all 0.15s; }
.yl-check input:checked + .yl-check__box { background: #6366f1; border-color: #6366f1; }
.yl-check input:checked + .yl-check__box i { opacity: 1; transform: scale(1); }
.yl-check__text { font-size: 0.82rem; color: #475569; font-weight: 600; }

.yl-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;
  margin-top: 4px;
}
.yl-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.yl-btn--primary {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  color: #fff; box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}
.yl-btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.4);
}
.yl-btn--ghost {
  background: #fff; color: #475569; border: 1.5px solid #e2e8f0; margin-top: 4px;
}
.yl-btn--ghost:hover { background: #f8fafc; color: #0f172a; }

.yl-divider {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 14px;
  font-size: 0.7rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.yl-divider::before, .yl-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }

.yl-alt { display: flex; flex-direction: column; gap: 10px; }
.yl-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;
}
.yl-alt-card:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.yl-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;
}
.yl-alt-card__text { flex: 1; min-width: 0; }
.yl-alt-card__text strong { display: block; font-size: 0.88rem; font-weight: 800; color: #0f172a; }
.yl-alt-card__text small { display: block; font-size: 0.74rem; margin-top: 2px; color: #64748b; line-height: 1.35; }
.yl-alt-card > .bi-arrow-right { color: #94a3b8; flex-shrink: 0; }

.yl-alt-card--musteri { border-color: #bae6fd; background: #f0f9ff; }
.yl-alt-card--musteri .yl-alt-card__icon { background: #e0f2fe; color: #0284c7; }
.yl-alt-card--musteri strong { color: #0369a1; }

.yl-alt-card--bayi { border-color: #99f6e4; background: #f0fdfa; }
.yl-alt-card--bayi .yl-alt-card__icon { background: #ccfbf1; color: #0d9488; }
.yl-alt-card--bayi strong { color: #0f766e; }

.yl-foot { margin-top: 20px; text-align: center; padding: 0 8px; }
.yl-foot p { margin: 0; font-size: 0.72rem; color: #64748b; line-height: 1.65; }
.yl-foot strong { color: #475569; }

@media (max-width: 479px) {
  .yl-head { padding: 22px 20px 16px; }
  .yl-body { padding: 20px; }
  .yl-head h1 { font-size: 1.2rem; }
}
