/* IBM Plex — yerel olarak vendored (css/fonts/), CDN yok. latin + latin-ext
   (Türkçe karakterler için: ş ğ ı İ ç ö ü) ayrı unicode-range'lerle. */
@font-face {
  font-family: 'Plex Sans';
  src: url('fonts/plexsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
  font-weight: 100 800; font-display: swap;
}
@font-face {
  font-family: 'Plex Sans';
  src: url('fonts/plexsans-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-weight: 100 800; font-display: swap;
}
@font-face {
  font-family: 'Plex Mono'; font-weight: 500; font-style: normal;
  src: url('fonts/plexmono500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono'; font-weight: 500; font-style: normal;
  src: url('fonts/plexmono500-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono'; font-weight: 600; font-style: normal;
  src: url('fonts/plexmono600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+20AC;
  font-display: swap;
}
@font-face {
  font-family: 'Plex Mono'; font-weight: 600; font-style: normal;
  src: url('fonts/plexmono600-latinext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: var(--line-height-tight); font-weight: 700; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

.text-muted { color: var(--color-text-muted); }
.text-subtle { color: var(--color-text-subtle); font-size: var(--font-size-sm); }

/* ---------- Sayfa iskeleti: üst çubuk + sol menü + panel ---------- */

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo { width: 100%; height: 100%; color: var(--color-primary); }

.brand-text { line-height: 1.28; }
.brand-text .t1 { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.008em; }
.brand-text .t2 { display: block; font-size: 1.05rem; font-weight: 600; color: var(--color-text-muted); }

.user-chip { display: flex; align-items: center; gap: var(--space-3); }
.user-chip .who { display: flex; flex-direction: column; text-align: right; }
.user-chip .who-primary { font-size: var(--font-size-sm); font-weight: 700; color: var(--color-text); line-height: 1.35; }
.user-chip .who-secondary { font-size: var(--font-size-xs); font-weight: 500; color: var(--color-text-muted); line-height: 1.35; margin-top: 0.1rem; }

/* Kaynak: kurum tarafındaki rozet+dropdown deseni (2026-08-12, kullanıcı
   isteğiyle taşındı — bkz. kolitakip-kurum/assets/css/base.css). Token
   isimleri iki uygulamada birebir aynı, doğrudan taşındı. */
.user-chip-wrap { position: relative; }
.user-chip-btn {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0.3rem 0.5rem 0.3rem 0.7rem; border: 1px solid transparent; border-radius: 999px;
  background: none; cursor: pointer; font-family: inherit;
}
.user-chip-btn:hover, .user-chip-btn[aria-expanded="true"] { background: var(--color-surface-alt); border-color: var(--color-border); }
.user-chip-btn .chip-chev { width: 0.7rem; height: 0.7rem; color: var(--color-text-subtle); flex: none; transition: transform 0.15s ease; }
.user-chip-btn[aria-expanded="true"] .chip-chev { transform: rotate(180deg); }

.user-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; width: 230px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 0.4rem; z-index: 50; display: none;
}
.user-dropdown.show { display: block; animation: user-dd-in 0.12s ease-out; }
@keyframes user-dd-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.user-dropdown .dd-head { padding: 0.5rem 0.6rem 0.4rem; }
.user-dropdown .dd-head .name { font-size: 0.82rem; font-weight: 700; }
.user-dropdown .dd-head .sub { font-size: 0.7rem; color: var(--color-text-muted); }
.user-dropdown .dd-div { height: 1px; background: var(--color-border); margin: 0.3rem 0; }
.user-dropdown button {
  display: flex; align-items: center; gap: 0.55rem; width: 100%; text-align: left;
  padding: 0.5rem 0.6rem; border: none; background: none; font-family: inherit;
  font-size: 0.82rem; font-weight: 600; color: var(--color-text); border-radius: 6px; cursor: pointer;
}
.user-dropdown button:hover { background: var(--color-surface-alt); }
.user-dropdown button svg { width: 1rem; height: 1rem; color: var(--color-text-subtle); flex: none; }
.user-dropdown button.danger { color: var(--color-danger); }
.user-dropdown button.danger svg { color: var(--color-danger); }
@media (prefers-reduced-motion: reduce) { .user-dropdown.show { animation: none; } }

.avatar {
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--color-warning-bg); color: var(--color-warning);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--font-size-xs); flex: none;
}

.btn-ghost {
  border: 1px solid var(--color-border-strong);
  background: transparent;
  color: var(--color-text);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost:hover { background: var(--color-surface-alt); }

.app-footer {
  padding: var(--space-3);
  text-align: center;
  color: var(--color-text-subtle);
  font-size: var(--font-size-xs);
}

/* Girişte / doğrulama ekranlarında (sidebar yok) ortalanmış sade düzen */
.centered-layout {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
}
.centered-layout::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 760px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--color-primary-100), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
.centered-layout > * { position: relative; }

.auth-announce {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  width: 100%;
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-warning-bg);
  border: none;
  border-left: 3px solid var(--color-warning);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.auth-announce .icon-wrap {
  width: 2rem; height: 2rem; flex: none;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 6%);
  color: var(--color-warning);
  display: flex; align-items: center; justify-content: center;
}
.auth-announce .icon-wrap svg { width: 1.05rem; height: 1.05rem; }
.auth-announce .txt { font-size: var(--font-size-sm); line-height: 1.55; color: var(--color-text); padding-top: 0.2rem; }
.auth-announce .txt b { color: var(--color-warning); }

.auth-card { padding: var(--space-8) var(--space-6) var(--space-6); }
.auth-card-icon {
  width: 3.25rem; height: 3.25rem;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.auth-card-icon svg { width: 1.5rem; height: 1.5rem; }
.auth-card h1.screen-title { text-align: center; margin-bottom: 0.2rem; }
.auth-card .version-tag { display: block; text-align: center; color: var(--color-text-subtle); font-size: var(--font-size-xs); margin-bottom: var(--space-5); }

.auth-hint {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  background: var(--color-surface-alt);
  border-radius: var(--radius-sm);
  padding: 0.55rem var(--space-3);
  margin-bottom: var(--space-4);
}
.auth-hint svg { width: 1.05rem; height: 1.05rem; flex: none; color: var(--color-primary); }
.auth-hint-timeout { background: var(--color-primary-50); color: var(--color-primary-600); }

.auth-error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--color-danger);
  background: var(--color-danger-bg);
  border-radius: var(--radius-sm);
  padding: 0.6rem var(--space-3);
  margin-bottom: var(--space-4);
}
.auth-error svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.1rem; }

.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.auth-links .btn-quiet {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s ease;
}
.auth-links .btn-quiet:hover { color: var(--color-primary); }
.auth-links .sep { color: var(--color-border-strong); font-size: var(--font-size-xs); }

/* ---------- Sol menü + panel düzeni (girişli ana ekran) ---------- */

.app-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 224px 1fr;
  align-items: start;
}
@media (max-width: 780px) {
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { display: flex; flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--color-border); }
  .nav-group-label { display: none; }
}

.sidebar {
  border-right: 1px solid var(--color-border);
  background: var(--color-surface-alt);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: stretch;
}
.nav-group-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  padding: var(--space-3) 0.6rem 0.3rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  text-decoration: none;
}
.nav-item svg { width: 1.05rem; height: 1.05rem; flex: none; opacity: 0.8; }
.nav-item:hover { background: var(--color-surface); }
.nav-item.active { background: var(--color-primary-100); color: var(--color-primary-600); }
.nav-item.active svg { opacity: 1; }
.nav-item .ext { margin-left: auto; width: 0.75rem; height: 0.75rem; opacity: 0.55; }
.nav-divider { height: 1px; background: var(--color-border); margin: var(--space-2) 0.4rem; }

.stage { padding: var(--space-5); min-width: 0; }

.panel { animation: panel-in 0.22s cubic-bezier(0.2, 0.7, 0.3, 1); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .panel { animation: none; }
}

.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.panel-head h2 { font-size: var(--font-size-lg); font-weight: 700; }
.panel-head .sub { color: var(--color-text-subtle); font-size: var(--font-size-sm); margin-top: 0.2rem; }

/* ---------- Kart ---------- */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
}
.card + .card { margin-top: var(--space-3); }

/* Kaynak: kullanıcı geri bildirimi (2026-08-13) — "Hesap Ayarları"daki iki
   kart (şifre + e-posta) alt alta dururken geniş ekranda çirkin
   görünüyordu. Yan yana bir satıra alındı; dar ekranda flex-wrap ile
   otomatik alt alta düşer. */
.hesap-cards-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-4); }
.hesap-cards-row > * { flex: 1 1 380px; }

.card > h1:first-child,
.card > h2:first-child {
  margin-top: 0;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

h1.screen-title {
  font-size: var(--font-size-xl);
  margin: 0 0 var(--space-1);
}
h2.section-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin: 0 0 var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.auth-shell {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- "Hero" başlık banner'lı kart (ör. GSM doğrulama giriş ekranı) ---------- */
/* Eski uygulamadaki mavi banner + beyaz ikon dairesi görünümünü, mevcut
   .summary-hero'da kullandığımız aynı degrade ile modern tona taşıyor. */
.auth-hero-card { padding: 0; overflow: hidden; }
.auth-hero-header {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500));
  color: var(--color-primary-contrast);
  text-align: center;
  padding: var(--space-8) var(--space-6) var(--space-6);
}
.auth-hero-header .icon-circle {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-hero-header .icon-circle svg { width: 2rem; height: 2rem; }
.auth-hero-header h1 { margin: 0; font-size: var(--font-size-lg); font-weight: 700; }
.auth-hero-body { padding: var(--space-6); }

/* ---------- Form ---------- */

.field { margin-bottom: var(--space-3); }
.field:last-child { margin-bottom: 0; }

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.field-radio-row { display: flex; gap: var(--space-5); align-items: center; }
.field-radio-row label { display: flex; align-items: center; gap: var(--space-2); font-weight: 500; margin-bottom: 0; }
.field-radio-row input[type="radio"] { width: 1.05rem; height: 1.05rem; accent-color: var(--color-primary); }

.field input[type="text"],
.field input[type="password"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}
.field input[readonly] {
  background: var(--color-surface-alt);
  color: var(--color-text-muted);
}
.field textarea { min-height: 3rem; resize: vertical; }
.field-hint { margin-top: var(--space-1); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0 var(--space-3);
}

fieldset.field-group {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-3) 0.1rem;
  margin: 0 0 var(--space-3);
}
fieldset.field-group legend {
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  padding: 0 var(--space-2);
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.45rem var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:hover { background: var(--color-surface-alt); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-contrast);
}
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }

.btn-block { width: 100%; }

.btn-link {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0;
  font-weight: 600;
  font-size: inherit;
  text-decoration: underline;
}

.btn-row { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }

/* ---------- Uyarılar ---------- */

.alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  border: 1px solid transparent;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.alert-danger { background: var(--color-danger-bg); color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 25%, transparent); }
.alert-success { background: var(--color-success-bg); color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 25%, transparent); }
.alert-warning { background: var(--color-warning-bg); color: var(--color-warning); border-color: color-mix(in srgb, var(--color-warning) 25%, transparent); }

/* ---------- Modal (yönerge / önizleme / onay dialogları) ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  overflow-y: auto;
  z-index: 100;
  animation: modal-fade 0.15s ease-out;
}

.modal-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  width: 100%;
  max-width: 560px;
  animation: modal-rise 0.18s ease-out;
}

/* ---------- Yardım modalı: eski backend tek bir <h3>+<br><br> bloğu
   döndürüyor (bkz. inc/yardim.php) — içeriği değiştirmeden, sadece
   paragraflara ayırıp modern tipografiyle sunuyoruz. ---------- */
.help-modal-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.help-modal-head .icon-wrap {
  width: 2.5rem; height: 2.5rem; flex: none;
  border-radius: 50%;
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  display: flex; align-items: center; justify-content: center;
}
.help-modal-head .icon-wrap svg { width: 1.3rem; height: 1.3rem; }
.help-modal-head h2 { margin: 0; font-size: var(--font-size-lg); font-weight: 700; }

.help-modal p {
  margin: 0 0 var(--space-3);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-base);
  color: var(--color-text);
  font-weight: 400;
}
.help-modal p:last-of-type { margin-bottom: 0; }

.help-contact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary-50);
  border-radius: var(--radius);
}
.help-contact .icon-wrap {
  width: 2rem; height: 2rem; flex: none;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary-600);
  display: flex; align-items: center; justify-content: center;
}
.help-contact .icon-wrap svg { width: 1.05rem; height: 1.05rem; }
.help-contact .txt {
  font-size: var(--font-size-sm);
  color: var(--color-primary-700);
  line-height: 1.5;
  padding-top: 0.2rem;
}

@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.yonerge-list { list-style: none; margin: 0 0 var(--space-4); padding: 0; }
.yonerge-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
}
.yonerge-list li:last-of-type { border-bottom: none; }
.yonerge-list input[type="checkbox"] { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--color-primary); flex: none; }
.yonerge-selectall {
  display: flex; align-items: center; gap: var(--space-2);
  font-weight: 700; padding-bottom: var(--space-3); margin-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border);
}

.summary-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
.summary-table td { padding: var(--space-2) 0; border-bottom: 1px solid var(--color-border); }
.summary-table td:first-child { color: var(--color-text-muted); width: 45%; }
.summary-table tr:last-child td { border-bottom: none; }

/* ---------- Evraklarım: filtreler + yazdır ikonu ---------- */

.evrak-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.evrak-filters input[type="text"],
.evrak-filters input[type="date"],
.evrak-filters select {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-family: inherit;
}
.evrak-filters input[type="text"] { flex: 1 1 220px; min-width: 160px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  background: var(--color-primary-50);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.icon-btn:hover { background: var(--color-primary-100); }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }

/* ---------- Tablo (rezervasyon listesi) ---------- */

.data-table-wrap { overflow-x: auto; max-height: 55vh; overflow-y: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-xs); }
.data-table th {
  text-align: left;
  padding: var(--space-1) var(--space-2);
  color: var(--color-text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border-strong);
  white-space: nowrap;
  position: sticky;
  top: 0;
  background: var(--color-surface);
}
.data-table td {
  padding: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.data-table tbody tr:hover { background: var(--color-surface-alt); }

/* ---------- Diğer ---------- */

.htmx-indicator { opacity: 0; transition: opacity 0.15s ease; }
.htmx-request.htmx-indicator,
.htmx-request .htmx-indicator { opacity: 1; }

.file-drop {
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--color-surface-alt);
  font-size: var(--font-size-sm);
}

/* Eski backend'den canlı çekilen ham HTML fragment'ları (inc/yonerge.php
   gibi) kendi eski class isimlerini (boxes/box) taşıyor — yapısına
   dokunmadan, sadece burada görsel olarak modern katmana uydurulur. */
table.box { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); margin-bottom: var(--space-4); }
table.box td { padding: var(--space-2); border-bottom: 1px solid var(--color-border); vertical-align: top; }
table.box tr:last-child td { border-bottom: none; }
table.box input[type="checkbox"] { width: 1.05rem; height: 1.05rem; accent-color: var(--color-primary); margin-top: 0.15rem; }

/* ---------- Bildirim (toast) sistemi ----------
   Strateji: success/info kısa süre sonra kendi kendine kapanır (okunması
   yeter, aksiyon gerektirmez); warning biraz daha uzun kalır; danger/error
   ASLA kendiliğinden kapanmaz — kullanıcının okuyup bilinçli olarak
   kapatması gerekir (bkz. js/toast.js — kolitakipToast). Hepsinde her
   zaman görünür bir × kapatma düğmesi var; artık "balona tıkla" değil,
   üzerine gelince sayaç duruyor (okurken kaybolmasın diye). */
.toast-container {
  position: fixed;
  top: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 420px;
  max-width: calc(100vw - var(--space-6));
  pointer-events: none;
}

.toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3) var(--space-8) var(--space-3) var(--space-3);
  border-left: 3px solid var(--color-border-strong);
  pointer-events: auto;
  overflow: hidden;
  animation: toast-in 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.toast.is-leaving { animation: toast-out 0.18s ease-in forwards; }
.toast.is-nudging { animation: toast-nudge 0.32s ease; }
.toast.toast-success { border-left-color: var(--color-success); background: var(--color-success-bg); }
.toast.toast-danger { border-left-color: var(--color-danger); background: var(--color-danger-bg); }
.toast.toast-warning { border-left-color: var(--color-warning); background: var(--color-warning-bg); }
.toast.toast-info { border-left-color: var(--color-primary); background: var(--color-primary-50); }

.toast .icon-wrap {
  width: 1.9rem; height: 1.9rem; flex: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.toast .icon-wrap svg { width: 1.05rem; height: 1.05rem; }
.toast .icon-wrap { background: var(--color-surface); box-shadow: 0 0 0 1px rgb(0 0 0 / 6%); }
.toast-success .icon-wrap { color: var(--color-success); }
.toast-danger .icon-wrap { color: var(--color-danger); }
.toast-warning .icon-wrap { color: var(--color-warning); }
.toast-info .icon-wrap { color: var(--color-primary-600); }

.toast .msg { font-size: var(--font-size-sm); line-height: 1.5; color: var(--color-text); padding-top: 0.2rem; }

.toast .close-btn {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  width: 1.5rem; height: 1.5rem;
  border: none;
  background: none;
  color: var(--color-text-subtle);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.toast .close-btn:hover { background: var(--color-surface-alt); color: var(--color-text); }
.toast .close-btn svg { width: 1rem; height: 1rem; }

.toast .toast-bar {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  opacity: 0.35;
  animation-name: toast-countdown;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.toast-success .toast-bar { color: var(--color-success); }
.toast-warning .toast-bar { color: var(--color-warning); }
.toast-info .toast-bar { color: var(--color-primary); }
.toast.is-paused .toast-bar { animation-play-state: paused; }

@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-8px); } }
@keyframes toast-countdown { from { width: 100%; } to { width: 0%; } }
@keyframes toast-nudge {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(1px); }
}

@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .toast.is-leaving { animation: none; }
  .toast.is-nudging { animation: none; }
  .toast .toast-bar { animation: none; opacity: 0; }
}

.spinner {
  width: 2.25rem;
  height: 2.25rem;
  margin: var(--space-2) auto var(--space-4);
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ticker {
  min-height: 1.6rem;
  padding: var(--space-2) var(--space-3);
  margin-bottom: var(--space-3);
  background: var(--color-primary-50);
  color: var(--color-primary-600);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s ease;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

.tnum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Rezervasyon: PDF-önce karşılayan yükleme alanı ---------- */

.upload-hero {
  border: 1.5px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-4);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, var(--color-primary-50), transparent 65%),
    var(--color-surface-alt);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.upload-hero:hover { border-color: var(--color-primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.upload-hero .icon-wrap {
  width: 3.25rem; height: 3.25rem; margin: 0 auto var(--space-3);
  border-radius: 50%; background: var(--color-primary); color: var(--color-primary-contrast);
  display: flex; align-items: center; justify-content: center;
}
.upload-hero .icon-wrap svg { width: 1.6rem; height: 1.6rem; }
.upload-hero .t { font-size: var(--font-size-lg); font-weight: 700; }
.upload-hero .d { font-size: var(--font-size-sm); color: var(--color-text-subtle); margin-top: 0.3rem; }
.upload-hero input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}

/* ---------- Rezervasyon: PDF sonrası temiz özet ---------- */

.summary-hero {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-5);
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-500));
  color: var(--color-primary-contrast);
  border-radius: var(--radius);
}
.summary-hero .badge-group { display: flex; flex-direction: column; gap: var(--space-1); }
.summary-hero .badge-pill {
  display: inline-flex; align-self: flex-start;
  padding: 0.2rem 0.65rem; border-radius: 999px; font-size: var(--font-size-xs); font-weight: 700;
  background: rgba(255, 255, 255, 0.18);
}
.summary-hero .tip-adi { font-size: var(--font-size-lg); font-weight: 700; }
.summary-hero .rv-tipi { font-size: var(--font-size-sm); opacity: 0.85; }
.summary-hero .tutar-wrap { text-align: right; }
.summary-hero .tutar-label { font-size: var(--font-size-xs); opacity: 0.75; text-transform: uppercase; letter-spacing: 0.04em; }
.summary-hero .tutar-value { font-family: var(--font-mono); font-size: var(--font-size-2xl); font-weight: 600; line-height: 1.1; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  background: var(--color-surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.summary-item { display: flex; flex-direction: column; gap: 0.25rem; }
.summary-item .k { font-size: var(--font-size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-text-subtle); }
.summary-item .v { font-family: var(--font-mono); font-size: var(--font-size-base); font-weight: 600; color: var(--color-text); }

/* ---------- PDF işleniyor: engelleyici + ilerleme hissi veren katman ---------- */

.processing-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--color-text) 45%, transparent);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  animation: modal-fade 0.15s ease-out;
}
.processing-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) var(--space-6);
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.processing-title { font-weight: 700; font-size: var(--font-size-base); margin-bottom: var(--space-2); }

/* ---- taranan belge: PDF okunurken oynayan tarama çizgisi ---- */
.processing-scan {
  width: 4.2rem; height: 4.2rem; margin: 0 auto var(--space-4);
  position: relative;
}
/* Tarama çizgisi sadece bu iç kapta klipleniyor — rozetler (PDF etiketi,
   okuma tiki) kutunun dışına taşabilsin diye .processing-scan'in kendisi
   klipsiz kalıyor. */
.processing-scan .clip {
  position: absolute; inset: 0; overflow: hidden; border-radius: 6px;
}
.processing-scan .doc-shell { width: 100%; height: 100%; color: var(--color-primary); }
.processing-scan .doc-shell svg { width: 100%; height: 100%; }
.processing-scan .pdf-badge {
  position: absolute; left: -6px; bottom: 2px; z-index: 2;
  font-family: var(--font-mono); font-size: 8px; font-weight: 700; letter-spacing: .02em;
  color: #fff; background: var(--color-primary-600); padding: 1px 4px; border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .28);
}
.processing-scan .read-check {
  position: absolute; top: -4px; right: -6px; z-index: 2;
  width: 17px; height: 17px; border-radius: 999px; background: var(--color-success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.processing-scan .read-check.show { opacity: 1; transform: scale(1); }
.processing-scan .read-check svg { width: 10px; height: 10px; }
.processing-scan .scan-line {
  position: absolute; left: 8%; right: 8%; height: 2px; top: 8%;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  box-shadow: 0 0 10px 1px color-mix(in srgb, var(--color-primary) 25%, transparent);
  animation: processing-scan-sweep 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}
.processing-scan.frozen .scan-line { opacity: 0; transition: opacity .3s ease; }
.processing-scan.frozen .doc-shell { opacity: .55; transition: opacity .3s ease; }
@keyframes processing-scan-sweep {
  0%   { top: 10%; opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 86%; opacity: 1; }
  58%  { opacity: 0; }
  100% { top: 86%; opacity: 0; }
}

/* ---- adım çizelgesi: doğrulama adımı sadece gerektiğinde beliriyor ---- */
.processing-steps { text-align: left; display: grid; gap: 0; margin-top: var(--space-4); }
.processing-step { display: flex; gap: var(--space-3); position: relative; padding-bottom: var(--space-5); }
.processing-step:last-child { padding-bottom: 0; }
.processing-step .line {
  position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--color-border);
}
.processing-step:last-child .line { display: none; }
.processing-step .dot {
  flex: none; width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; color: var(--color-text-subtle);
  background: var(--color-surface); transition: border-color .3s ease, color .3s ease, background .3s ease;
  z-index: 1;
}
.processing-step .dot svg { width: 13px; height: 13px; }
.processing-step .body { padding-top: .2rem; }
.processing-step .label { font-size: var(--font-size-sm); font-weight: 600; color: var(--color-text-subtle); transition: color .3s ease; }
.processing-step .sub {
  font-size: var(--font-size-xs); color: var(--color-text-subtle); margin-top: .1rem;
  opacity: 0; height: 0; overflow: hidden; transition: opacity .25s ease;
}

.processing-step.active .dot {
  border-color: var(--color-primary); color: var(--color-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 16%, transparent);
  animation: processing-step-pulse 1.4s ease-in-out infinite;
}
.processing-step.active .label { color: var(--color-text); }
.processing-step.active .sub { opacity: 1; height: auto; }
@keyframes processing-step-pulse {
  0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 16%, transparent); }
  50%      { box-shadow: 0 0 0 7px color-mix(in srgb, var(--color-primary) 16%, transparent); }
}

.processing-step.done .dot { border-color: var(--color-success); color: #fff; background: var(--color-success); animation: processing-dot-pop .35s ease; }
.processing-step.done .label { color: var(--color-text); }
.processing-step.done .line { background: var(--color-success); }
@keyframes processing-dot-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* İEO doğrulaması adımı: PDF okunup C Grubu Sıralı Dağıtım olduğu anlaşılana
   kadar (ya da 10sn eşiği geçilene kadar, bkz. reservation_form.php) DOM
   akışına hiç girmiyor — gizliyken satır/bağlantı çizgisi yer kaplamaz. */
.processing-step.conditional { display: none; }
.processing-step.conditional.revealed { display: flex; animation: processing-step-reveal .4s ease; }
@keyframes processing-step-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- E-posta doğrulama kodu gönderiliyor: uçan zarf ---------- */
/* .processing-overlay/.processing-box ile aynı kalıp (bkz. yukarısı) — burada
   ayrı bir isimle tutuluyor çünkü bu döngüsel (infinite) bir animasyon: PDF
   akışındaki gibi backend'in kaç adımdan geçtiği bilinmiyor, e-posta
   gönderiminin süresi de değişken. Bu yüzden "tek seferlik bitiş" yerine
   istek süresince tekrar eden bir "gönderiliyor" hareketi kullanılıyor —
   gerçek bitiş, screens/email_update.php'nin hx-swap ile yerini
   screens/email_code_entry.php'ye (ya da hatalıysa kendi güncel haline)
   bırakmasıyla geliyor, overlay o swap ile birlikte DOM'dan kalkıyor.
   Bkz. screens/email_update.php'deki htmx:beforeRequest/afterRequest. */
.email-processing-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--color-text) 45%, transparent);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  z-index: 300;
  animation: modal-fade 0.15s ease-out;
}
.email-processing-box {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) var(--space-6);
  width: 100%;
  max-width: 340px;
  text-align: center;
}
.email-fly-stage { width: 100%; height: 5rem; margin-bottom: var(--space-3); position: relative; overflow: hidden; }
.email-fly-env {
  position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; color: var(--color-primary);
  transform: translate(-50%, -50%);
  animation: email-fly 1.15s cubic-bezier(.5, -0.2, .6, 1.2) infinite;
}
.email-fly-env svg { width: 100%; height: 100%; }
@keyframes email-fly {
  0%        { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 1; }
  60%       { transform: translate(30%, -90%) rotate(18deg) scale(.9); opacity: 1; }
  90%, 100% { transform: translate(140%, -160%) rotate(22deg) scale(.5); opacity: 0; }
}
.email-fly-trail {
  position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 999px;
  background: var(--color-primary-100); opacity: 0;
  animation: email-fly-trail 1.15s ease-out infinite;
}
@keyframes email-fly-trail {
  0%        { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  15%       { opacity: .9; }
  90%, 100% { opacity: 0; transform: translate(10%, -70%) scale(1.6); }
}
.email-processing-title { font-weight: 700; font-size: var(--font-size-base); margin-bottom: var(--space-2); }
.email-processing-sub { font-size: var(--font-size-sm); color: var(--color-text-muted); }

/* ---------- 4 haneli kod girişi: segmented (kutu kutu) ---------- */
.otp-boxes { display: flex; gap: var(--space-2); justify-content: center; }
.otp-box {
  width: 3.6rem;
  height: 4.2rem;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 700;
  font-family: var(--font-mono);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.otp-box:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--focus-ring); }

@media (prefers-reduced-motion: reduce) {
  .processing-scan .scan-line,
  .processing-step.active .dot,
  .processing-step.done .dot,
  .processing-step.conditional.revealed,
  .email-fly-env,
  .email-fly-trail { animation: none !important; }
}

/* ---------- Duyuru sistemi: Bildirim Zili + Duyurular Arşivi ----------
   Kaynak: kullanıcı onayı (2026-08-11) — kurum'daki duyuru sisteminin
   hedefli (tümü/grup/tekil) portu. jx/jx_eczane_duyuru.php. */
.zil-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
}
.zil-btn:hover { background: var(--color-surface-alt); }
.zil-btn svg { width: 1.15rem; height: 1.15rem; }
.zil-btn #zil-rozet { position: absolute; top: -0.1rem; right: -0.1rem; }
.zil-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  border: 2px solid var(--color-surface);
  line-height: 1;
}
#duyurular-nav-rozet { margin-left: auto; }

.zil-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.32);
  z-index: 150;
  display: flex;
  justify-content: flex-end;
  animation: modal-fade 0.15s ease-out;
}
.zil-drawer {
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  gap: var(--space-3);
}
.zil-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: var(--font-size-base);
}
.zil-drawer-list { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-2); }
.zil-drawer-foot { border-top: 1px solid var(--color-border); padding-top: var(--space-3); }
.zil-drawer-foot .btn-link { width: 100%; text-align: center; }

.duyuru-liste { display: flex; flex-direction: column; gap: var(--space-2); }
.duyuru-item {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}
.duyuru-item-bilgi { border-left: 3px solid var(--color-primary-500); }
.duyuru-item-uyari { border-left: 3px solid var(--color-warning); }
.duyuru-item-kritik { border-left: 3px solid var(--color-danger); }
.duyuru-item-ic { font-size: 1rem; line-height: 1.4; flex: none; }
.duyuru-item-body { flex: 1; min-width: 0; }
.duyuru-item-baslik { font-weight: 700; font-size: var(--font-size-sm); color: var(--color-text); }
.duyuru-item-icerik { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: 0.15rem; line-height: 1.45; }
.duyuru-item-tarih { font-size: var(--font-size-xs); color: var(--color-text-subtle); margin-top: 0.3rem; }
.duyuru-item-kapat {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--color-text-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.duyuru-item-kapat:hover { background: var(--color-border); color: var(--color-text); }
.duyuru-liste-empty { color: var(--color-text-muted); font-size: var(--font-size-sm); padding: var(--space-2); }
