/* ============================================================
   COP31 Yeşil Bölge — Sponsor Akreditasyon Portalı
   Etkinlik kimliğine uygun (lacivert / COP mavisi / yeşil / lale kırmızısı)
   ============================================================ */
:root {
  --navy-900: #071b3f;
  --navy-800: #0b2656;
  --navy-700: #16356a;
  --blue: #1c75bc;
  --blue-soft: #e8f1fa;
  --green: #2fb36d;
  --green-700: #14854f;
  --green-soft: #e7f6ee;
  --red: #ee2229;
  --ink: #142235;
  --muted: #5b6b7d;
  --muted-2: #8695a6;
  --line: #dfe7f0;
  --line-2: #cdd9e6;
  --bg: #f2f5fa;
  --surface: #ffffff;
  --ok-ink: #0a6b49; --ok-bg: #e6f5ee; --ok-line: #b6e2cd;
  --no-ink: #b42318; --no-bg: #fdeceb; --no-line: #f4c4bf;
  --warn-ink: #946200; --warn-bg: #fff6e5; --warn-line: #f3dca6;
  --shadow-sm: 0 1px 2px rgba(10, 30, 60, .05), 0 1px 3px rgba(10, 30, 60, .06);
  --shadow-md: 0 8px 24px rgba(10, 30, 60, .08), 0 2px 6px rgba(10, 30, 60, .05);
  --shadow-lg: 0 24px 60px rgba(7, 27, 63, .22);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 520' fill='none' stroke='white' stroke-width='1.3'%3E%3Cg stroke-opacity='.11'%3E%3Cpath d='M-60 330C120 230 280 420 470 320S830 170 1260 290'/%3E%3Cpath d='M-60 362C120 262 280 452 470 352S830 202 1260 322'/%3E%3Cpath d='M-60 394C120 294 280 484 470 384S830 234 1260 354'/%3E%3Cpath d='M-60 426C120 326 280 516 470 416S830 266 1260 386'/%3E%3C/g%3E%3Cg stroke-opacity='.16'%3E%3Cpath d='M-60 90C160 10 300 190 520 110S900 -30 1260 80'/%3E%3Cpath d='M-60 122C160 42 300 222 520 142S900 2 1260 112'/%3E%3Cpath d='M-60 154C160 74 300 254 520 174S900 34 1260 144'/%3E%3C/g%3E%3Cg stroke-opacity='.07'%3E%3Cpath d='M300 -20C420 120 360 260 520 340S760 470 900 560'/%3E%3Cpath d='M340 -20C460 120 400 260 560 340S800 470 940 560'/%3E%3Cpath d='M380 -20C500 120 440 260 600 340S840 470 980 560'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sp { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.sp a { color: var(--blue); text-decoration: none; }
.sp a:hover { text-decoration: underline; }
.sp h1, .sp h2, .sp h3, .sp h4 { color: var(--navy-700); line-height: 1.25; margin: 0 0 .4em; letter-spacing: -.012em; }
.sp [hidden] { display: none !important; }
.ico { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.tricolor { display: flex; height: 5px; }
.tricolor i { flex: 1; display: block; }
.tricolor i:nth-child(1) { background: var(--blue); }
.tricolor i:nth-child(2) { background: var(--green); }
.tricolor i:nth-child(3) { background: var(--red); }

/* ---------- Butonlar ---------- */
.sp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 14.5px var(--font); cursor: pointer; border: 1px solid transparent; border-radius: 12px; padding: 12px 22px; transition: background .15s, box-shadow .15s, transform .08s, border-color .15s, color .15s; text-decoration: none !important; white-space: nowrap; }
.sp-btn:active { transform: translateY(1px); }
.sp-btn:disabled { opacity: .5; cursor: not-allowed; }
.sp-btn.primary { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(20, 133, 79, .25); }
.sp-btn.primary:hover:not(:disabled) { background: var(--green-700); }
.sp-btn.navy { background: var(--navy-700); color: #fff; box-shadow: 0 8px 18px rgba(22, 53, 106, .25); }
.sp-btn.navy:hover:not(:disabled) { background: var(--navy-800); }
.sp-btn.ghost { background: #fff; color: var(--navy-700); border-color: var(--line-2); }
.sp-btn.ghost:hover:not(:disabled) { background: #f6f9fc; border-color: #b9c9db; }
.sp-btn.danger { background: #fff; color: var(--no-ink); border-color: var(--no-line); }
.sp-btn.danger:hover:not(:disabled) { background: var(--no-bg); }
.sp-btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.sp-btn.lg { padding: 15px 28px; font-size: 15.5px; border-radius: 13px; }
.sp-btn.block { width: 100%; }
.sp-link-btn { background: none; border: 0; color: var(--blue); font: 600 13.5px var(--font); cursor: pointer; padding: 4px 0; }
.sp-link-btn:hover { text-decoration: underline; }
.sp-link-btn:disabled { color: var(--muted-2); cursor: default; text-decoration: none; }

/* ---------- Form elemanları ---------- */
.sp-field { margin-bottom: 18px; }
.sp-label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-700); margin-bottom: 7px; letter-spacing: .005em; }
.sp-label .req { color: var(--red); }
.sp-input, .sp-select { width: 100%; font: 500 15px var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; outline: none; }
.sp-input::placeholder { color: #a3b0be; }
.sp-input:hover, .sp-select:hover { border-color: #b4c5d8; }
.sp-input:focus, .sp-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 117, 188, .15); }
.sp-input.invalid, .sp-select.invalid { border-color: var(--no-ink); box-shadow: 0 0 0 4px rgba(180, 35, 24, .09); }
.sp-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b7d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.sp-err { display: none; font-size: 12.5px; color: var(--no-ink); margin-top: 6px; font-weight: 600; }
.sp-err.show { display: block; }
.sp-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.sp-input-icon { position: relative; }
.sp-input-icon .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.sp-input-icon .sp-input { padding-left: 44px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }

/* Segmented kontrol */
.sp-seg { display: inline-flex; background: #eaf0f6; border-radius: 12px; padding: 4px; gap: 2px; width: 100%; }
.sp-seg button { flex: 1; border: 0; background: transparent; font: 700 13.5px var(--font); color: var(--muted); padding: 10px 12px; border-radius: 9px; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.sp-seg button:hover { color: var(--navy-700); }
.sp-seg button.on { background: #fff; color: var(--navy-700); box-shadow: 0 1px 4px rgba(10, 30, 60, .14); }

/* ============================================================
   GİRİŞ SAYFASI
   ============================================================ */
.sp-login { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.sp-login-hero { position: relative; overflow: hidden; color: #fff; padding: 52px 64px 44px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: radial-gradient(900px 520px at 8% -8%, rgba(54, 128, 214, .55), transparent 62%), radial-gradient(760px 480px at 105% 105%, rgba(47, 179, 109, .32), transparent 60%), linear-gradient(158deg, #081f49 0%, #16356a 52%, #0c2a5d 100%); }
.sp-login-hero::before { content: ""; position: absolute; inset: 0; background: var(--waves) center / cover no-repeat; pointer-events: none; }
.sp-login-hero > * { position: relative; }
.sp-login-hero .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #bfe6d3; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px); }
.sp-login-hero .stage-wrap { display: grid; place-items: center; padding: 14px 0; }
.sp-login-hero h1 { color: #fff; font-size: 46px; font-weight: 800; line-height: 1.08; margin: 18px 0 14px; letter-spacing: -.025em; }
.sp-login-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7fd3ff, #7ee6b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-login-hero .lead { font-size: 17px; color: #c5d6ea; max-width: 520px; margin: 0; }
.sp-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sp-points li { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 14px 15px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.sp-points .pi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .13); color: #9be8c2; }
.sp-points b { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.sp-points span { font-size: 12.5px; line-height: 1.45; color: #b6c9e0; }
.sp-hero-foot { font-size: 12.5px; color: #8fa8c9; }

/* ---------- Animasyonlu amblem (vektör SVG) ---------- */
.emblem-stage { --sz: 240px; position: relative; width: var(--sz); height: var(--sz); display: grid; place-items: center; flex: 0 0 auto; }
.emblem-stage::before { content: ""; position: absolute; inset: -9%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .98) 0 40%, rgba(255, 255, 255, .6) 55%, rgba(255, 255, 255, 0) 73%); animation: glow 6s ease-in-out infinite alternate; }
.emblem-stage img { position: relative; width: 74%; height: auto; display: block; filter: drop-shadow(0 12px 24px rgba(7, 27, 63, .28)); }
.emblem-stage .orbit { position: absolute; inset: -8%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .3); animation: spin 48s linear infinite; }
.emblem-stage .orbit.r2 { inset: -19%; border: 1px solid rgba(255, 255, 255, .12); animation-duration: 80s; animation-direction: reverse; }
.emblem-stage .orbit i { position: absolute; inset: 0; transform: rotate(var(--a)); }
.emblem-stage .orbit i::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px 2px var(--c); }
.emblem-stage.mini { --sz: 84px; }
.emblem-stage.mini::before { inset: -6%; background: radial-gradient(circle, #fff 0 52%, rgba(255, 255, 255, .55) 70%, rgba(255, 255, 255, 0) 100%); animation: none; }
.emblem-stage.mini img { width: 80%; filter: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { from { transform: scale(.96); opacity: .92; } to { transform: scale(1.04); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .emblem-stage::before, .emblem-stage .orbit { animation: none; } }

.sp-login-side { display: flex; flex-direction: column; background: #fff; }
.sp-login-side .tricolor { height: 6px; }
.sp-login-main { flex: 1; display: grid; place-items: center; padding: 40px 28px; }
.sp-login-card { width: 100%; max-width: 410px; }
.sp-login-card .logo { width: 210px; display: block; margin: 0 0 30px; }
.sp-login-card h2 { font-size: 27px; font-weight: 800; margin-bottom: 8px; }
.sp-login-card p.sub { color: var(--muted); font-size: 14.5px; margin: 0 0 26px; }
.sp-alert { display: none; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; background: var(--no-bg); color: var(--no-ink); border: 1px solid var(--no-line); }
.sp-alert.show { display: flex; }
.sp-alert.info { background: var(--blue-soft); color: #13548f; border-color: #c2d9ef; }
.sp-alert.warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.sp-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin: 6px 0 14px; }
.sp-otp input { width: 100%; height: 62px; text-align: center; font: 800 26px var(--font); color: var(--navy-700); border: 1.5px solid var(--line-2); border-radius: 12px; outline: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.sp-otp input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 117, 188, .15); }
.sp-otp input.filled { border-color: var(--navy-700); background: #f6f9fd; }
.sp-otp.bad input { border-color: var(--no-ink); animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sp-login-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.sp-dev { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px dashed #e2c46f; color: var(--warn-ink); font-size: 13px; }
.sp-dev b { font-family: "SF Mono", Menlo, monospace; letter-spacing: .2em; font-size: 15px; }

/* ============================================================
   PANEL — üst çubuk, hero, sekmeler
   ============================================================ */
.sp-topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sp-topbar .in { max-width: 1240px; margin: 0 auto; padding: 11px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sp-topbar .logo { height: 42px; display: block; }
.sp-user { display: flex; align-items: center; gap: 12px; }
.sp-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13.5px; }
.sp-user .who { line-height: 1.25; text-align: right; }
.sp-user .who b { display: block; font-size: 13.5px; color: var(--navy-700); }
.sp-user .who span { font-size: 12px; color: var(--muted); }

.sp-hero { position: relative; overflow: hidden; color: #fff; padding: 42px 0 96px;
  background: radial-gradient(800px 380px at 6% -20%, rgba(54, 128, 214, .5), transparent 62%), radial-gradient(640px 360px at 100% 120%, rgba(47, 179, 109, .28), transparent 60%), linear-gradient(160deg, #081f49, #16356a 58%, #0d2b60); }
.sp-hero::before { content: ""; position: absolute; inset: 0; background: var(--waves) center / cover no-repeat; pointer-events: none; }
.sp-hero .in { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.sp-hero .hero-id { display: flex; align-items: center; gap: 22px; }
.sp-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: #bfe6d3; }
.sp-hero .eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--green), transparent); }
.sp-hero h1 { color: #fff; font-size: 34px; font-weight: 800; margin: 10px 0 8px; letter-spacing: -.02em; }
.sp-hero p { margin: 0; color: #c2d4ea; font-size: 15.5px; max-width: 640px; }
.sp-stats { display: flex; gap: 12px; }
.sp-stat { min-width: 128px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.sp-stat .n { font-size: 30px; font-weight: 800; line-height: 1.1; color: #fff; }
.sp-stat .l { font-size: 12px; color: #b4c8e0; font-weight: 600; margin-top: 2px; }

.sp-main { max-width: 1240px; margin: -58px auto 70px; padding: 0 28px; position: relative; }
.sp-tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); border: 1px solid var(--line); margin-bottom: 22px; }
.sp-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; font: 700 14.5px var(--font); color: var(--muted); padding: 11px 20px; border-radius: 11px; cursor: pointer; transition: background .15s, color .15s; }
.sp-tabs button:hover { color: var(--navy-700); background: #f3f7fb; }
.sp-tabs button.on { background: var(--navy-700); color: #fff; box-shadow: 0 6px 14px rgba(22, 53, 106, .28); }
.sp-tabs .cnt { font-size: 12px; background: rgba(255, 255, 255, .22); padding: 1px 8px; border-radius: 999px; }
.sp-tabs button:not(.on) .cnt { background: #e6edf5; color: var(--navy-700); }

/* ---------- Kartlar ---------- */
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; margin-bottom: 22px; }
.sp-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sp-card-head .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--blue)); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 6px 14px rgba(22, 53, 106, .25); }
.sp-card-head .num.done { background: linear-gradient(135deg, var(--green-700), var(--green)); }
.sp-card-head h2 { font-size: 19px; margin: 0; }
.sp-card-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.sp-card.locked { opacity: .55; pointer-events: none; filter: saturate(.7); }


/* ---------- Atanan kategori ---------- */
.cat-fixed { --c: var(--blue); position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px 18px 26px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--c) 45%, white); background: color-mix(in srgb, var(--c) 7%, white); overflow: hidden; }
.cat-fixed::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--c); }
.cat-fixed .tick { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.cat-fixed .tick .ico { width: 16px; height: 16px; stroke-width: 3; }
.cat-fixed b { display: block; font-size: 19px; color: var(--navy-700); line-height: 1.2; }
.cat-fixed span { font-size: 13px; color: var(--muted); }
.cat-fixed .lockic { margin-left: auto; color: var(--c); opacity: .75; }

/* ---------- Marka combobox ---------- */
.sub-block { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.sp-combo { position: relative; }
.sp-combo-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font: 600 15px var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sp-combo-btn:hover { border-color: #b4c5d8; }
.sp-combo-btn .ph { color: #a3b0be; font-weight: 500; }
.sp-combo.open .sp-combo-btn { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 117, 188, .15); }
.sp-combo-btn .ico { color: var(--muted); transition: transform .18s; }
.sp-combo.open .sp-combo-btn .ico { transform: rotate(180deg); }
.sp-combo-pop { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; display: none; }
.sp-combo.open .sp-combo-pop { display: block; }
.sp-combo-search { padding: 10px; border-bottom: 1px solid var(--line); }
.sp-combo-search input { width: 100%; font: 500 14.5px var(--font); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; }
.sp-combo-search input:focus { border-color: var(--blue); }
.sp-combo-list { max-height: 264px; overflow: auto; padding: 6px; }
.sp-combo-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; font: 600 14.5px var(--font); color: var(--ink); background: none; border: 0; border-radius: 9px; padding: 10px 12px; cursor: pointer; }
.sp-combo-opt:hover, .sp-combo-opt.hl { background: #f1f6fb; }
.sp-combo-opt.sel { background: var(--blue-soft); color: var(--navy-700); }
.sp-combo-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 13.5px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 700 14px var(--font); color: var(--navy-700); background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--blue); background: #f4f9fe; }
.chip.on { background: var(--navy-700); border-color: var(--navy-700); color: #fff; box-shadow: 0 6px 14px rgba(22, 53, 106, .25); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 13px; background: var(--blue-soft); border: 1px solid #c2d9ef; color: #13466f; font-size: 13.5px; }
.notice.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.notice .ico { margin-top: 1px; }

/* ---------- Görev kartları ---------- */
.role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.role-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; font-family: inherit; cursor: pointer; padding: 16px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); transition: all .15s; }
.role-card .ri { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #eef3f9; color: var(--navy-700); transition: all .15s; }
.role-card b { font-size: 14.5px; color: var(--navy-700); line-height: 1.25; }
.role-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10, 30, 60, .08); }
.role-card.on { border-color: var(--navy-700); background: #f3f7fc; box-shadow: 0 0 0 4px rgba(22, 53, 106, .1); }
.role-card.on .ri { background: var(--navy-700); color: #fff; }

.help-card { padding: 18px 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.help-card h4 { font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.help-card ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.help-card li { margin-bottom: 4px; break-inside: avoid; }
.help-card.wide { box-shadow: var(--shadow-md); }
.help-card.wide ul { columns: 2; column-gap: 36px; }

/* ---------- Toplu kayıt ---------- */
.drop { display: block; border: 2px dashed var(--line-2); border-radius: 16px; padding: 34px 20px; text-align: center; background: #fafcfe; transition: all .15s; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--blue); background: #f2f8fe; }
.drop .ic { width: 54px; height: 54px; border-radius: 16px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.drop .ic .ico { width: 28px; height: 28px; }
.drop b { display: block; font-size: 15.5px; color: var(--navy-700); }
.drop span { display: block; font-size: 13px; color: var(--muted); }
.bulk-sum { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: #eef3f9; color: var(--navy-700); }
.pill.ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill.no { background: var(--no-bg); color: var(--no-ink); }
.tbl-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: auto; max-height: 460px; }
table.sp-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.sp-tbl th { position: sticky; top: 0; background: #f4f7fb; text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.sp-tbl td { padding: 11px 14px; border-bottom: 1px solid #eef2f7; vertical-align: top; }
table.sp-tbl tr:last-child td { border-bottom: 0; }
table.sp-tbl tr.bad td { background: #fff8f7; }
.row-err { color: var(--no-ink); font-size: 12.5px; font-weight: 600; margin-top: 3px; }
.st-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-chip.ok { background: var(--ok-bg); color: var(--ok-ink); }
.st-chip.no { background: var(--no-bg); color: var(--no-ink); }
.st-chip.warn { background: var(--warn-bg); color: var(--warn-ink); }
.st-chip.mut { background: #eef2f7; color: var(--muted); }

/* ---------- Kayıtlarım ---------- */
.list-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.list-tools .grow { flex: 1; }
.search { position: relative; min-width: 260px; flex: 1; max-width: 420px; }
.search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.search input { width: 100%; font: 500 14.5px var(--font); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 14px 11px 40px; outline: none; background: #fff; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(28, 117, 188, .13); }
.att-list { display: grid; gap: 10px; }
.att { --cc: #94a3b8; display: grid; grid-template-columns: auto minmax(0, 1.5fr) minmax(0, 1.2fr) auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--cc); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .12s; }
.att:hover { box-shadow: var(--shadow-md); }
.att .av { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--cc); }
.att .nm { font-weight: 800; color: var(--navy-700); font-size: 15px; }
.att .sub { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.att .br { font-weight: 700; font-size: 14px; }
.att .br small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.att .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.att .ref { font: 700 12px "SF Mono", Menlo, monospace; color: var(--muted); letter-spacing: .04em; }
.att .acts { display: flex; gap: 6px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--navy-700); display: grid; place-items: center; cursor: pointer; transition: all .15s; }
.icon-btn:hover { background: #f1f6fb; border-color: #b4c5d8; }
.icon-btn.del:hover { background: var(--no-bg); border-color: var(--no-line); color: var(--no-ink); }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .ic { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 14px; display: grid; place-items: center; background: #eaf0f7; color: var(--navy-700); }
.empty .ic .ico { width: 32px; height: 32px; }
.empty b { display: block; color: var(--navy-700); font-size: 17px; margin-bottom: 4px; }


/* ---------- Dil değiştirici (TR / EN) ---------- */
.sp-langsw { display: inline-flex; background: #e8eef6; border-radius: 10px; padding: 3px; gap: 2px; }
.sp-langsw button { border: 0; background: transparent; font: 800 12px var(--font); color: var(--muted); padding: 6px 11px; border-radius: 8px; cursor: pointer; letter-spacing: .04em; }
.sp-langsw button:hover { color: var(--navy-700); }
.sp-langsw button.on { background: #fff; color: var(--navy-700); box-shadow: 0 1px 3px rgba(10, 30, 60, .18); }
.sp-login-side { position: relative; }
.sp-login-lang { position: absolute; top: 24px; right: 26px; z-index: 2; }
.sp-user { gap: 12px; }

/* ---------- Telefon (ülke kodu + numara) ---------- */
.phone-row { display: grid; grid-template-columns: minmax(130px, 44%) 1fr; gap: 10px; }
.phone-row .sp-select { text-overflow: ellipsis; }

/* ---------- Kilitli kayıt ---------- */
.st-chip.lock { background: #e8eef9; color: var(--navy-700); }
.st-chip.lock .ico { width: 13px; height: 13px; }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; background: #f4f7fb; }
.icon-btn:disabled:hover { background: #f4f7fb; border-color: var(--line-2); color: var(--navy-700); }

/* ---------- Modal ---------- */
.sp-modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(7, 27, 63, .55); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 40px 18px; overflow: auto; }
.sp-modal-bg.open { display: flex; }
.sp-modal { width: 100%; max-width: 760px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); animation: pop .22s ease; overflow: hidden; }
.sp-modal.wide { max-width: 860px; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.sp-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.sp-modal-head h3 { margin: 0; font-size: 19px; }
.sp-modal-head .x { width: 36px; height: 36px; border-radius: 10px; border: 0; background: #eef3f9; font-size: 22px; line-height: 1; cursor: pointer; color: var(--navy-700); }
.sp-modal-body { padding: 24px 26px; }
.sp-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line); background: #fafcfe; }
.sum-list { display: grid; gap: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #edf1f6; font-size: 14px; }
.sum-row:last-child { border-bottom: 0; }
.sum-row span { color: var(--muted); }
.sum-row b { color: var(--ink); text-align: right; word-break: break-word; }

/* ---------- Başarı ---------- */
.success { text-align: center; padding: 18px 10px 6px; }
.success .ring { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--ok-bg); border: 6px solid #cdeedd; color: var(--ok-ink); animation: pop .4s ease; }
.success .ring .ico { width: 40px; height: 40px; stroke-width: 2.6; }
.success h3 { font-size: 24px; }
.success p { color: var(--muted); max-width: 480px; margin: 0 auto 6px; }
.ref-pill { display: inline-block; margin: 12px 0 18px; font: 800 15px "SF Mono", Menlo, monospace; letter-spacing: .08em; color: var(--navy-700); background: #eef3f9; border: 1px dashed #b4c5d8; padding: 9px 18px; border-radius: 12px; }

/* ---------- Toast ---------- */
.sp-toasts { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 10px; }
.sp-toast { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 13px; background: var(--navy-800); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: pop .22s ease; max-width: 380px; }
.sp-toast.ok { background: var(--ok-ink); }
.sp-toast.no { background: var(--no-ink); }

.sp-foot { text-align: center; color: var(--muted-2); font-size: 12.5px; padding: 0 20px 36px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
      .att { grid-template-columns: auto minmax(0, 1fr) auto; }
  .att .br { grid-column: 2 / 4; grid-row: 2; }
  .att .meta { grid-column: 1 / 3; grid-row: 3; flex-direction: row; align-items: center; justify-content: flex-start; }
  .att .acts { grid-column: 3; grid-row: 3; }
}
@media (max-width: 880px) {
  .sp-login { grid-template-columns: 1fr; }
  .sp-login-hero { padding: 32px 26px 30px; gap: 24px; }
  .sp-login-hero h1 { font-size: 34px; }
  .sp-points { display: none; }
  .sp-login-hero .stage-wrap { padding: 4px 0; }
  .sp-login-hero .emblem-stage { --sz: 150px; }
  .sp-login-main { padding: 30px 20px 40px; }
  .sp-hero .in { grid-template-columns: 1fr; }
  .sp-stats { flex-wrap: wrap; }
  .sp-hero h1 { font-size: 27px; }
  }
@media (max-width: 640px) {
  .sp-topbar .in, .sp-main, .sp-hero .in { padding-left: 16px; padding-right: 16px; }
  .sp-user .who { display: none; }
  .phone-row { grid-template-columns: 1fr; }
  .sp-login-lang { top: 14px; right: 16px; }
  .sp-hero .hero-id { gap: 14px; }
  .emblem-stage.mini { --sz: 64px; }
  .sp-card { padding: 20px 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .sp-tabs { display: flex; width: 100%; }
  .sp-tabs button { flex: 1; justify-content: center; padding: 11px 8px; font-size: 13.5px; }
  .sp-stat { min-width: 0; flex: 1; padding: 12px 14px; }
  .sp-stat .n { font-size: 24px; }
  .role-grid { grid-template-columns: 1fr 1fr; }
  .sp-modal-bg { padding: 14px 10px; }
  .sp-modal-body, .sp-modal-head { padding-left: 18px; padding-right: 18px; }
}
@media print { .sp-topbar, .sp-tabs { display: none; } }

/* KVKK açık rıza kutusu (portal-kvkk.js) */
.kvkk-consent { margin: 4px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fafcfe; }
.kvkk-consent.has-error { border-color: var(--no-ink); background: var(--no-bg); }
.kvkk-consent .kvkk-row { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; cursor: pointer; }
.kvkk-consent input[type=checkbox] { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue); }
.kvkk-doc h1 { font-size: 17px; } .kvkk-doc h2 { font-size: 15px; margin-top: 18px; } .kvkk-doc .doc-sub { font-weight: 700; }
.sp-opt { font-weight: 500; color: var(--muted); font-size: 12px; }
.sp-input.upper { text-transform: uppercase; } /* ad soyad: büyük harf (sunucu da büyük harfe çevirir) */
