/* ==========================================================================
   tema.css — v6.7 monday benzeri görünüm (en son yüklenen tema katmanı; kaldırılırsa eski görünüm döner)
   Değerler monday.com'un açık kaynak "Vibe" tasarım sisteminin belirteçlerinden (monday-ui-style 0.26.2):
   ana renk #0073ea, yazı #323338 / #676879, kenarlık #d0d4e4, zemin #f6f7fb, seçili #cce5ff, köşe 4/8/16px.
   Yazı tipleri: Figtree (metin) ve Poppins (başlık) — SIL Open Font License 1.1, css/fonts içinde (kendi sunucumuzdan).
   Logo, resimler ve çizimler monday'den alınmadı; yalnız renk / ölçü / yazı tipi dili benzer.
   ========================================================================== */

@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:300; src:url('fonts/figtree-latin-ext-300.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:300; src:url('fonts/figtree-latin-300.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:400; src:url('fonts/figtree-latin-ext-400.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:400; src:url('fonts/figtree-latin-400.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:500; src:url('fonts/figtree-latin-ext-500.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:500; src:url('fonts/figtree-latin-500.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:600; src:url('fonts/figtree-latin-ext-600.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:600; src:url('fonts/figtree-latin-600.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:700 900; src:url('fonts/figtree-latin-ext-700.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Figtree'; font-style:normal; font-display:swap; font-weight:700 900; src:url('fonts/figtree-latin-700.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:300; src:url('fonts/poppins-latin-ext-300.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:300; src:url('fonts/poppins-latin-300.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:400; src:url('fonts/poppins-latin-ext-400.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:400; src:url('fonts/poppins-latin-400.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:500; src:url('fonts/poppins-latin-ext-500.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:500; src:url('fonts/poppins-latin-500.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:600 700; src:url('fonts/poppins-latin-ext-600.woff2') format('woff2'); unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family:'Poppins'; font-style:normal; font-display:swap; font-weight:600 700; src:url('fonts/poppins-latin-600.woff2') format('woff2'); unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- belirteçler (eski adlar korunur: --purple artık ana renk = monday mavisi) ---------- */
:root{
  --font: Figtree, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: Poppins, Figtree, "Segoe UI", Roboto, Arial, sans-serif;
  --purple: #0073ea; --purple-dark: #0060b9; --purple-light: #cce5ff; --primary-hover-bg: rgba(103,104,121,.1);
  --bg: #f6f7fb; --surface: #ffffff; --border: #d0d4e4; --border-soft: #e6e9ef;
  --text: #323338; --text-soft: #676879; --text-faint: #9699a6;
  --danger: #d83a52; --success: #00c875; --warning: #fdab3d; --info: #579bfc; --positive-text: #00854d;
  --radius: 8px; --radius-sm: 4px;
  --shadow: 0px 4px 8px rgba(0,0,0,.12); --shadow-lg: 0px 6px 20px rgba(0,0,0,.2);
}
[data-theme="dark"]{
  --purple: #0073ea; --purple-dark: #0060b9; --purple-light: #133774; --primary-hover-bg: rgba(103,104,121,.3);
  --bg: #181b34; --surface: #30324e; --border: #4b4e69; --border-soft: #414458;
  --text: #d5d8df; --text-soft: #9699a6; --text-faint: #7d8099;
  --danger: #e2445c; --positive-text: #00c875;
  --shadow: 0px 4px 8px rgba(9,11,25,.5); --shadow-lg: 0px 15px 50px rgba(9,11,25,.5);
}
body{ font-family: var(--font); color: var(--text); font-size:14px; -webkit-font-smoothing:antialiased; }
button, input, select, textarea{ font-family: inherit; }
h1, h2, h3, .oa-card h2, .bmodal h3{ font-family: var(--font-title); font-weight:500; }

/* ---------- sol menü (monday: beyaz panel, 32 px satır, seçili #cce5ff) ---------- */
.sidebar{ background: var(--surface); border-right:1px solid var(--border-soft); }
.brand-name{ font-family: var(--font-title); font-weight:600; font-size:16px; letter-spacing:-.01em; }
.nav-section-title{ text-transform:none; letter-spacing:0; font-size:13px; font-weight:600; color: var(--text-soft); padding:14px 8px 4px; }
.nav-item{ border-radius: var(--radius-sm); padding:6px 8px; min-height:32px; color: var(--text); font-weight:400; margin-bottom:1px; }
.nav-item:hover{ background: var(--primary-hover-bg); color: var(--text); }
.nav-item.active{ background: var(--purple-light); color: var(--text); font-weight:400; }
[data-theme="dark"] .nav-item.active{ color:#fff; }
.nav-count{ background: transparent; color: var(--text-soft); font-weight:500; font-size:12px; padding:0 4px; }
.nav-item.active .nav-count{ background: transparent; color: var(--text); }
.sidebar-footer{ border-top:1px solid var(--border-soft); }
.global-search, .sidebar input[type="search"], .sidebar .gs-input{ border-radius: var(--radius-sm); }

/* ---------- üst çubuk ve sayfa başlığı ---------- */
.topbar{ border-bottom:1px solid var(--border-soft); }
.topbar-left h1{ font-family: var(--font-title); font-weight:500; font-size:24px; letter-spacing:-.01em; }
.view-subtitle{ font-size:13px; color: var(--text-soft); }

/* ---------- düğmeler (Vibe: 4 px köşe, 32 px yükseklik, ana düğme mavi) ---------- */
.btn{ border-radius: var(--radius-sm); font-weight:400; min-height:32px; padding:4px 12px; border-color: var(--border); color: var(--text); }
.btn:hover{ border-color: var(--border); background: var(--primary-hover-bg); }
.btn-primary{ background: var(--purple); border-color: var(--purple); color:#fff; font-weight:500; }
.btn-primary:hover{ background: var(--purple-dark); border-color: var(--purple-dark); color:#fff; }
.btn-ghost{ border-color: transparent; }
.btn-sm{ min-height:28px; padding:2px 10px; font-size:13px; }
.btn-danger{ background: var(--danger); border-color: var(--danger); }
.btn:active{ transform:none; }
.icon-btn{ border-radius: var(--radius-sm); }
input:focus-visible, select:focus-visible, textarea:focus-visible{ outline:none; border-color: var(--purple) !important; box-shadow:0 0 0 1px var(--purple); }

/* ---------- pano: görünüm sekmeleri ve araç çubuğu ---------- */
.bp-views{ border-bottom:1px solid var(--border-soft); gap:4px; }
.bp-tab{ font-size:14px; color: var(--text); border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding:8px 10px; }
.bp-tab:hover{ background: var(--primary-hover-bg); color: var(--text); }
.bp-tab.active{ color: var(--text); font-weight:400; border-bottom:2px solid var(--purple); }
.bp-toolbar{ gap:4px; }
.bp-toolbar .btn:not(.btn-primary):not(.btn-on){ border-color: transparent; background: transparent; }
.bp-toolbar .btn:not(.btn-primary):hover{ background: var(--primary-hover-bg); }
.bp-toolbar .board-search, .bp-toolbar select{ border-radius: var(--radius-sm); border-color: transparent; background: transparent; }
.bp-toolbar .board-search:hover, .bp-toolbar select:hover{ background: var(--primary-hover-bg); }
.bp-toolbar .board-search:focus{ background: var(--surface); border-color: var(--purple); }
.btn-on{ border-color: transparent !important; color: var(--purple); background: var(--purple-light) !important; }
.bp-bulk{ border-radius: var(--radius); border-color: var(--purple); }

/* ---------- tablo (Vibe: 36 px satır, ortalı başlık, #d0d4e4 çizgiler, grup renginde sol şerit) ---------- */
.bt-ghead{ padding:6px 2px 8px; }
.bt-gtitle{ font-family: var(--font-title); font-weight:500; font-size:18px; letter-spacing:-.01em; }
.bt-gcount{ font-size:14px; color: var(--text-soft); }
.bt-scroll{ border:none; border-radius: var(--radius) 0 0 var(--radius); background: transparent; }
.bt-table{ font-size:14px; }
.bt-table th{ color: var(--text); font-weight:400; font-size:14px; border-color: var(--border); border-top:1px solid var(--border); height:36px; }
.bt-table td{ border-color: var(--border); height:36px; }
.bt-table th.bt-c-sel{ border-top-left-radius: var(--radius); }
.bt-table > tbody > tr:last-child > td.bt-c-sel{ border-bottom-left-radius: var(--radius); }
.bt-row:hover td{ background: color-mix(in srgb, var(--text-soft) 7%, var(--surface)); }
.bt-row.sel td{ background: var(--purple-light); }
.status-cell{ font-weight:400; font-size:14px; text-shadow:none; }
.bt-collapsed{ border-radius: var(--radius); }
.bt-addcol{ border-radius: var(--radius-sm); }

/* ---------- açılır pencereler ---------- */
.bpop{ border-radius: var(--radius); border-color: var(--border-soft); box-shadow: var(--shadow-lg); }
.bmodal{ border-radius: var(--radius); }
.settings-select, .bpop-input{ border-radius: var(--radius-sm); }
.toast{ border-radius: var(--radius); }

/* ---------- giriş / kayıt sayfası (monday düzeni: solda form, sağda tanıtım; çizim bize ait) ---------- */
.oa{ background: var(--surface); padding:0; align-items:stretch; justify-content:stretch; overflow:auto; }
.oa-sol{ flex:1 1 50%; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px 24px 24px; min-height:100%; }
.oa-card{ width:420px; max-width:100%; box-shadow:none; border-radius:0; padding:0; background:transparent; }
.oa-card:has(.ka){ width:460px; }
.oa-brand{ margin-bottom:28px; }
.oa-brand b{ font-family: var(--font-title); font-weight:600; font-size:17px; }
.oa-card h2{ font-family: var(--font-title); font-weight:300; font-size:32px; line-height:1.2; margin:0 0 6px; letter-spacing:-.01em; }
.oa-alt{ margin:0 0 18px; color: var(--text-soft); font-size:15px; }
.oa-card label{ font-size:14px; font-weight:400; color: var(--text); margin:14px 0 6px; }
.oa-card input{ height:40px; padding:8px 12px; border-radius: var(--radius-sm); background: var(--surface); border:1px solid var(--border); font-size:16px; }
.oa-card input:hover{ border-color: var(--text-soft); }
.oa-card input:focus{ outline:none; border-color: var(--purple); box-shadow:0 0 0 1px var(--purple); }
.oa-main{ height:48px; font-size:18px; font-weight:400; border-radius: var(--radius-sm); margin-top:22px; justify-content:center; }
.oa-links{ margin-top:16px; font-size:14px; } .oa-links a{ color: var(--purple); }
.oa-err, .oa-ok{ border-radius: var(--radius-sm); }
.oa-dip{ margin-top:auto; padding-top:28px; font-size:12.5px; color: var(--text-faint); text-align:center; }
.oa-adim{ list-style:none; padding:0; margin:6px 0 10px; display:grid; gap:8px; }
.oa-adim li{ display:flex; gap:10px; align-items:flex-start; background: var(--bg); border-radius: var(--radius); padding:9px 12px; }
.oa-adim li > b{ flex:none; width:22px; height:22px; border-radius:50%; background: var(--purple); color:#fff; font-size:12px; display:flex; align-items:center; justify-content:center; margin-top:1px; }
.oa-adim strong{ display:block; font-weight:600; font-size:14px; } .oa-adim span{ font-size:13px; color: var(--text-soft); line-height:1.4; }
.ka-tan{ border-radius: var(--radius); background: linear-gradient(135deg, #f7e9ff 0%, #e8f2ff 55%, #e3faf1 100%); border:none; }
[data-theme="dark"] .ka-tan{ background: var(--bg); }
.ka-tan-btn{ background:#323338; border-radius: var(--radius-sm); } .ka-tan-btn:hover{ background:#000; }
.oa-sag{ flex:1 1 50%; display:flex; align-items:center; justify-content:center; padding:48px; background: linear-gradient(160deg, #eef6ff 0%, #f4f0ff 50%, #ecfbf5 100%); }
[data-theme="dark"] .oa-sag{ background: var(--bg); }
.ov{ width:min(520px, 100%); }
.ov-bas{ font-family: var(--font-title); font-weight:500; font-size:26px; line-height:1.25; margin:0 0 22px; color: var(--text); }
.ov-pano{ background: var(--surface); border-radius:12px; box-shadow:0 20px 50px rgba(30,40,90,.14); padding:18px 18px 8px; transform: rotate(-1.2deg); }
.ov-g{ margin-bottom:12px; } .ov-g > b{ display:block; font-family: var(--font-title); font-weight:500; color: var(--gc); font-size:15px; margin:0 0 6px 2px; }
.ov-s{ display:grid; grid-template-columns: 1fr 34px 110px; align-items:center; border:1px solid var(--border-soft); border-left:5px solid var(--gc); margin-top:-1px; height:38px; font-size:14px; }
.ov-s:first-of-type{ border-top-left-radius:6px; } .ov-s:last-child{ border-bottom-left-radius:6px; }
.ov-ad{ padding:0 12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ov-av{ width:26px; height:26px; border-radius:50%; color:#fff; font-size:11px; font-weight:600; display:flex; align-items:center; justify-content:center; justify-self:center; }
.ov-d{ height:100%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:13px; border-left:1px solid var(--surface); }
.ov-m{ list-style:none; padding:0; margin:26px 0 0; display:grid; gap:14px; }
.ov-m li{ display:flex; gap:12px; align-items:flex-start; font-size:14px; color: var(--text-soft); line-height:1.45; }
.ov-m li > span{ flex:none; width:36px; height:36px; border-radius:10px; background: var(--surface); box-shadow: var(--shadow); display:flex; align-items:center; justify-content:center; font-size:18px; }
.ov-m b{ display:block; color: var(--text); font-weight:600; }
@media (max-width: 960px){ .oa-sag{ display:none; } .oa-sol{ flex-basis:100%; padding:28px 18px 18px; } }
.ka-tan-btn, .ka-tan-btn:hover{ color:#fff; border-color:transparent; }
.bt-table:not(.bt-subtable) .status-cell{ height:35px; }
.topbar .btn:not(.btn-primary){ border-color:transparent; background:transparent; }
.topbar .btn:not(.btn-primary):hover{ background: var(--primary-hover-bg); }
.bt-table:not(.bt-subtable) td .status-cell{ min-height:35px; height:100%; }
.bt-table:not(.bt-subtable) .bt-namewrap{ height:35px; }

/* v6.8: giriş yapmış kişinin yükleme ekranı — form ya da tanıtım yok, ortada logo */
.oa.oa-sade{ align-items:center; justify-content:center; background: var(--bg); }
.oa-yuk{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:14px; padding:24px; }
.oa-yuk .brand-logo{ width:52px; height:52px; border-radius:14px; }
.oa-yuk h2{ font-family: var(--font-title); font-weight:400; font-size:20px; margin:0; color: var(--text); }
.oa-yuk .oa-hint{ margin:4px 0 0; }
.oa-yuk .oa-links{ justify-content:center; } .oa-yuk .oa-err{ max-width:360px; }
.oa-donen{ width:28px; height:28px; border-radius:50%; border:3px solid var(--border); border-top-color: var(--purple); animation: oaDon .8s linear infinite; margin:0 auto 6px; }
@keyframes oaDon{ to{ transform: rotate(360deg); } }

/* v6.9: onay bekleme adımları + yeniden gönder */
.oa-durum li > b{ background: var(--border); color: var(--text); } .oa-durum li.ok > b{ background: var(--success); color:#fff; }
.oa-ikinci{ background: var(--surface); color: var(--purple); border:1px solid var(--purple); font-size:15px; height:40px; margin-top:12px; }
.oa-ikinci:hover{ background: var(--purple-light); }
.oa-tekrar{ display:block; margin-top:8px; }
