/* ============================================================
   B2B KFA — Tasarım design tokens (screens.jsx → CSS variables)
   Kurumsal lacivert + amber yıldız, mobil-öncelikli responsive.
   ============================================================ */

:root {
  --bg:        #F4F6FA;
  --card:      #FFFFFF;
  --ink:       #0B1B33;
  --ink-2:     #3D4A63;
  --ink-3:     #7A879C;
  --line:      #E5E9F2;
  --brand:     #0B3D91;   /* KFA kurumsal lacivert */
  --brand-dk:  #072B6B;
  --brand-lt:  #E7EEFB;
  --accent:    #F5A623;   /* sıcak vurgu — yıldız */
  --ok:        #0E8A5F;
  --ok-bg:     #E8F5EE;
  --ok-line:   #B8E0C9;
  --err:       #C7321F;
  --scan:      #5BD0A5;

  --shadow-card:  0 1px 2px rgba(11, 27, 51, 0.04);
  --shadow-soft:  0 6px 18px rgba(11, 27, 51, 0.06);
  --shadow-brand: 0 8px 20px rgba(11, 61, 145, 0.28);

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  18px;
  --r-2xl: 24px;

  --font: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif;

  --container-mobile: 480px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Mobil-öncelikli ana sayfa kapsayıcısı — desktop'ta merkezde sınırlı genişlik */
.app-shell {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: env(safe-area-inset-bottom);
}

@media (min-width: 768px) {
  .app-shell--phone {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.10);
    min-height: 100vh;
    background: var(--bg);
  }
}

/* ── Header (lacivert gradient bant) ─────────────────────── */
.hero {
  background: linear-gradient(165deg, var(--brand-dk) 0%, var(--brand) 100%);
  color: #fff;
  padding: 56px 22px 28px;
  border-bottom-left-radius: var(--r-2xl);
  border-bottom-right-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  top: -60px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255, 255, 255, 0.06);
}
.hero::after {
  bottom: -80px; left: -30px;
  width: 180px; height: 180px;
  background: rgba(245, 166, 35, 0.12);
}
.hero > * { position: relative; z-index: 1; }

.hero__title {
  margin: 26px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.hero__subtitle {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.hero--compact { padding-top: 48px; padding-bottom: 22px; }
.hero--mini    { padding-top: 44px; padding-bottom: 14px; border-radius: 0; }
.hero--login   { padding-top: 44px; padding-bottom: 22px; }

/* ── KFA Wordmark ─────────────────────────────────────────── */
.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark__badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  color: #fff; letter-spacing: -0.5px;
}
.wordmark__title { line-height: 1; }
.wordmark__name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.4px;
  color: #fff;
}
.wordmark__name span { font-weight: 500; opacity: 0.7; }
.wordmark__sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.wordmark--dark .wordmark__badge {
  background: var(--brand-lt);
  border-color: var(--line);
  color: var(--brand);
}
.wordmark--dark .wordmark__name { color: var(--ink); }
.wordmark--dark .wordmark__sub { color: var(--ink-3); }

/* ── Login logo (beyaz rozet, hero üstünde marka renklerini korur) ── */
.hero--login { text-align: center; }
.hero--login .hero__title { margin-top: 18px; font-size: 20px; }
.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.login-logo img {
  display: block;
  height: 32px;
  width: auto;
}

/* ── Global marka damgası — her ekranın sağ üstünde ──── */
.brand-stamp {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}
.brand-stamp img {
  display: block;
  height: 16px;
  width: auto;
}

/* ── Form alanları ───────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 13px; font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.1px;
}
.field__control {
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: flex; align-items: center;
  padding: 0 14px;
  gap: 10px;
  transition: all 120ms;
}
.field__control:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.10);
}
.field__control--error {
  border-color: var(--err);
}
.field__icon {
  display: flex; align-items: center;
  color: var(--ink-3);
}
.field__control:focus-within .field__icon { color: var(--brand); }
.field__input {
  flex: 1;
  border: none; outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  width: 100%;
  padding: 0;
  min-width: 0;
}
.field__input::placeholder { color: var(--ink-3); font-weight: 500; }
.field__error {
  font-size: 12px; color: var(--err);
  margin-top: -2px;
}
.field__textarea {
  width: 100%;
  min-height: 96px;
  border: none; outline: none;
  resize: vertical;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
}

/* ── Butonlar ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 54px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1px;
  transition: transform 80ms, box-shadow 120ms, background 120ms;
  text-decoration: none;
  padding: 0 18px;
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-loading {
  opacity: 0.85;
  cursor: progress;
  pointer-events: none;
}
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.btn--ghost .btn-spinner,
.btn--danger .btn-spinner {
  border-color: rgba(11, 61, 145, 0.2);
  border-top-color: var(--brand);
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow:
    0 8px 20px rgba(11, 61, 145, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover { background: var(--brand-dk); text-decoration: none; }
.btn--ghost {
  height: 54px;
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  font-size: 15px; font-weight: 600;
}
.btn--block { width: 100%; }
.btn--sm { height: 40px; font-size: 14px; padding: 0 14px; }
.btn--danger {
  background: #fff;
  color: var(--err);
  border: 1px solid var(--line);
  box-shadow: none;
  height: 50px;
  font-size: 14px;
  font-weight: 600;
}

/* ── Genel formlar ───────────────────────────────────────── */
.form-stack {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.form-row-between {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: -2px;
}

/* ── Custom checkbox (tasarımdaki dolu lacivert kare) ───── */
.checkbox {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2); font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.checkbox input { display: none; }
.checkbox__box {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: #fff;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.checkbox input:checked + .checkbox__box {
  background: var(--brand);
  border-color: var(--brand);
}
.checkbox__box svg { display: none; }
.checkbox input:checked + .checkbox__box svg { display: block; }

/* ── Kart bileşeni ───────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.card--soft { box-shadow: var(--shadow-soft); }

/* ── Stats Cards ─────────────────────────────────────────── */
.stats-strip {
  display: flex; gap: 10px;
  margin-top: 22px;
}
.stat {
  flex: 1; min-width: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.stat__label {
  font-size: 11px; font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.stat__value {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.4px;
  margin-top: 2px;
}
.stat__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -2px;
}

/* Liste ekranındaki beyaz arkaplan stat kartları */
.stat--solid-brand {
  background: var(--brand);
  border: none;
}
.stat--white {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.stat--white .stat__label { color: var(--ink-3); }
.stat--white .stat__sub   { color: var(--ink-3); }
.stat--white .stat__value { color: var(--ink); }

/* ── Avatar (firma kısaltması) ───────────────────────────── */
.avatar {
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800;
  flex-shrink: 0;
}
.avatar--40 { width: 40px; height: 40px; font-size: 14px; border-radius: 10px; }
.avatar--56 { width: 56px; height: 56px; font-size: 20px; }
.avatar--60 { width: 60px; height: 60px; font-size: 22px; border-radius: 14px; }

/* ── Yıldız bileşeni ─────────────────────────────────────── */
.stars { display: inline-flex; gap: 6px; }
.stars--mini { gap: 2px; }
.star {
  background: none; border: none; cursor: pointer; padding: 0;
  display: inline-flex;
}
.star svg { display: block; }
.star--readonly { cursor: default; }

/* ── Görüşme listesi ─────────────────────────────────────── */
.section-label {
  font-size: 11px; font-weight: 700;
  color: var(--ink-3); letter-spacing: 0.6px;
  padding: 8px 4px;
  text-transform: uppercase;
}
.meeting-list {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.meeting-row {
  display: flex; gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.meeting-row:last-child { border-bottom: none; }
.meeting-row:hover { background: var(--bg); text-decoration: none; }
.meeting-row__body { flex: 1; min-width: 0; }
.meeting-row__top {
  display: flex; justify-content: space-between; gap: 8px;
}
.meeting-row__name {
  font-size: 15px; font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.meeting-row__time {
  font-size: 11px; color: var(--ink-3);
  flex-shrink: 0; font-weight: 500;
}
.meeting-row__stand {
  font-size: 12px; color: var(--ink-2);
  margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.meeting-row__meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 6px;
}
.tag {
  font-size: 11px; font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 5px;
}
.tag--brand {
  color: var(--brand);
  background: var(--brand-lt);
}

/* ── Alt sekme bar (mobil) ───────────────────────────────── */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(28px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-around; align-items: center;
  z-index: 50;
}
@media (min-width: 768px) {
  .tabbar { max-width: 480px; left: 50%; transform: translateX(-50%); }
}
.tab {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink-3);
  font-size: 11px; font-weight: 600;
  flex: 1;
  padding-top: 4px;
}
.tab svg { display: block; }
.tab.is-active { color: var(--brand); }
.tab.is-active svg [stroke] { stroke: var(--brand); }
.tab.is-active svg [fill]:not([fill="none"]) { fill: var(--brand); }
.tab--scan {
  margin-top: -22px;
  flex: 0;
}
.tab--scan .tab__icon {
  width: 56px; height: 56px;
  border-radius: 28px;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.tab--scan .tab__icon svg [stroke] { stroke: #fff; }
.tab--scan .tab__icon svg [fill]:not([fill="none"]) { fill: #fff; }
.tab--scan .tab__label { color: var(--ink-2); margin-top: 4px; }

/* ── Üst nav (içerideki sayfalarda) ─────────────────────── */
.topnav {
  background: #fff;
  padding: 56px 18px 16px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  gap: 14px;
}
.topnav__back {
  width: 36px; height: 36px;
  border-radius: 18px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.topnav__title { flex: 1; }
.topnav__kicker {
  font-size: 12px; color: var(--ink-3);
  font-weight: 600; letter-spacing: 0.4px;
  text-transform: uppercase;
}
.topnav__heading {
  font-size: 17px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.2px;
  margin-top: 2px;
}

/* ── Alert ───────────────────────────────────────────────── */
.alert {
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.alert__badge {
  width: 32px; height: 32px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.alert--success {
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
  color: #0B5A3C;
}
.alert--success .alert__badge { background: var(--ok); color: #fff; }
.alert--error {
  background: #FDECE9;
  border: 1px solid #F4B7AC;
  color: var(--err);
}
.alert--error .alert__badge { background: var(--err); color: #fff; }

/* ── Stage indicator (kayıt aşaması) ─────────────────────── */
.steps {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
}
.step { display: flex; align-items: center; gap: 8px; }
.step__num {
  width: 26px; height: 26px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.step__num--active {
  background: #fff; color: var(--brand);
  border: none;
}
.step__num--done {
  background: #fff; color: var(--brand);
  border: none;
}
.step__label {
  font-size: 12px; font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2px;
}
.step__label--active, .step__label--done { color: #fff; }
.step__bar {
  flex: 1; height: 2px;
  background: rgba(255, 255, 255, 0.25);
}
.step__bar--done { background: #fff; }

/* ── Hero başlığı + kullanıcı avatarı ──────────────────── */
.hero__user {
  display: flex; align-items: flex-start; justify-content: space-between;
}
.hero__user-avatar {
  width: 42px; height: 42px;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.hero__greeting { font-size: 13px; color: rgba(255, 255, 255, 0.78); font-weight: 600; }
.hero__name { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; margin-top: 2px; }
.hero__company {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero__event {
  font-size: 12px; color: rgba(255, 255, 255, 0.7);
  margin-top: 6px; letter-spacing: 0.3px; font-weight: 600;
  text-transform: uppercase;
}

/* ── Home CTA kartları ───────────────────────────────────── */
.home-actions {
  padding: 22px 18px 110px;
  display: flex; flex-direction: column; gap: 14px;
}
.action-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 20px 18px;
  display: flex; align-items: center; gap: 16px;
  text-align: left;
  text-decoration: none;
  color: inherit;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
.action-card:hover { text-decoration: none; box-shadow: var(--shadow-soft); }
.action-card--primary { box-shadow: var(--shadow-soft); }
.action-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.action-card__icon--brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-dk));
  box-shadow: 0 6px 14px rgba(11, 61, 145, 0.28);
}
.action-card__icon--brand-lt {
  background: var(--brand-lt);
  border: 1px solid var(--line);
}
.action-card__title {
  font-size: 17px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.2px;
  display: flex; align-items: center; gap: 8px;
}
.action-card__count {
  font-size: 11px; font-weight: 700;
  color: #fff; background: var(--brand);
  padding: 2px 8px; border-radius: 10px;
  letter-spacing: 0.3px;
}
.action-card__sub {
  font-size: 13px; color: var(--ink-2);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Search & filters ────────────────────────────────────── */
.search {
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  display: flex; align-items: center;
  padding: 0 14px;
  gap: 10px;
  margin-top: 14px;
}
.search input {
  flex: 1; border: none; outline: none;
  background: transparent;
  font-size: 15px; font-family: inherit;
  color: var(--ink); width: 100%;
  min-width: 0;
}
.search input::placeholder { color: var(--ink-3); }

/* ── Hidden chrome layout (login/register) ─────────────── */
.bare-shell {
  min-height: 100vh;
  background: var(--bg);
  display: flex; flex-direction: column;
}
@media (min-width: 768px) {
  .bare-shell {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.10);
  }
}

.footer-mini {
  margin-top: auto;
  text-align: center;
  padding: 20px 24px 40px;
  font-size: 12px;
  color: var(--ink-3);
}

/* ── Görüşme formu detay kartları ────────────────────────── */
.rating-card {
  display: flex; align-items: center; justify-content: space-between;
}
.rating-display {
  text-align: right;
  line-height: 1;
}
.rating-display__big {
  font-size: 28px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.5px;
}
.rating-display__big small {
  color: var(--ink-3);
  font-size: 18px;
  font-weight: 600;
}
.rating-display__label {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 600;
  margin-top: 2px;
}

.note-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

/* ── Detay aksiyon ızgarası ─────────────────────────────── */
.action-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 16px;
}
.action-grid__item {
  height: 48px;
  border-radius: 10px;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 11px; font-weight: 600;
}
.action-grid__item:hover { text-decoration: none; }

/* ── İletişim listesi (düz metin, tıklanmaz) ────────────── */
.contact-list {
  margin-top: 16px;
  display: flex; flex-direction: column;
  gap: 6px;
}
.contact-list__item {
  display: flex; align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 10px;
}
.contact-list__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  flex-shrink: 0;
}
.contact-list__label {
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.2px;
  flex-shrink: 0;
  min-width: 64px;
}
.contact-list__value {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  word-break: break-all;
  text-align: right;
  flex: 1;
}

/* ── Meta liste (key/value) ─────────────────────────────── */
.meta-row {
  display: flex; justify-content: space-between; align-items: center;
}
.meta-row__label { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.meta-row__value { font-size: 13px; color: var(--ink); font-weight: 600; }
.meta-row__value--mono { font-family: ui-monospace, Menlo, monospace; }

/* ── QR Scanner overlay ─────────────────────────────────── */
.qr-scanner {
  position: relative;
  background: #000;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.qr-scanner.is-paused {
  background: #1A2238;
  opacity: 0.6;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.qr-scanner__frame {
  position: absolute;
  inset: 16%;
  border: 3px solid var(--scan);
  border-radius: 16px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4);
}
.qr-scanner__hint {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  color: #fff; font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* ── Desktop layout (sidebar + content) ─────────────────── */
@media (min-width: 1024px) {
  body.has-desktop {
    background: var(--bg);
  }

  .desktop-shell {
    display: flex;
    min-height: 100vh;
  }
  .desktop-shell .app-shell--phone { display: none; }

  .desktop-sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
    padding: 20px 0;
    flex-shrink: 0;
  }
  .desktop-sidebar__brand {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 10px;
  }
  .desktop-sidebar__nav {
    padding: 14px 12px;
    display: flex; flex-direction: column;
    gap: 2px;
  }
  .desktop-sidebar__item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px; font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    display: block;
  }
  .desktop-sidebar__item:hover { text-decoration: none; background: var(--bg); }
  .desktop-sidebar__item.is-active {
    color: var(--brand);
    background: var(--brand-lt);
  }
  .desktop-sidebar__user {
    margin-top: auto; padding: 16px;
    font-size: 11px; color: var(--ink-3);
  }

  .desktop-main {
    flex: 1; padding: 24px 32px;
    overflow: auto;
  }
}

/* ── Utility ─────────────────────────────────────────────── */
.h-divider { height: 1px; background: var(--line); margin: 12px 0; }

/* ── Pager (Görüşmeler listesi) ───────────────────────── */
.pager {
  margin-top: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.pager__info {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.pager__controls {
  display: flex; align-items: center; gap: 8px;
}
.pager__btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.pager__btn:hover { background: var(--bg); text-decoration: none; }
.pager__btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pager__page {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  min-width: 100px;
  text-align: center;
}

/* ── Ortada metin geçen yatay ayraç (örn. "veya") ──────── */
.or-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0;
  color: var(--ink-3);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.or-divider::before,
.or-divider::after {
  content: ""; flex: 1;
  height: 1px; background: var(--line);
}
.muted { color: var(--ink-3); }
.text-center { text-align: center; }
.text-brand { color: var(--brand); }
.text-err { color: var(--err); }
.font-700 { font-weight: 700; }

.padding-base { padding: 20px 18px; }
.gap-stack > * + * { margin-top: 16px; }

/* validation/asp-net helpers */
.text-danger {
  color: var(--err);
  font-size: 12px;
}
.validation-summary-errors {
  background: #FDECE9;
  border: 1px solid #F4B7AC;
  color: var(--err);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.validation-summary-errors ul {
  margin: 0; padding-left: 18px;
}
