/* Renkler international.uskudar.edu.tr/en/agent-portal sayfasındaki tonlara yakın seçildi. */
:root {
  --brand: #1f8a84;
  --brand-dark: #135e5a;
  --brand-ink: #0d3f3c;
  --brand-soft: #e6f4f2;
  --accent: #3fa9c9;
  --bg: #f4f7f7;
  --surface: #ffffff;
  --ink: #17252a;
  --muted: #5c6f73;
  --line: #dfe7e7;
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --warn: #b7791f;
  --warn-soft: #fdf3e1;
  --ok: #2f855a;
  --ok-soft: #e6f4ea;
  --info: #2b6cb0;
  --info-soft: #e8f1fb;
  --neutral-soft: #eef1f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 40, .06), 0 4px 16px rgba(16, 40, 40, .05);
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.45; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 26px; font-weight: 700; color: var(--brand-ink); }
h2 { font-size: 17px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }

/* ---------- butonlar ve form ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 999px;
  padding: 9px 18px; font-weight: 600; cursor: pointer; background: var(--brand); color: #fff; white-space: nowrap; }
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--brand-dark); border-color: var(--brand); }
.btn.secondary:hover { background: var(--brand-soft); }
.btn.ghost { background: transparent; color: var(--brand-dark); padding: 6px 10px; }
.btn.ghost:hover { background: var(--brand-soft); }
.btn.sm { padding: 6px 12px; font-size: 13px; }

label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 138, 132, .15); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.form-error { background: var(--danger-soft); color: var(--danger); padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }

/* ---------- giriş ---------- */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-hero { background: linear-gradient(160deg, var(--brand-ink), var(--brand) 70%, var(--accent)); color: #fff;
  padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.login-hero .eyebrow { letter-spacing: .25em; font-size: 12px; font-weight: 600; opacity: .85; text-transform: uppercase; }
.login-hero h1 { color: #fff; font-size: 44px; margin-top: 12px; max-width: 520px; }
.login-hero ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; max-width: 460px; }
.login-hero li { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .1); padding: 12px 14px; border-radius: 12px; }
.login-hero li span.n { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand-dark);
  display: grid; place-items: center; font-weight: 700; flex: none; }
.login-panel { display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.login-card { width: 100%; max-width: 400px; }
.login-card h2 { font-size: 26px; color: var(--brand-ink); margin-bottom: 8px; }
.login-card .btn { width: 100%; justify-content: center; padding: 12px; margin-top: 4px; }
.login-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 14px; gap: 12px; flex-wrap: wrap; }
.demo-hint { margin-top: 22px; padding: 10px 12px; border: 1px dashed var(--brand); border-radius: 10px; font-size: 13px; color: var(--brand-dark); background: var(--brand-soft); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.brand-text { line-height: 1.15; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* ---------- uygulama iskeleti ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--brand-ink); color: #dbeceb; padding: 20px 14px; display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 0; height: 100vh; }
.sidebar .brand { color: #fff; padding: 4px 8px 20px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #dbeceb; font-weight: 500; }
.nav a:hover { background: rgba(255, 255, 255, .08); text-decoration: none; }
.nav a.active { background: var(--brand); color: #fff; }
.nav a .badge { margin-left: auto; background: #fff; color: var(--brand-ink); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.nav svg { width: 19px; height: 19px; flex: none; }
.sidebar .spacer { flex: 1; }
.agency-card { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 12px; font-size: 13px; }
.agency-card strong { display: block; color: #fff; font-size: 14px; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.topbar .menu-btn { display: none; }
.topbar .spacer { flex: 1; }
.demo-pill { font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); padding: 4px 10px; border-radius: 999px; }
.demo-pill.live { color: var(--ok); background: var(--ok-soft, #e3f4ea); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: 0; background: #fff; padding: 5px 12px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-switch button.on { background: var(--brand); color: #fff; }
.view { padding: 28px; max-width: 1280px; width: 100%; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 18px; }
.grid.kpis { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.grid.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }

/* ---------- panel ---------- */
.kpi { padding: 16px 18px; display: block; color: inherit; }
.kpi:hover { text-decoration: none; border-color: var(--brand); }
.kpi .label { color: var(--muted); font-size: 13.5px; }
.kpi .value { font-size: 30px; font-weight: 700; color: var(--brand-ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 8px; padding: 16px 20px 20px; }
.bar-row { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 12px; padding: 4px 6px; border-radius: 8px; color: inherit; }
.bar-row:hover { background: var(--brand-soft); text-decoration: none; }
.bar-track { background: var(--neutral-soft); height: 12px; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--brand); }
.bar-row .num { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.action-list { list-style: none; margin: 0; padding: 8px 12px 14px; }
.action-list li a { display: flex; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 10px; color: inherit; }
.action-list li a:hover { background: var(--brand-soft); text-decoration: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li { border-top: 1px solid var(--line); }
.recent li:first-child { border-top: 0; }
.recent a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; color: inherit; align-items: center; }
.recent a:hover { background: var(--brand-soft); text-decoration: none; }

/* ---------- tablo ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: center; }
.toolbar input[type=search] { flex: 1 1 260px; }
.toolbar select { flex: 0 1 190px; width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.chip b { font-variant-numeric: tabular-nums; }
.chip.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: #fafcfc; white-space: nowrap; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--brand-dark); }
th .arrow { font-size: 11px; margin-left: 4px; }
tbody tr.clickable { cursor: pointer; }
tbody tr.clickable:hover { background: var(--brand-soft); }
td .sub { color: var(--muted); font-size: 12.5px; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; flex-wrap: wrap; font-size: 14px; }
.pager .controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pager select { width: auto; padding: 6px 8px; }

/* ---------- rozetler ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tone-ok { background: var(--ok-soft); color: var(--ok); }
.tone-warn { background: var(--warn-soft); color: var(--warn); }
.tone-danger { background: var(--danger-soft); color: var(--danger); }
.tone-info { background: var(--info-soft); color: var(--info); }
.tone-brand { background: var(--brand-soft); color: var(--brand-dark); }
.tone-neutral { background: var(--neutral-soft); color: var(--muted); }

/* ---------- başvuru detayı ---------- */
.back { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 14px; font-weight: 500; }
.detail-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 20px; }
.detail-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stepper { display: grid; grid-template-columns: repeat(var(--steps, 7), minmax(0, 1fr)); gap: 6px; padding: 20px; }
.step { text-align: center; font-size: 12.5px; color: var(--muted); }
.step .bar { height: 6px; border-radius: 999px; background: var(--neutral-soft); margin-bottom: 8px; }
.step.done .bar { background: var(--brand); }
.step.current .bar { background: var(--accent); }
.step.current { color: var(--brand-ink); font-weight: 600; }
.step.done { color: var(--brand-dark); }
.side-note { margin: 0 20px 18px; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
dl.kv { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; margin: 0; padding: 18px 20px; font-size: 14px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.doc-list, .timeline { list-style: none; margin: 0; padding: 8px 20px 16px; }
.doc-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.doc-list li:last-child { border-bottom: 0; }
.timeline li { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; padding: 8px 0; align-items: center; }
.timeline .dot { background: var(--brand); }
.mini-list { list-style: none; margin: 0; padding: 4px 0; }
.mini-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 20px; color: inherit; align-items: center; }
.mini-list a:hover { background: var(--brand-soft); text-decoration: none; }
.stack { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }

/* ---------- talepler ---------- */
.tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 12px; cursor: pointer; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--brand-dark); border-bottom-color: var(--brand); }
.form-card { max-width: 760px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.thread { display: grid; gap: 14px; padding: 20px; }
.msg { max-width: 78%; padding: 12px 14px; border-radius: 14px; background: var(--neutral-soft); }
.msg.mine { margin-left: auto; background: var(--brand-soft); }
.msg .meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; display: flex; gap: 10px; justify-content: space-between; }
.msg p { margin: 0; white-space: pre-wrap; }
.msg .att { margin-top: 8px; font-size: 13px; color: var(--brand-dark); }
.reply { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; }
.reply textarea { min-height: 80px; }
.reply .btn { justify-self: end; }

/* ---------- ikamet izni ---------- */
.pick-list { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.pick-list label { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); margin: 0; font-weight: 400; cursor: pointer; }
.pick-list label:last-child { border-bottom: 0; }
.pick-list label:hover { background: var(--brand-soft); }
.pick-list input { width: 16px; height: 16px; accent-color: var(--brand); }
.pick-tools { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.pick-tools input { flex: 1 1 220px; }
.section-title { font-weight: 600; font-size: 16px; margin: 6px 0 4px; color: var(--brand-ink); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.radio-group { display: grid; gap: 8px; }

/* ---------- duyurular, mektuplar, kaynaklar ---------- */
.news-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.news-card { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(135deg, var(--brand-ink), var(--brand)); box-shadow: var(--shadow); }
.news-card:hover { text-decoration: none; filter: brightness(1.08); }
.news-card .small { opacity: .8; }
.letter-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; margin-right: 10px; }
.letters { display: flex; flex-wrap: wrap; gap: 8px; }
.letters .letter-link { padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.done-box { text-align: left; }
.done-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.done-box h1 { font-size: 22px; margin-bottom: 8px; }
.news-list { list-style: none; margin: 0; padding: 4px 20px 12px; }
.news-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- yönetici ---------- */
.imp-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 28px; background: #4a2a7a; color: #fff; font-size: 14px; position: sticky; top: 0; z-index: 6; }
.imp-banner small { opacity: .85; }
.imp-banner .btn { background: #fff; color: #4a2a7a; }
.imp-banner .btn:hover { background: #efe7fb; }
.imp-banner + .topbar { top: 44px; }
.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-top { display: flex; align-items: center; gap: 12px; padding: 12px 28px; background: #2b1a4a; color: #fff; flex-wrap: wrap; }
.admin-top .brand { color: #fff; }
.admin-top .spacer { flex: 1; }
.admin-top .btn.ghost { color: #fff; }
.admin-top .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.admin-shell .view { margin: 0 auto; }
.admin-auth { max-width: 460px; margin: 40px auto; }
.admin-auth h1 { font-size: 24px; margin: 6px 0 10px; }
.admin-auth .lock { font-size: 28px; }
.sso-sim { border: 2px dashed #8a6bc4; }
.sso-url { display: inline-block; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--neutral-soft); color: var(--muted); margin-bottom: 8px; }
.sso-steps { margin: 4px 0 18px; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.audit { list-style: none; margin: 0; padding: 4px 20px 14px; }
.audit li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.audit li:last-child { border-bottom: 0; }
@media (max-width: 820px) {
  .imp-banner { padding: 10px 16px; }
  .admin-top { padding: 12px 16px; }
}

/* ---------- bildirim ---------- */
#toast { position: fixed; right: 20px; bottom: 20px; background: var(--brand-ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); z-index: 50; max-width: 360px; }
.loading { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- mobil ---------- */
@media (max-width: 960px) {
  .grid.two { grid-template-columns: minmax(0, 1fr); }
  .login-wrap { grid-template-columns: 1fr; }
  .login-hero { padding: 32px 24px; }
  .login-hero h1 { font-size: 32px; }
  .login-hero ul { display: none; }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .toolbar select { flex: 1 1 100%; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 30; transform: translateX(-100%); transition: transform .2s; }
  .shell.nav-open .sidebar { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); }
  .topbar { padding: 12px 16px; }
  .topbar .menu-btn { display: inline-flex; }
  .demo-pill { display: none; }
  .view { padding: 18px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 120px 1fr 40px; }
  .stepper { grid-template-columns: repeat(4, 1fr); row-gap: 14px; }
  dl.kv { grid-template-columns: 1fr; gap: 2px; }
  dl.kv dd { margin-bottom: 10px; }
  .msg { max-width: 92%; }
  .hide-sm { display: none; }
}

/* ---------- yönetici sekmeleri ---------- */
.admin-tabs { display: flex; gap: 2px; padding: 0 22px; background: #3a2660; overflow-x: auto; }
.admin-tabs a { color: rgba(255, 255, 255, .78); padding: 11px 14px; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.admin-tabs a:hover { color: #fff; text-decoration: none; }
.admin-tabs a.on { color: #fff; border-bottom-color: #c9b4ff; }
.code-input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; resize: vertical; }
.detail-sections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; }
.report-table td, .report-table th { white-space: nowrap; }
.report-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tg-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.tg-list { display: flex; flex-direction: column; padding: 8px; }
.tg-list button { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.tg-list button.on { background: var(--brand-soft); color: var(--brand-dark); }
.tg-text { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 14px; line-height: 1.5; resize: vertical; }
.tg-warn { background: var(--warn-soft); color: #7a4f10; }

/* ---------- kaynaklar ve randevular ---------- */
.res-feature, .appt-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-bottom: 18px; }
.res-tile, .appt-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 20px; color: var(--ink); }
.res-tile:hover, .appt-option:hover { text-decoration: none; border-color: var(--brand); }
.res-tile strong, .appt-option strong { display: block; font-size: 16px; color: var(--brand-ink); }
.res-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; }
.res-icon svg { width: 24px; height: 24px; }
.appt-option { grid-template-columns: auto minmax(0, 1fr); text-align: left; cursor: pointer; border: 1px solid var(--line); font: inherit; }
.appt-option.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.appt-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
.btn svg { vertical-align: middle; }

@media (max-width: 820px) {
  .admin-tabs { padding: 0 8px; }
  .tg-layout { grid-template-columns: minmax(0, 1fr); }
  .tg-list { flex-direction: row; overflow-x: auto; }
  .appt-frame iframe { height: 640px; }
}

.star { border: 0; background: none; cursor: pointer; font-size: 18px; color: #b9c4c6; line-height: 1; padding: 2px 4px; }
.star.on { color: #e0a100; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- burs panosu ---------- */
.sch-table td.num, .sch-table th { white-space: nowrap; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.sel td { background: var(--brand-soft); }
.sch-stack { display: flex; height: 10px; border-radius: 6px; overflow: hidden; min-width: 4px; }
.sch-focus { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
label.check { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; white-space: nowrap; }
th.sortable { cursor: pointer; user-select: none; }
th .arrow { margin-left: 4px; font-size: 10px; }

/* Tam Burs aracı */
.aw-live { background: var(--ok-soft, #e7f6ec); color: var(--ok, #1d6b3a); }
.aw-table { table-layout: fixed; width: 100%; }
.aw-table th, .aw-table td { white-space: normal; overflow-wrap: anywhere; }
.aw-table tbody th { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--ink, inherit); }
.aw-table thead th:first-child { width: 30%; }
.aw-mode { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.aw-mode label.check, label.aw-confirm { white-space: normal; align-items: flex-start; }
.aw-mode input, .aw-confirm input { width: auto; margin-top: 3px; }
@media (max-width: 640px) { .aw-table th, .aw-table td { padding: 9px 10px; } .aw-table thead th:first-child { width: 34%; } }
.aw-table tr.aw-changed td:last-child { background: var(--warn-soft); }
.aw-list { margin: 6px 0 14px; padding-left: 18px; }
.aw-list li { margin-bottom: 6px; }
.aw-combo { position: relative; }
.aw-sug { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(16, 24, 40, .14); max-height: 280px; overflow-y: auto; }
.aw-sug li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 16px; cursor: pointer; font-size: 15px; }
.aw-sug li span:first-child { overflow-wrap: anywhere; }
.aw-sug li span:last-child { flex: none; }
.aw-sug li:hover, .aw-sug li.on { background: var(--brand-soft); }
.aw-usk { min-height: 0; max-width: 420px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.aw-batch td { vertical-align: top; }
.aw-batch th:first-child, .aw-batch td:first-child { width: 36px; padding-right: 0; }
.aw-batch input[type=checkbox] { width: auto; }
.aw-all span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.aw-batch tr.aw-skip td, .aw-results tr.aw-skip td { background: #fbfbfb; }
.aw-reason { color: var(--danger); }
.aw-warn { margin-top: 6px; padding: 6px 8px; border-radius: 8px; }
@media (max-width: 640px) {
  .aw-batch thead tr, .aw-batch tbody tr { display: grid; grid-template-columns: 40px 1fr; border-bottom: 1px solid var(--line); }
  .aw-batch thead th:not(:first-child) { display: none; }
  .aw-batch thead tr { grid-template-columns: 1fr; }
  .aw-batch thead th:first-child { padding: 10px 12px; }
  .aw-all span { position: static; width: auto; height: auto; clip: auto; text-transform: none; letter-spacing: 0; font-size: 13px; }
  .aw-batch td { display: block; border-bottom: 0; padding: 4px 12px 4px 0; }
  .aw-batch td:first-child { grid-row: span 3; padding: 12px 0 0 12px; width: auto; }
  .aw-batch td:nth-child(2) { padding-top: 12px; }
  .aw-batch td:last-child { padding-bottom: 12px; }
  .aw-batch tbody tr.aw-skip { background: #fbfbfb; }
}
