/* ============================================================
   CELSEPRO — Tasarım Sistemi (logo paletine göre güncellendi)
   Konsept: "Dosya / Zarf" — siyah bir dosya kapağı aralanır,
   içinden kağıt tonlu, düzenli bir sayfa çıkar. Kırmızı vurgu ve
   gri nötr tonlar logodaki mühür kırmızısı + terazi siyahı +
   çevre halkası griinden alınmıştır.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Renk paleti — logodan örneklendi */
  --ink-900: #171717;
  --ink-800: #212121;
  --ink-700: #2B2B2B;
  --paper: #FAF9F7;
  --paper-dim: #F0EEEA;
  --paper-line: #E2DFDA;
  --garnet: #B80F14;
  --garnet-dark: #8C0B10;
  --garnet-light: #D33A3F;
  --brass: #9C9C9C;
  --ok: #2F6F4E;
  --text-on-ink: #F4F3F1;
  --text-on-ink-dim: rgba(244, 243, 241, 0.62);
  --text-on-paper: #1C1B1A;
  --text-on-paper-dim: #6E6A66;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  --navbar-h: 68px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-body);
  color: var(--text-on-paper);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ------------------------------------------------------------
   Layout: split screen
   ------------------------------------------------------------ */
.auth-shell {
  min-height: calc(100vh - var(--navbar-h));
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-hero { min-height: 38vh; }
}

/* ------------------------------------------------------------
   Sol panel: koyu "dosya kapağı"
   ------------------------------------------------------------ */
.auth-hero {
  background:
    radial-gradient(circle at 15% 12%, rgba(156, 156, 156, 0.16), transparent 45%),
    linear-gradient(165deg, var(--ink-900) 0%, var(--ink-800) 60%, var(--ink-700) 100%);
  color: var(--text-on-ink);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 4vw, 64px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  z-index: 2;
  position: relative;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
}

.auth-hero .brand__mark {
  width: 46px;
  height: 46px;
}

.sidebar-logo {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.hero-copy {
  z-index: 2;
  position: relative;
  max-width: 460px;
}

.hero-copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58C27D;
  box-shadow: 0 0 0 0 rgba(88, 194, 125, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(88, 194, 125, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(88, 194, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 194, 125, 0); }
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hero-copy p {
  color: var(--text-on-ink-dim);
  line-height: 1.6;
  font-size: 0.98rem;
  margin: 0;
}

/* Canlı dosya akışı — arka planda sürekli kayan, hafif bulanık
   "dosya satırları". Gerçek veri değil, atmosfer içindir. */
.file-stream {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.file-stream__col {
  position: absolute;
  right: 6%;
  top: 0;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: scrollUp 26s linear infinite;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-ink-dim);
  background: rgba(241, 236, 222, 0.04);
  border: 1px solid rgba(241, 236, 222, 0.08);
  border-radius: 8px;
  padding: 9px 12px;
  white-space: nowrap;
}

.file-row span.tag {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.tag--hearing { background: rgba(184, 15, 20, 0.35); color: #E9A9B0; }
.tag--doc     { background: rgba(156, 156, 156, 0.22); color: #D6D5D3; }
.tag--done    { background: rgba(47, 111, 78, 0.3);  color: #9CD8B4; }

@keyframes scrollUp {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .file-stream__col { animation: none; }
  .live-dot { animation: none; }
}

.case-ticker {
  z-index: 2;
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-on-ink-dim);
  border-top: 1px solid rgba(241, 236, 222, 0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
}

.case-ticker strong {
  color: var(--brass);
  font-weight: 500;
}

/* ------------------------------------------------------------
   Sağ panel: kağıt renkli form alanı
   ------------------------------------------------------------ */
.auth-form-panel {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
}

.auth-card {
  width: 100%;
  max-width: 400px;
}

.auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.auth-card__logo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

/* Dosya sekmesi görünümlü toggle */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: 30px;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-on-paper-dim);
  padding: 12px 4px 14px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tab-btn.active { color: var(--text-on-paper); }

.tab-btn::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--garnet);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.tab-btn.active::after { transform: scaleX(1); }

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.auth-card .sub {
  color: var(--text-on-paper-dim);
  font-size: 0.9rem;
  margin: 0 0 26px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-on-paper);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 9px;
  border: 1.5px solid var(--paper-line);
  background: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-on-paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--garnet);
  box-shadow: 0 0 0 3px rgba(184, 15, 20, 0.12);
}

.btn-primary {
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: 9px;
  background: var(--garnet);
  color: #FBEDEA;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  margin-top: 6px;
}

.btn-primary:hover { background: var(--garnet-dark); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }

.form-msg {
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: none;
}

.form-msg.error {
  display: block;
  background: rgba(184, 15, 20, 0.08);
  color: var(--garnet-dark);
  border: 1px solid rgba(184, 15, 20, 0.2);
}

.form-msg.success {
  display: block;
  background: rgba(47, 111, 78, 0.08);
  color: var(--ok);
  border: 1px solid rgba(47, 111, 78, 0.2);
}

.form-view { display: none; }
.form-view.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fine-print {
  margin-top: 22px;
  font-size: 0.78rem;
  color: var(--text-on-paper-dim);
  text-align: center;
}

/* ------------------------------------------------------------
   Dashboard iskeleti
   ------------------------------------------------------------ */
.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--paper);
}

@media (max-width: 780px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar {
    position: fixed;
    top: 0; bottom: 0; left: -272px;
    width: 260px;
    z-index: 60;
    transition: left 0.25s ease;
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .app-sidebar.open { left: 0; }
  .app-main { padding-top: 64px; }
}

.app-sidebar-toggle {
  display: none;
  position: fixed;
  top: 12px; left: 14px;
  z-index: 70;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: var(--ink-900);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.app-sidebar-toggle svg { width: 20px; height: 20px; color: var(--text-on-ink); }

.app-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.45);
  z-index: 55;
}
.app-sidebar-overlay.open { display: block; }

@media (max-width: 780px) {
  .app-sidebar-toggle { display: flex; }
}

.app-sidebar {
  background: var(--ink-900);
  color: var(--text-on-ink);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.app-sidebar .brand { font-size: 1.05rem; }

.nav-group { display: flex; flex-direction: column; gap: 3px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-on-ink-dim);
  cursor: default;
}

.nav-item.active {
  background: rgba(156, 156, 156, 0.16);
  color: var(--text-on-ink);
}

.nav-item .soon {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--brass);
  border: 1px solid rgba(156, 156, 156, 0.45);
  border-radius: 5px;
  padding: 1px 5px;
}

.app-main { padding: clamp(20px, 3vw, 44px); }

.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.app-topbar h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0;
}

.app-topbar .status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ok);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logout-link {
  font-size: 0.85rem;
  color: var(--text-on-paper-dim);
  text-decoration: none;
  border: 1px solid var(--paper-line);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}
.logout-link:hover { border-color: var(--garnet); color: var(--garnet); }

.topbar-right { display: flex; align-items: center; gap: 14px; }

.empty-state {
  border: 1.5px dashed var(--paper-line);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  background: #FFFFFF;
}

.empty-state .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 10px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--text-on-paper-dim);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.92rem;
}

/* ------------------------------------------------------------
   Site üstü gezinme (navbar)
   ------------------------------------------------------------ */
.site-navbar {
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 48px);
  background: #FFFFFF;
  border-bottom: 1px solid var(--paper-line);
  position: relative;
  z-index: 10;
}

.site-navbar__logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.site-navbar__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.site-navbar__links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--text-on-paper);
  position: relative;
  padding: 6px 0;
}

.site-navbar__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--garnet);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-navbar__links a:hover { color: var(--garnet); }
.site-navbar__links a:hover::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .site-navbar__links { display: none; }
}

.site-navbar__toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.site-navbar__toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text-on-paper);
}

@media (max-width: 900px) {
  .site-navbar__toggle { display: flex; }
}

.site-navbar__mobile {
  display: none;
  position: absolute;
  top: var(--navbar-h);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--paper-line);
  box-shadow: var(--shadow-lg);
  padding: 8px clamp(20px, 4vw, 32px) 18px;
  z-index: 20;
  flex-direction: column;
}

.site-navbar__mobile.open { display: flex; }

.site-navbar__mobile a {
  text-decoration: none;
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 4px;
  border-bottom: 1px solid var(--paper-dim);
}

.site-navbar__mobile a:last-child { border-bottom: none; }
.site-navbar__mobile a:active { color: var(--garnet); }

/* ------------------------------------------------------------
   Güvenli giriş rozeti
   ------------------------------------------------------------ */
.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--text-on-paper-dim);
  font-size: 0.76rem;
  font-family: var(--font-body);
}

.secure-badge svg {
  width: 15px;
  height: 15px;
  color: var(--ok);
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   Genç avukat kampanya bandı
   ------------------------------------------------------------ */
.promo-banner {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--paper-dim);
  border: 1px solid var(--paper-line);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-on-paper-dim);
  text-align: center;
}

.promo-banner strong { color: var(--text-on-paper); }

.promo-link {
  color: var(--garnet);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 15, 20, 0.35);
}

.promo-link:hover { border-bottom-color: var(--garnet); }

/* ============================================================
   ANA SAYFA (celsepro.com) — Pazarlama Sayfası
   ============================================================ */

/* Navbar'a eklenen CTA butonu (sadece ana sayfada) */
.site-navbar__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-nav {
  padding: 9px 18px;
  border-radius: 8px;
  background: var(--garnet);
  color: #FBEDEA;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--garnet-dark); }

@media (max-width: 900px) {
  .site-navbar__cta .btn-nav-desktop { display: none; }
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.home-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(184, 15, 20, 0.12), transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(156, 156, 156, 0.10), transparent 45%),
    linear-gradient(165deg, var(--ink-900) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
  color: var(--text-on-ink);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 64px);
}

.home-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 980px) {
  .home-hero__inner { grid-template-columns: 1fr; }
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  background: rgba(156, 156, 156, 0.12);
  border: 1px solid rgba(156, 156, 156, 0.3);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.home-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.14;
  margin: 0 0 20px;
  max-width: 620px;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--garnet-light);
}

.home-hero p.lead {
  color: var(--text-on-ink-dim);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 32px;
}

.home-hero__ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-outline-light {
  padding: 13px 22px;
  border-radius: 9px;
  border: 1.5px solid rgba(241, 243, 241, 0.28);
  background: transparent;
  color: var(--text-on-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-outline-light:hover { border-color: rgba(241,243,241,0.6); background: rgba(241,243,241,0.06); }

.btn-hero-primary {
  padding: 13px 24px;
  border-radius: 9px;
  border: none;
  background: var(--garnet);
  color: #FBEDEA;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-hero-primary:hover { background: var(--garnet-dark); }

.home-hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-on-ink-dim);
}

.home-hero__trust a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
  font-weight: 600;
}

/* Hero görsel: mockup panel + kayan dosya akışı */
.home-hero__visual {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(241,243,241,0.10);
  border-radius: 16px;
  padding: 20px;
  overflow: hidden;
  height: 360px;
}

.home-hero__visual .file-stream {
  opacity: 0.9;
}

.mockup-topbar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.mockup-topbar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(241,243,241,0.18);
}

/* ------------------------------------------------------------
   Bölüm başlıkları (kağıt zemin üzerinde)
   ------------------------------------------------------------ */
.section {
  padding: clamp(52px, 7vw, 88px) clamp(20px, 4vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--garnet);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  max-width: 640px;
}

.section-sub {
  color: var(--text-on-paper-dim);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 44px;
}

/* ------------------------------------------------------------
   Özellik kartları
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--garnet);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon svg {
  width: 21px;
  height: 21px;
  color: var(--garnet);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  margin: 0 0 8px;
  color: var(--text-on-paper);
}

.feature-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-on-paper-dim);
  margin: 0;
}

.feature-card .soon-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--brass);
  border: 1px solid rgba(156,156,156,0.4);
  border-radius: 5px;
  padding: 1px 6px;
}

/* ------------------------------------------------------------
   Nasıl çalışır - adımlar
   ------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  padding-top: 8px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--paper-line);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 8px;
  color: var(--text-on-paper);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-on-paper-dim);
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------
   CTA banner
   ------------------------------------------------------------ */
.cta-banner {
  background: linear-gradient(120deg, var(--ink-900), var(--ink-700));
  border-radius: 20px;
  padding: clamp(36px, 5vw, 56px);
  margin: 0 clamp(20px, 4vw, 64px) clamp(60px, 7vw, 90px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-on-ink);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0 0 8px;
  max-width: 460px;
}

.cta-banner p {
  color: var(--text-on-ink-dim);
  margin: 0;
  font-size: 0.92rem;
  max-width: 440px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--paper-dim);
  border-top: 1px solid var(--paper-line);
  padding: clamp(36px, 5vw, 52px) clamp(20px, 4vw, 64px) 26px;
}

.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 34px;
}

@media (max-width: 780px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__inner { grid-template-columns: 1fr; } }

.site-footer__brand img { height: 44px; width: auto; border-radius: 6px; margin-bottom: 12px; }
.site-footer__brand p { font-size: 0.83rem; color: var(--text-on-paper-dim); line-height: 1.6; max-width: 260px; margin: 0; }

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-on-paper);
  margin: 0 0 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--text-on-paper-dim); text-decoration: none; font-size: 0.86rem; }
.site-footer a:hover { color: var(--garnet); }

.site-footer__bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--paper-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-on-paper-dim);
}

/* ============================================================
   MÜVEKKİL / DOSYA MODÜLÜ
   ============================================================ */

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}

.page-header p {
  color: var(--text-on-paper-dim);
  font-size: 0.88rem;
  margin: 4px 0 0;
}

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 9px;
  border: none;
  background: var(--garnet);
  color: #FBEDEA;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-add:hover { background: var(--garnet-dark); }
.btn-add svg { width: 15px; height: 15px; }

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 7px;
  border: 1px solid var(--paper-line);
  background: #fff;
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
}
.btn-ghost-sm:hover { border-color: var(--garnet); color: var(--garnet); }

.btn-danger-sm {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(184,15,20,0.25);
  background: rgba(184,15,20,0.06);
  color: var(--garnet);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-danger-sm:hover { background: rgba(184,15,20,0.14); }

/* ---- Tablo ---- */
.table-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}

.data-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-paper-dim);
  background: var(--paper-dim);
  padding: 12px 16px;
  border-bottom: 1px solid var(--paper-line);
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--paper-dim);
  vertical-align: middle;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--paper-dim); cursor: pointer; }

.data-table .row-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.cell-primary { font-weight: 600; color: var(--text-on-paper); }
.cell-muted { color: var(--text-on-paper-dim); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.status-badge.acik { background: rgba(47,111,78,0.1); color: var(--ok); }
.status-badge.beklemede { background: rgba(156,156,156,0.16); color: #7A7A7A; }
.status-badge.kapali { background: rgba(184,15,20,0.08); color: var(--garnet); }

.empty-row td {
  text-align: center;
  padding: 44px 20px;
  color: var(--text-on-paper-dim);
}

/* ---- Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,15,15,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--paper);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px 4px;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 4px;
}

.modal-header p {
  color: var(--text-on-paper-dim);
  font-size: 0.84rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-on-paper-dim);
  padding: 4px;
}
.modal-close:hover { color: var(--garnet); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body { padding: 14px 24px 6px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 24px;
}

.btn-secondary {
  padding: 11px 18px;
  border-radius: 9px;
  border: 1.5px solid var(--paper-line);
  background: #fff;
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--garnet); color: var(--garnet); }

/* Sihirbaz adım göstergesi */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-paper-dim);
}
.wizard-step .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper-dim);
  border: 1.5px solid var(--paper-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700;
  color: var(--text-on-paper-dim);
}
.wizard-step.active .dot { background: var(--garnet); border-color: var(--garnet); color: #fff; }
.wizard-step.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.wizard-step.active span.label { color: var(--text-on-paper); font-weight: 600; }
.wizard-sep { width: 20px; height: 1px; background: var(--paper-line); }

/* Form grid */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }

/* ---- Dosya Akıbeti sayfası ---- */
.detail-header {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 22px;
}

.detail-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.detail-header h1 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  font-size: 0.84rem;
}
.detail-meta .item { display: flex; flex-direction: column; gap: 2px; }
.detail-meta .item .k { font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-on-paper-dim); }
.detail-meta .item .v { font-weight: 600; color: var(--text-on-paper); }

.subsection {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
}

.subsection h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--text-on-paper);
}

.subsection .hint {
  color: var(--text-on-paper-dim);
  font-size: 0.82rem;
  margin: 0 0 16px;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper-dim);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 0.86rem;
}

.item-row .main { font-weight: 600; color: var(--text-on-paper); }
.item-row .sub { color: var(--text-on-paper-dim); font-size: 0.78rem; }

.inline-add-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  align-items: end;
}

.inline-add-form .field { margin-bottom: 0; }
.inline-add-form .field label { font-size: 0.72rem; }
.inline-add-form .field input,
.inline-add-form .field select {
  padding: 9px 11px;
  font-size: 0.86rem;
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--paper-dim);
  border-radius: 9px;
  padding: 10px 12px;
}

.fee-row label {
  font-size: 0.8rem;
  color: var(--text-on-paper);
  font-weight: 500;
}

.fee-row input {
  width: 110px;
  padding: 7px 9px;
  border-radius: 6px;
  border: 1.5px solid var(--paper-line);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.tab-pills {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tab-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--paper-line);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-on-paper-dim);
  cursor: pointer;
}
.tab-pill.active { background: var(--garnet); border-color: var(--garnet); color: #fff; }

/* ============================================================
   DURUŞMA / KEŞİF TAKVİMİ
   ============================================================ */

.event-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 14px;
}

.event-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 3px;
}

.event-card__sub {
  color: var(--text-on-paper-dim);
  font-size: 0.82rem;
}

.balloon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
}
.balloon .dot { width: 7px; height: 7px; border-radius: 50%; }

.balloon.red { background: rgba(184,15,20,0.09); color: var(--garnet); }
.balloon.red .dot { background: var(--garnet); }

.balloon.yellow { background: rgba(196,138,8,0.12); color: #9A6600; }
.balloon.yellow .dot { background: #C48A08; }

.balloon.green { background: rgba(47,111,78,0.1); color: var(--ok); }
.balloon.green .dot { background: var(--ok); }

.balloon.gray { background: rgba(156,156,156,0.15); color: #7A7A7A; }
.balloon.gray .dot { background: #9C9C9C; }

.event-warning {
  font-size: 0.8rem;
  font-weight: 600;
  color: #9A6600;
  margin: -8px 0 14px;
}

.event-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--paper-dim);
}

.event-card__meta .item .k {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-paper-dim);
  display: block;
  margin-bottom: 3px;
}
.event-card__meta .item .v {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-on-paper);
}

.attendance-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-on-paper-dim);
  margin-bottom: 10px;
}

.attendance-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.attendance-btn {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--paper-line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-on-paper);
  cursor: pointer;
  text-align: left;
}
.attendance-btn:hover { border-color: var(--garnet); color: var(--garnet); }

.attendance-locked {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 9px;
  background: var(--paper-dim);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-on-paper);
}
.attendance-locked svg { width: 15px; height: 15px; color: var(--text-on-paper-dim); flex-shrink: 0; }

/* ============================================================
   PANEL ANA SAYFA (Dashboard)
   ============================================================ */

.dash-block-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 30px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-block-title:first-child { margin-top: 0; }

.dash-block-title .line { flex: 1; height: 1px; background: var(--paper-line); }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.dash-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.dash-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.count-pill {
  background: var(--paper-dim);
  color: var(--text-on-paper-dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.dash-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 13px;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--paper-dim);
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
}
.dash-row:hover { background: rgba(184,15,20,0.07); }
.dash-row .main { font-weight: 600; color: var(--text-on-paper); }
.dash-row .sub { color: var(--text-on-paper-dim); font-size: 0.74rem; margin-top: 1px; }
.dash-row .date-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--garnet);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-empty {
  color: var(--text-on-paper-dim);
  font-size: 0.8rem;
  padding: 8px 0 2px;
}

.dash-appt-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.dash-appt-form input {
  padding: 8px 10px;
  border-radius: 7px;
  border: 1.5px solid var(--paper-line);
  font-size: 0.8rem;
}
.dash-appt-form input[type="text"] { flex: 1; min-width: 120px; }


/* Sprint 1: giriş seçenekleri */
.auth-options { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:2px 0 10px; font-size:.82rem; }
.remember-option { display:inline-flex; align-items:center; gap:7px; cursor:pointer; color:var(--text-on-paper-dim); user-select:none; }
.remember-option input { width:16px; height:16px; accent-color:var(--garnet); }
.text-link { border:0; padding:0; background:transparent; color:var(--garnet); font:inherit; font-weight:600; cursor:pointer; text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.centered-link { display:block; text-align:center; margin-top:16px; }

/* ============================================================
   BELGE EDİTÖRÜ
   ============================================================ */

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 10px 10px 0 0;
  padding: 8px 10px;
  position: sticky;
  top: 0;
  z-index: 5;
}

.editor-toolbar .sep {
  width: 1px;
  height: 22px;
  background: var(--paper-line);
  margin: 0 5px;
}

.editor-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: none;
  border-radius: 7px;
  cursor: pointer;
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
}
.editor-btn:hover { background: var(--paper-dim); }
.editor-btn.active { background: rgba(184,15,20,0.1); color: var(--garnet); border-color: rgba(184,15,20,0.2); }
.editor-btn svg { width: 16px; height: 16px; }
.editor-btn.italic { font-style: italic; }
.editor-btn.underline { text-decoration: underline; }

.editor-select {
  height: 32px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid var(--paper-line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-on-paper);
}

.editor-canvas {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-top: none;
  min-height: 560px;
  padding: 48px 56px;
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #1a1a1a;
  outline: none;
}
.editor-canvas:focus { box-shadow: inset 0 0 0 2px rgba(184,15,20,0.12); }
.editor-canvas p { margin: 0 0 12px; }
.editor-canvas h1, .editor-canvas h2, .editor-canvas h3 { font-family: var(--font-display); margin: 18px 0 10px; }

.editor-savebar {
  display: flex;
  justify-content: flex-end;
  margin: 14px 0;
}

.editor-savebar.top { margin-bottom: 0; }

.udf-warning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: rgba(196,138,8,0.1);
  border: 1px solid rgba(196,138,8,0.25);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 0.78rem;
  color: #7A5600;
  margin-top: 10px;
}
.udf-warning svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   GELİR / GİDER
   ============================================================ */

.finance-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.finance-summary__card {
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #fff;
}
.finance-summary__card.income { background: linear-gradient(135deg, #1F6B45, #2F8F5C); }
.finance-summary__card.expense { background: linear-gradient(135deg, var(--garnet-dark), var(--garnet)); }
.finance-summary__card .label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; margin-bottom: 8px; }
.finance-summary__card .amount { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }

.finance-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.finance-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--paper-line);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-on-paper);
  text-align: left;
}
.finance-action-btn:hover { border-color: var(--garnet); color: var(--garnet); }
.finance-action-btn svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--garnet); }

.finance-month-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.finance-month-picker select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--paper-line);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* ============================================================
   DESTEK (WhatsApp temalı ticket sistemi)
   ============================================================ */

.support-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 80;
  transition: transform 0.15s ease;
}
.support-fab:hover { transform: scale(1.06); }
.support-fab svg { width: 28px; height: 28px; color: #fff; }

.support-modal {
  background: #E5DDD5;
  max-width: 460px;
}

.support-modal__header {
  background: #075E54;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 16px 16px 0 0;
}
.support-modal__header h3 { font-family: var(--font-body); font-size: 1.1rem; margin: 0 0 3px; }
.support-modal__header p { margin: 0; font-size: 0.8rem; opacity: 0.85; }
.support-modal__header .modal-close { color: #fff; }

.support-modal .modal-body {
  background: #E5DDD5;
  padding: 20px 22px;
}
.support-modal .field label { color: #1f2c33; }
.support-modal .field input,
.support-modal .field select,
.support-modal .field textarea {
  background: #fff;
  border-color: #cfc7bd;
}

.support-modal .modal-footer {
  background: #E5DDD5;
  border-radius: 0 0 16px 16px;
}

.btn-support-send {
  background: #25D366;
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-support-send:hover { background: #1EBE5A; }

@media (max-width: 780px) {
  .support-fab { bottom: 18px; right: 18px; }
}

/* Akış kartları - renk paleti + otomatik kayan liste */
.dash-card--red .dash-card__icon { background: rgba(184,15,20,0.08); }
.dash-card--red .dash-card__icon svg { color: #B80F14; }
.dash-card--red .count-pill.has-items { background: rgba(184,15,20,0.12); color: #B80F14; }

.dash-card--teal .dash-card__icon { background: rgba(13,148,136,0.1); }
.dash-card--teal .dash-card__icon svg { color: #0D9488; }
.dash-card--teal .count-pill.has-items { background: rgba(13,148,136,0.14); color: #0D9488; }

.dash-card--amber .dash-card__icon { background: rgba(196,138,8,0.12); }
.dash-card--amber .dash-card__icon svg { color: #9A6600; }
.dash-card--amber .count-pill.has-items { background: rgba(196,138,8,0.16); color: #9A6600; }

.dash-card--purple .dash-card__icon { background: rgba(124,58,237,0.1); }
.dash-card--purple .dash-card__icon svg { color: #7C3AED; }
.dash-card--purple .count-pill.has-items { background: rgba(124,58,237,0.14); color: #7C3AED; }

.dash-card--orange .dash-card__icon { background: rgba(234,88,12,0.1); }
.dash-card--orange .dash-card__icon svg { color: #EA580C; }
.dash-card--orange .count-pill.has-items { background: rgba(234,88,12,0.14); color: #EA580C; }

.dash-card--slate .dash-card__icon { background: rgba(100,116,139,0.12); }
.dash-card--slate .dash-card__icon svg { color: #64748B; }
.dash-card--slate .count-pill.has-items { background: rgba(100,116,139,0.16); color: #64748B; }

.dash-list.scrolling {
  overflow: hidden;
  max-height: 210px;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent);
  mask-image: linear-gradient(to bottom, black 85%, transparent);
}
.dash-scroll-track { animation: dashScroll 16s linear infinite; }
.dash-list.scrolling:hover .dash-scroll-track { animation-play-state: paused; }
@keyframes dashScroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* WhatsApp tarzı mesajlaşma akışı */
.wa-thread {
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 2px;
}
.wa-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.45;
  position: relative;
}
.wa-bubble.from-user { align-self: flex-end; background: #DCF8C6; color: #1f2c33; border-bottom-right-radius: 2px; }
.wa-bubble.from-admin { align-self: flex-start; background: #fff; color: #1f2c33; border-bottom-left-radius: 2px; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
.wa-bubble .wa-time { display: block; font-size: 0.66rem; color: #7a8b91; margin-top: 4px; text-align: right; }

.ticket-row {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ticket-row:hover { border-color: #25D366; }
.ticket-row .cat { font-weight: 700; font-size: 0.88rem; }
.ticket-row .snippet { color: var(--text-on-paper-dim); font-size: 0.82rem; margin-top: 3px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-status { font-family: var(--font-mono); font-size: 0.68rem; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.ticket-status.open { background: rgba(196,138,8,0.14); color: #9A6600; }
.ticket-status.answered { background: rgba(37,211,102,0.14); color: #1EBE5A; }
.ticket-status.closed { background: rgba(100,116,139,0.14); color: #64748B; }

/* Büro Etkinlikleri */
.events-layout{display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,1.15fr);gap:24px}.events-panel{background:var(--paper,#fff);border:1px solid var(--paper-line,#e5e7eb);border-radius:16px;padding:22px;box-shadow:0 8px 30px rgba(15,23,42,.05)}.events-panel textarea{width:100%;padding:12px;border-radius:9px;border:1.5px solid var(--paper-line);font:inherit;resize:vertical}.event-viewer-actions{display:flex;gap:8px;margin-bottom:10px}.event-viewer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:265px;overflow:auto;padding:4px}.event-viewer{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--paper-line,#e5e7eb);border-radius:11px;background:#fff;cursor:pointer}.event-viewer input{width:18px;height:18px}.event-viewer span{display:flex;flex-direction:column;min-width:0}.event-viewer small,.field-help{color:#64748b;font-size:.78rem}.event-flow-check{display:flex;gap:9px;align-items:center;margin:15px 0}.office-event-card{display:grid;grid-template-columns:110px 1fr auto;gap:16px;align-items:center;padding:16px;border:1px solid var(--paper-line,#e5e7eb);border-radius:14px;margin-bottom:12px;background:linear-gradient(135deg,#fff,#faf5ff)}.office-event-date{display:flex;flex-direction:column;padding:12px;border-radius:12px;background:#f3e8ff;color:#6b21a8}.office-event-date span{font-size:.78rem;margin-top:4px}.office-event-body h3{margin:5px 0}.office-event-body p{margin:0 0 7px;color:#475569}.event-category{display:inline-flex;padding:4px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:.72rem;font-weight:700}@media(max-width:980px){.events-layout{grid-template-columns:1fr}.event-viewer-list{grid-template-columns:1fr}}@media(max-width:600px){.events-panel{padding:15px}.office-event-card{grid-template-columns:1fr}.office-event-date{width:max-content}}


/* Ortak admin yan menüsü */
.app-sidebar a.nav-item {
  display: block;
  color: inherit;
  text-decoration: none !important;
  font-family: Helvetica, Arial, sans-serif;
}
.app-sidebar a.nav-item:hover,
.app-sidebar a.nav-item:focus,
.app-sidebar a.nav-item:visited {
  text-decoration: none !important;
}
/* v2: Destek kart başlıkları solda hizalı */
.support-ticket h1,.support-ticket h2,.support-ticket h3,.support-ticket__title,.ticket-card h3,.ticket-title{text-align:left!important;justify-content:flex-start!important}
/* Destek listesinde satır başlıkları premium kart düzeninde solda kalır. */
.ticket-row h3,.ticket-row .cat,.ticket-row .snippet,.support-list h3,.support-list-item h3{text-align:left!important;justify-content:flex-start!important}
.ticket-row__top,.ticket-row__body,.ticket-row__name,.ticket-row__cat,.ticket-row__snippet{text-align:left!important;justify-content:flex-start!important}
