/* SotsTech CV — yeni üst menü (masaüstü) + CV görüntüleme sayfası (3 sütun) + koyu tema.
   Diğer tüm css dosyalarından SONRA yüklenir (index.php -> head()). Mobil çekmece menüsüne dokunmaz. */

:root {
  --cvr-card: #fff;
  --cvr-line: #e7eaf5;
  --cvr-text: #0e1424;
  --cvr-sub: #586179;
  --cvr-soft: #f3f5fc;
  --cvr-hi: #e8edff;
  --cvr-shadow: 0 18px 50px -28px rgba(30, 40, 110, .35), 0 2px 8px rgba(15, 23, 50, .04);
  --cvr-violet: #7b5cf0;
}

/* ===================================================================
   ÜST MENÜ — masaüstü (>= 900px): yüzen, yuvarlak köşeli kart
   =================================================================== */
@media (min-width: 900px) {
  .site-header { padding: 14px 24px 0; background: none; box-shadow: none !important; }
  .site-header::before, .site-header::after { display: none; }
  .site-header .bar {
    max-width: 1240px; height: 70px; padding: 0 12px 0 16px; gap: 10px;
    border: 1px solid rgba(255, 255, 255, .95); border-radius: 22px;
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    box-shadow: 0 0 0 1px rgba(226, 230, 245, .8), 0 14px 44px -20px rgba(40, 50, 120, .3);
    transition: box-shadow .25s ease;
  }
  .site-header.is-scrolled .bar { box-shadow: 0 0 0 1px rgba(226, 230, 245, .9), 0 20px 50px -18px rgba(40, 50, 120, .42); }
  body.cvpage .site-header .bar { max-width: 1576px; }

  .logo-mark { width: 48px; height: 48px; margin-right: 12px; border-radius: 15px; }
  .site-header .brand { font: 700 1.38rem var(--ui); letter-spacing: -.02em; }
  .brand-cv { margin-left: 7px; font: 700 1.38rem var(--ui); letter-spacing: -.02em; color: var(--accent); }

  .site-header nav { margin-left: 34px; gap: 8px; }
  .nav-links { gap: 6px; }
  .site-header nav .nl, .site-header nav .linklike { height: 44px; padding: 0 16px; gap: 10px; border-radius: 13px; color: #2b3350; font: 500 .94rem var(--ui); }
  .site-header nav .nl .ic { display: block; flex: none; color: #4a5578; }
  .site-header nav .nl:hover { background: #f1f3fb; color: var(--ink); }
  .site-header nav .nl.on { background: var(--cvr-hi); color: var(--accent); box-shadow: none; }
  .site-header nav .nl.on .ic { color: var(--accent); }

  .nav-end { gap: 10px; }

  /* tema (yalnızca CV sayfasında) */
  .theme-sw { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 13px; }
  .site-header nav .theme-sw button { display: grid; place-items: center; width: 36px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: #5a6381; cursor: pointer; }
  .site-header nav .theme-sw button .ic { display: block; }
  .site-header nav .theme-sw button:hover { background: #f1f3fb; color: var(--ink); }
  .site-header nav .theme-sw button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(15, 20, 50, .16); }

  .lang-pill { padding: 4px; border-radius: 13px; }
  .site-header nav .lang-pill a { height: 32px; padding: 0 12px; font-size: .78rem; }

  .site-header nav a.nav-cta { height: 50px; margin-left: 2px; padding: 0 22px; gap: 12px; border-radius: 15px; font-size: .98rem; }
  .site-header nav a.nav-cta .cta-arrow { display: none; }
  .site-header nav a.nav-cta .cta-plus { display: inline-flex; }
  .site-header nav a.nav-cta .cta-ic .ic { display: block; opacity: .95; }

  /* hesap düğmesi + açılır kutu */
  .acct { position: relative; }
  .site-header nav .acct-btn {
    display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--cvr-line); border-radius: 50%;
    background: #fff; color: #2b3350; cursor: pointer; box-shadow: 0 8px 20px -12px rgba(30, 40, 110, .4); text-decoration: none;
  }
  .site-header nav .acct-btn:hover { background: #f6f7fd; color: var(--ink); }
  .site-header nav .acct-btn .ic { display: block; }
  .acct-menu {
    position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: 268px; padding: 8px;
    border: 1px solid var(--cvr-line); border-radius: 18px; background: #fff; box-shadow: 0 26px 60px -20px rgba(20, 30, 90, .45);
  }
  .acct-menu[hidden] { display: none; }
  .acct-menu form { margin: 0; }
  .site-header nav .acct-who { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; padding: 10px; border-radius: 12px; background: var(--cvr-soft); color: var(--ink); text-decoration: none; }
  .acct-who .av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .95rem var(--ui); }
  .acct-who .who { display: flex; flex-direction: column; min-width: 0; }
  .acct-who strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 .92rem var(--ui); }
  .acct-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cvr-sub); font-size: .78rem; }
  .site-header nav .acct-i { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: var(--ink); font: 500 .9rem var(--ui); text-align: left; text-decoration: none; cursor: pointer; }
  .site-header nav .acct-i:hover { background: #f3f5fc; }
  .site-header nav .acct-i .ic { display: block; color: var(--accent); }
  .site-header nav .acct-out, .site-header nav .acct-out .ic { color: var(--danger); }

  .site-header nav .m-only, .m-only { display: none !important; }

  /* editör: yapışkan öğeler artık daha alçak duran menünün altında kalsın */
  .secnav { top: 98px; }
  .pane-pv, .pane-ai { top: 106px; }
}
@media (max-width: 899px) { .d-only { display: none !important; } }
@media (min-width: 900px) and (max-width: 1179px) {
  .site-header { padding-left: 14px; padding-right: 14px; }
  .site-header nav { margin-left: 16px; }
  .site-header nav .nl { padding: 0 11px; }
  .site-header .brand, .brand-cv { font-size: 1.15rem; }
  .logo-mark { width: 44px; height: 44px; margin-right: 10px; }
  .site-header nav a.nav-cta { padding: 0 16px; }
}
@media (min-width: 900px) and (max-width: 1039px) {
  .site-header nav .nl .ic { display: none; }
  .site-header nav a.nav-cta > span:first-child { display: none; }
  .site-header nav a.nav-cta { width: 50px; padding: 0; justify-content: center; }
}

/* ===================================================================
   CV GÖRÜNTÜLEME SAYFASI
   =================================================================== */
body.cvpage.has-chat {
  background: radial-gradient(1100px 520px at 8% -8%, #e4e9ff 0, transparent 62%), radial-gradient(900px 520px at 100% 0, #eee8ff 0, transparent 58%), #f3f5fc;
}
body.cvpage.has-chat .wrap { max-width: 1640px; padding: 22px 32px 56px; }

.cv-layout {
  display: grid; gap: 22px; align-items: start;
  grid-template-columns: minmax(380px, 430px) minmax(0, 1fr);
  grid-template-areas: "chat main" "chat side";
}
.cvc { grid-area: chat; }
.cv-main { grid-area: main; }
.cv-side { grid-area: side; }
@media (min-width: 1560px) {
  .cv-layout { grid-template-columns: 440px minmax(0, 1fr) 380px; grid-template-areas: "chat main side"; }
}

/* ---- ortadaki kart: araç çubuğu + CV ---- */
.cv-main { min-width: 0; padding: 14px; border: 1px solid var(--cvr-line); border-radius: 26px; background: rgba(255, 255, 255, .92); box-shadow: var(--cvr-shadow); }
.cv-toolbar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.cv-tabs { display: flex; align-items: center; gap: 4px; min-width: 0; }
.cv-tb-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.cv-tab {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 16px; border: 0; border-radius: 13px; background: none;
  color: var(--cvr-sub); font: 500 .9rem var(--ui); text-decoration: none; white-space: nowrap; cursor: pointer;
}
.cv-tab .ic { flex: none; }
.cv-tab:hover { background: var(--cvr-soft); color: var(--cvr-text); }
.cv-tab.on { background: var(--cvr-hi); color: var(--accent); font-weight: 600; }
.cv-pdf, .cv-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 18px; border: 1px solid var(--cvr-line); border-radius: 13px;
  background: var(--cvr-soft); color: var(--cvr-text); font: 600 .88rem var(--ui); cursor: pointer; white-space: nowrap;
}
.cv-pdf:hover, .cv-more:hover { background: var(--cvr-hi); border-color: #cdd7f8; }
.cv-pdf .ic { color: var(--accent); }
.cv-more { width: 46px; padding: 0; }

.cv-pop-wrap { position: relative; }
.cv-pop {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; min-width: 250px; padding: 6px;
  border: 1px solid var(--cvr-line); border-radius: 16px; background: var(--cvr-card); box-shadow: 0 26px 60px -20px rgba(20, 30, 90, .45);
}
.cv-pop.right { left: auto; right: 0; }
.cv-pop[hidden] { display: none; }
.cv-pi {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: none;
  color: var(--cvr-text); font: 500 .9rem var(--ui); text-align: left; text-decoration: none; cursor: pointer;
}
.cv-pi[hidden] { display: none; }
.cv-pi:hover { background: var(--cvr-soft); color: var(--cvr-text); }
.cv-pi .ic { flex: none; color: var(--accent); }
.cv-pi.is-done, .cv-pi.is-done .ic { color: var(--ok); }

body.cvpage .cv-frame { max-width: none; border: 1px solid var(--cvr-line); border-radius: 18px; box-shadow: none; background: #fff; overflow: hidden; }
@media screen {
  body.cvpage .cv-frame .cv { padding: 68px 44px 44px; border-radius: 18px; }
  body.cvpage .cv h1 { font-size: 1.95rem; margin-bottom: 14px; }
  body.cvpage .cv-contact { font-size: .9rem; gap: 8px; }
  body.cvpage .cv-sec { margin-top: 26px; }
  body.cvpage .cv-sec h2 { font-size: .86rem; letter-spacing: .05em; }
  body.cvpage .cv-sec h2::before { width: 34px; height: 34px; background-size: 17px; }
  body.cvpage .cv-sec > :not(h2) { margin-left: 48px; }
  body.cvpage .cv-note { margin-left: 48px; }
  body.cvpage .cv-badge { left: 28px; top: 24px; }
}
.report-box { margin-top: 14px; padding: 12px 6px 0; border-top: 1px solid var(--cvr-line); }

/* ---- sağ sütun ---- */
.cv-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cv-card { border: 1px solid var(--cvr-line); border-radius: 24px; background: var(--cvr-card); box-shadow: var(--cvr-shadow); overflow: hidden; }

.cv-stat .cs-top { display: flex; align-items: center; gap: 14px; padding: 20px 22px 44px; background: linear-gradient(135deg, #3f63ee, #7b5cf0); color: #fff; }
.cs-top .cs-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: rgba(255, 255, 255, .2); }
.cs-top h2 { margin: 0; font: 700 1.02rem/1.25 var(--ui); color: #fff; letter-spacing: -.01em; }
.cs-top p { margin: 3px 0 0; font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .85); }
.cs-body { margin: -26px 12px 12px; padding: 16px 14px 12px; border: 1px solid var(--cvr-line); border-radius: 18px; background: var(--cvr-card); box-shadow: 0 14px 34px -20px rgba(20, 30, 100, .4); }
.cs-nums { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; }
.cs-n { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.cs-n + .cs-n { padding-left: 14px; border-left: 1px solid var(--cvr-line); }
.cs-i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cvr-hi); color: var(--accent); }
.cs-n strong { display: block; font: 700 1.6rem/1.1 var(--ui); letter-spacing: -.02em; color: var(--cvr-text); }
.cs-n small { display: block; margin-top: 3px; font-size: .68rem; line-height: 1.3; color: var(--cvr-sub); }
.cs-d { display: block; margin-top: 7px; font: 600 .78rem var(--ui); font-style: normal; }
.cs-d.up { color: #13804f; } .cs-d.down { color: #c0392b; } .cs-d.flat { color: var(--cvr-sub); }
.cs-chart { display: block; width: 100%; height: 104px; margin-top: 14px; overflow: visible; }
.cs-chart .cs-s1 { stop-color: #6a7cf5; stop-opacity: .34; }
.cs-chart .cs-s2 { stop-color: #6a7cf5; stop-opacity: 0; }
.cs-chart .cs-area { fill: url(#cs-grad); }
.cs-chart .cs-line { fill: none; stroke: #5b6cf0; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cs-chart .cs-dot { fill: var(--cvr-card); stroke: #5b6cf0; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cs-x { display: flex; justify-content: space-between; margin-top: 6px; font-size: .68rem; color: #8a93ab; }

.cv-tools { padding: 18px 18px 8px; }
.cv-tools h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 1rem var(--ui); color: var(--cvr-text); }
.cv-tools h2 .ic { color: var(--accent); }
.cv-tool {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 10px; padding: 12px 14px; border: 1px solid var(--cvr-line); border-radius: 16px;
  background: var(--cvr-card); color: var(--cvr-text); font-family: var(--ui); text-align: left; text-decoration: none; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.cv-tool:hover { border-color: #c9d3f7; background: #fafbff; box-shadow: 0 10px 24px -18px rgba(30, 40, 110, .5); color: var(--cvr-text); }
.ct-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--cvr-hi); color: var(--accent); }
.ct-ic.red { background: #fdecec; color: #d93a3a; }
.ct-t { flex: 1; min-width: 0; }
.ct-t strong { display: block; font: 600 .9rem/1.3 var(--ui); }
.ct-t small { display: block; margin-top: 1px; font: 400 .76rem/1.35 var(--ui); color: var(--cvr-sub); }
.cv-tool > .ic:last-child { flex: none; color: #8a93ab; }
.cv-tool.is-done .ct-t small { color: var(--ok); }

.cv-tip {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1px solid #dfe5fb; border-radius: 22px;
  background: linear-gradient(135deg, #eef1ff, #f2edff); color: #2a3470; font: 600 .9rem/1.35 var(--ui); text-align: left; cursor: pointer;
}
.cv-tip:hover { border-color: #c9d3f7; box-shadow: 0 12px 28px -20px rgba(60, 60, 200, .6); }
.cv-tip > span:nth-child(2) { flex: 1; }
.tip-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .7); color: var(--accent); }

/* ---- sol: AI Kariyer Asistanı ---- */
@media (min-width: 1000px) {
  .cvc { top: 106px; height: calc(100vh - 128px); height: calc(100dvh - 128px); max-height: 980px; }
}
.cvc { padding: 18px 18px 14px; border-color: var(--cvr-line); border-radius: 26px; box-shadow: var(--cvr-shadow); }
.cvc-head { align-items: flex-start; gap: 14px; margin-bottom: 4px; padding: 0 2px 14px; }
.cvc-badge.cvc-badge-spark { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 16px; background: linear-gradient(135deg, #4a6cf7, #7b5cf0); color: #fff; box-shadow: 0 12px 24px -12px rgba(80, 90, 240, .75); }
.cvc-titles { flex: 1; min-width: 0; }
.cvc-title { margin: 2px 0 0; white-space: normal; font: 700 1.14rem/1.2 var(--ui); }
.cvc-sub { margin: 4px 0 0; font: 400 .84rem/1.45 var(--ui); color: var(--cvr-sub); }
.cvc-quick { margin-bottom: 4px; }
.cvc-log { gap: 16px; padding: 12px 2px 12px; border-top: 1px solid var(--cvr-line); }

.cvc-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #4a6cf7, #7b5cf0); position: relative; }
.cvc-av img { display: none; }
.cvc-av::after {
  content: ''; position: absolute; inset: 0;
  background: center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2l2.2 6.3L20.5 10.5l-6.3 2.2L12 19l-2.2-6.3L3.5 10.5l6.3-2.2z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E");
}
.cvc-ua { width: 40px; height: 40px; margin-top: 0; background: #1b2340; color: #fff; }
.cvc-bubble { padding: 14px 18px 10px; border-radius: 18px; background: #eef0fe; color: #1c2547; }
.cvc-row.me .cvc-bubble { background: #f1f3f8; }
.cvc-row.bot .cvc-bubble { border-top-left-radius: 8px; }
.cvc-bubble time { color: #98a1b8; }

.cvc-form { margin-top: 8px; padding: 6px 6px 6px 16px; gap: 10px; border-color: var(--cvr-line); background: var(--cvr-card); }
.cvc-fi { display: grid; place-items: center; flex: none; color: var(--accent); }
.cvc-send { width: 46px; height: 46px; background: linear-gradient(135deg, #3f63ee, #7b5cf0); box-shadow: 0 10px 20px -10px rgba(80, 90, 240, .85); }
.cvc-send:hover:not(:disabled) { background: linear-gradient(135deg, #2f54e0, #6a4de0); }
.cvc-note { margin-top: 10px; }

/* orta kart dar kalınca (1000-1279px): Önizleme dışındaki sekmeler yalnızca ikon */
@media (min-width: 1000px) and (max-width: 1279px) {
  .cv-tab:not(.on) { padding: 0 13px; }
  .cv-tab:not(.on) > span { display: none; }
  .cv-pdf { padding: 0 14px; }
}
@media (min-width: 1560px) and (max-width: 1699px) {
  .cv-tab { padding: 0 13px; }
}

/* ===================================================================
   TABLET / MOBİL
   =================================================================== */
@media (max-width: 999px) {
  .cv-layout { display: block; }
  .cv-side { margin-top: 16px; padding-bottom: 76px; }
  .cv-main { padding-bottom: 14px; }
}
@media (min-width: 900px) and (max-width: 999px) {
  body.cvpage.has-chat .wrap { padding-top: 18px; }
}
@media (max-width: 899px) {
  body.cvpage.has-chat .wrap { padding: 14px 12px 40px; }
  .cv-main { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .cv-toolbar { display: none; }            /* eskisi gibi: CV işlemleri mobil menüde */
  body.cvpage .cv-frame { border-radius: 18px; }
  .cv-stat .cs-top { padding: 18px 18px 42px; }
}

/* ===================================================================
   KOYU TEMA (yalnızca CV sayfası; CV kağıdı beyaz kalır)
   =================================================================== */
html[data-theme="dark"] body.cvpage {
  --cvr-card: #151b33; --cvr-line: #262e4d; --cvr-text: #e8ecf8; --cvr-sub: #a0a9c8; --cvr-soft: #1c2342; --cvr-hi: #222c5a;
  --cvr-shadow: 0 18px 50px -28px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .25);
  --ink: #e8ecf8; --muted: #a0a9c8; --line: #262e4d; --soft: #1c2342; --accent-soft: #222c5a; --accent: #7f9bff;
  color-scheme: dark; color: var(--ink);
}
html[data-theme="dark"] body.cvpage.has-chat {
  background: radial-gradient(1100px 520px at 8% -8%, #1a2150 0, transparent 62%), radial-gradient(900px 520px at 100% 0, #2a1d55 0, transparent 58%), #0d1224;
}
html[data-theme="dark"] body.cvpage .site-header .bar { background: rgba(21, 27, 51, .9); border-color: rgba(60, 72, 120, .5); box-shadow: 0 0 0 1px rgba(38, 46, 77, .9), 0 14px 44px -20px rgba(0, 0, 0, .7); }
html[data-theme="dark"] body.cvpage .site-header::before { background: none; }
html[data-theme="dark"] body.cvpage .site-header .brand { color: #f2f5ff; }
html[data-theme="dark"] body.cvpage .site-header nav .nl { color: #c7cee8; }
html[data-theme="dark"] body.cvpage .site-header nav .nl .ic { color: #9aa6d6; }
html[data-theme="dark"] body.cvpage .site-header nav .nl:hover { background: var(--soft); color: #fff; }
html[data-theme="dark"] body.cvpage .site-header nav .nl.on { background: var(--cvr-hi); color: #9db2ff; }
html[data-theme="dark"] body.cvpage .site-header nav .nl.on .ic { color: #9db2ff; }
html[data-theme="dark"] body.cvpage .site-header nav .theme-sw button { color: #9aa6d6; }
html[data-theme="dark"] body.cvpage .site-header nav .theme-sw button:hover { background: var(--soft); color: #fff; }
html[data-theme="dark"] body.cvpage .site-header nav .theme-sw button[aria-pressed="true"] { background: #2b3566; color: #fff; box-shadow: none; }
html[data-theme="dark"] body.cvpage .lang-pill { background: var(--soft); border-color: var(--line); }
html[data-theme="dark"] body.cvpage .site-header nav .lang-pill a { color: #aab3d6; }
html[data-theme="dark"] body.cvpage .site-header nav .lang-pill a.on { background: #2b3566; color: #fff; box-shadow: none; }
html[data-theme="dark"] body.cvpage .site-header nav a.nav-cta { background: linear-gradient(135deg, #3f63ee, #7b5cf0); box-shadow: 0 12px 26px -10px rgba(80, 90, 240, .7); }
html[data-theme="dark"] body.cvpage .site-header nav .acct-btn { background: var(--soft); border-color: var(--line); color: #dfe5ff; }
html[data-theme="dark"] body.cvpage .acct-menu { background: #181f3c; border-color: var(--line); }
html[data-theme="dark"] body.cvpage .site-header nav .acct-who { background: var(--soft); color: #fff; }
html[data-theme="dark"] body.cvpage .site-header nav .acct-i { color: #e8ecf8; }
html[data-theme="dark"] body.cvpage .site-header nav .acct-i:hover { background: var(--soft); }
html[data-theme="dark"] body.cvpage .site-header nav .acct-out, html[data-theme="dark"] body.cvpage .site-header nav .acct-out .ic { color: #ff8f84; }
html[data-theme="dark"] body.cvpage .menu-btn { background: var(--soft); border-color: var(--line); }
html[data-theme="dark"] body.cvpage .menu-btn .bars, html[data-theme="dark"] body.cvpage .menu-btn .bars::before, html[data-theme="dark"] body.cvpage .menu-btn .bars::after { background: #e8ecf8; }

html[data-theme="dark"] body.cvpage .cv-main { background: rgba(21, 27, 51, .92); }
html[data-theme="dark"] body.cvpage .cv-frame { border-color: var(--line); }
html[data-theme="dark"] body.cvpage .report-box summary { color: var(--cvr-sub); }
html[data-theme="dark"] body.cvpage .report-box .form, html[data-theme="dark"] body.cvpage .report-box h2 { color: var(--ink); }
html[data-theme="dark"] body.cvpage .cv-pdf .ic, html[data-theme="dark"] body.cvpage .cv-pi .ic { color: #9db2ff; }
html[data-theme="dark"] body.cvpage .cv-tab.on { color: #9db2ff; }
html[data-theme="dark"] body.cvpage .cv-tool:hover { background: var(--cvr-soft); border-color: #3a4780; }
html[data-theme="dark"] body.cvpage .ct-ic.red { background: #3a2230; color: #ff8f84; }
html[data-theme="dark"] body.cvpage .cs-chart .cs-line, html[data-theme="dark"] body.cvpage .cs-chart .cs-dot { stroke: #8da3ff; }
html[data-theme="dark"] body.cvpage .cs-chart .cs-s1, html[data-theme="dark"] body.cvpage .cs-chart .cs-s2 { stop-color: #8da3ff; }
html[data-theme="dark"] body.cvpage .cs-d.up { color: #4ade9a; }
html[data-theme="dark"] body.cvpage .cs-d.down { color: #ff8f84; }
html[data-theme="dark"] body.cvpage .cv-tip { background: linear-gradient(135deg, #1f2756, #2a2160); border-color: #34407c; color: #dfe5ff; }
html[data-theme="dark"] body.cvpage .tip-ic { background: rgba(255, 255, 255, .1); color: #9db2ff; }

html[data-theme="dark"] body.cvpage .cvc { background: var(--cvr-card); border-color: var(--line); }
html[data-theme="dark"] body.cvpage .cvc-title { color: #f2f5ff; }
html[data-theme="dark"] body.cvpage .cvc-log { border-top-color: var(--line); }
html[data-theme="dark"] body.cvpage .cvc-bubble { background: #212a52; color: #e8ecf8; }
html[data-theme="dark"] body.cvpage .cvc-row.me .cvc-bubble { background: #1c2342; }
html[data-theme="dark"] body.cvpage .cvc-text p.lbl { color: #fff; }
html[data-theme="dark"] body.cvpage .cvc-text a { color: #9db2ff; }
html[data-theme="dark"] body.cvpage .cvc-bubble time { color: #7f89ad; }
html[data-theme="dark"] body.cvpage .cvc-ua { background: #2b3566; }
html[data-theme="dark"] body.cvpage .cvc-q { background: var(--soft); border-color: var(--line); color: #dfe5ff; }
html[data-theme="dark"] body.cvpage .cvc-q.primary { background: #3f63ee; border-color: #3f63ee; color: #fff; }
html[data-theme="dark"] body.cvpage .cvc-form { background: var(--soft); border-color: var(--line); box-shadow: none; }
html[data-theme="dark"] body.cvpage .cvc-form:focus-within { border-color: #4b5bb0; box-shadow: 0 0 0 3px rgba(127, 155, 255, .18); }
html[data-theme="dark"] body.cvpage .cvc-note { color: #7f89ad; }
html[data-theme="dark"] body.cvpage .cvc-x { background: var(--soft); color: #fff; }
html[data-theme="dark"] body.cvpage .site-footer { background: #10162c; border-top-color: var(--line); }
html[data-theme="dark"] body.cvpage .foot-brand strong { color: #f2f5ff; }
html[data-theme="dark"] body.cvpage .privacy-bar { background: #151b33; color: #dfe5ff; }

@media (max-width: 899px) {
  html[data-theme="dark"] body.cvpage .site-header nav { background: #151b33; }
  html[data-theme="dark"] body.cvpage .nav-head { background: #151b33; }
  html[data-theme="dark"] body.cvpage .site-header nav .nl, html[data-theme="dark"] body.cvpage .nav-head strong { color: #e8ecf8; }
  html[data-theme="dark"] body.cvpage .site-header .bar { background: none; border: 0; box-shadow: none; }
  html[data-theme="dark"] body.cvpage .site-header::before { background: rgba(13, 18, 36, .9); display: block; }
}

/* ---- yazdırma / PDF: yeni öğeler görünmez, CV değişmez ---- */
@media print {
  .cv-toolbar, .cv-side, .acct-menu, .cv-pop { display: none !important; }
  .cv-main { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
  body.cvpage .cv-frame { border: 0 !important; border-radius: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .cv-tool, .site-header .bar { transition: none !important; } }

/* ===================================================================
   "BİLDİR" — kırmızı ve dikkat çekici (araç çubuğu, mobil menü, alt kutu)
   =================================================================== */
.cv-report {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border: 1px solid #c9271c; border-radius: 13px;
  background: linear-gradient(180deg, #ef4438, #d92d20); color: #fff; font: 700 .88rem var(--ui); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(217, 45, 32, .9); transition: transform .15s, box-shadow .15s, filter .15s;
}
.cv-report .ic { color: #fff; }
.cv-report:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(217, 45, 32, .95); }
.cv-report:focus-visible { outline: 3px solid rgba(217, 45, 32, .35); outline-offset: 2px; }
@media (min-width: 1000px) and (max-width: 1279px) { .cv-report { padding: 0 14px; } .cv-report .lbl { display: none; } }

/* mobil menüdeki "Bildir" */
.site-header nav .nav-cv .nl.nl-report, .site-header nav .nav-cv .nl.nl-report .ic { color: #d92d20; font-weight: 700; }
.site-header nav .nav-cv .nl.nl-report .ic { background: #fdecea; }
html[data-theme="dark"] body.cvpage .site-header nav .nav-cv .nl.nl-report, html[data-theme="dark"] body.cvpage .site-header nav .nav-cv .nl.nl-report .ic { color: #ff8f84; }

/* sayfa altındaki bildirim kutusu */
.report-box { margin-top: 18px; padding: 16px 0 0; border-top: 1px dashed #f1b4ae; }
.report-box summary.report-sum {
  display: inline-flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; padding: 11px 18px; border-radius: 12px;
  background: #fdecea; color: #b42318; border: 1px solid #f1b4ae; font: 700 .92rem var(--ui);
}
.report-box summary.report-sum::-webkit-details-marker { display: none; }
.report-box summary.report-sum:hover { background: #fbd9d5; }
.report-box[open] summary.report-sum { background: #d92d20; border-color: #d92d20; color: #fff; }
.report-box .form { margin-top: 14px; padding: 16px; border: 1px solid #f1b4ae; border-left: 4px solid #d92d20; border-radius: 12px; background: #fffafa; }
.report-box .form h2 { color: #b42318; }
.report-box .form .btn { background: #d92d20; border-color: #d92d20; color: #fff; }
.report-box .form .btn:hover { background: #b42318; }
html[data-theme="dark"] body.cvpage .report-box { border-top-color: #5a2a2a; }
html[data-theme="dark"] body.cvpage .report-box summary.report-sum { background: #3a1f24; color: #ff9d94; border-color: #6b2f33; }
html[data-theme="dark"] body.cvpage .report-box[open] summary.report-sum { background: #d92d20; color: #fff; border-color: #d92d20; }
html[data-theme="dark"] body.cvpage .report-box .form { background: #2a1a20; border-color: #6b2f33; border-left-color: #d92d20; }
html[data-theme="dark"] body.cvpage .report-box .form h2 { color: #ff9d94; }

/* ===================================================================
   YÖNETİCİ CV'Yİ KALDIRDI — uyarının yanında "İtiraz et"
   =================================================================== */
.blocked-box { padding: 0; overflow: hidden; }
.blocked-box > summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; list-style: none; cursor: pointer; }
.blocked-box > summary::-webkit-details-marker { display: none; }
.blocked-box .bb-t { flex: 1; min-width: 0; line-height: 1.5; font-weight: 600; }
.blocked-box .appeal-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 12px;
  background: #d92d20; color: #fff; font: 700 .9rem var(--ui); box-shadow: 0 8px 18px -10px rgba(217, 45, 32, .9); transition: filter .15s, transform .15s;
}
.blocked-box > summary:hover .appeal-btn { filter: brightness(1.08); transform: translateY(-1px); }
.blocked-box > summary:focus-visible { outline: 3px solid rgba(217, 45, 32, .35); outline-offset: -3px; }
.blocked-box[open] .appeal-btn { background: #7a1913; }
.blocked-box .bb-body { padding: 4px 16px 16px; border-top: 1px solid #f3b5b0; background: #fffafa; color: #3b1210; }
.blocked-box .bb-state { margin: 12px 0 8px; }
.blocked-box .bb-ok { margin: 12px 0 0; padding: 9px 12px; border-radius: 9px; background: #e8f6ee; color: #0f5a38; border: 1px solid #a9dcc0; }
.blocked-box .bb-err { margin: 12px 0 0; padding: 9px 12px; border-radius: 9px; background: #fdecea; color: #7a1913; border: 1px solid #f3b5b0; }
.blocked-box .bb-msg { margin: 8px 0 0; padding: 10px 14px; border-left: 4px solid #d92d20; background: #fff; border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
.blocked-box .appeal-form { display: grid; gap: 8px; margin-top: 12px; max-width: 640px; }
.blocked-box .appeal-form label { font-weight: 600; }
.blocked-box .appeal-form textarea { width: 100%; min-height: 96px; padding: 10px 12px; border: 1.5px solid #e4b0ab; border-radius: 10px; background: #fff; font: inherit; line-height: 1.5; resize: vertical; }
.blocked-box .appeal-form textarea:focus { outline: 0; border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .12); }
.blocked-box .appeal-form .btn { justify-self: start; background: #d92d20; border-color: #d92d20; color: #fff; }
@media (max-width: 560px) { .blocked-box > summary { flex-direction: column; align-items: stretch; } .blocked-box .appeal-btn { justify-content: center; } }
html[data-theme="dark"] body.cvpage .blocked-box .bb-body { background: #2a1a20; color: #ffd9d4; border-top-color: #6b2f33; }
html[data-theme="dark"] body.cvpage .blocked-box .bb-msg, html[data-theme="dark"] body.cvpage .blocked-box .appeal-form textarea { background: #1c2342; color: #e8ecf8; }

/* deneyim tarihi: ileri tarih uyarısı (editör) */
.field .fld-err { display: block; margin-top: 5px; color: #b42318; font-weight: 600; font-size: .84rem; line-height: 1.4; }
.field .fld-err[hidden] { display: none; }
.field input.is-bad { border-color: #d92d20 !important; box-shadow: 0 0 0 3px rgba(217, 45, 32, .14); }
