/* =====================================================
   Genç Psikologlar Mezunlar Meclisi — Ortak Stil
   Marka renkleri: lacivert + beyaz (logo: GPM)
   ===================================================== */
:root {
  --navy-950: #050e1d;
  --navy-900: #081a33;
  --navy-800: #0c2444;
  --navy-700: #123258;
  --blue-600: #1b4e8f;
  --blue-500: #2465b0;
  --blue-400: #3e7cc4;
  --sky-400: #5d9bd6;
  --sky-200: #bcd8f0;
  --sky-soft: #e8f1fa;
  --bg: #f4f8fc;
  --card: #ffffff;
  --text: #14273f;
  --muted: #5a7089;
  --line: #dfe9f3;
  --ok: #1c8a5a;
  --ok-soft: #e2f5eb;
  --warn: #b07414;
  --warn-soft: #fdf3df;
  --danger: #c0392b;
  --danger-soft: #fbe9e7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(8, 26, 51, .08);
  --shadow-lg: 0 24px 60px rgba(8, 26, 51, .16);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy-900); letter-spacing: -.01em; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------------- Üst menü ---------------- */
/* sarmalayici da sabitlenmeli; yoksa navbar scroll ile kaybolur */
#navbar { position: sticky; top: 0; z-index: 50; }
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar .inner {
  display: flex; align-items: center; gap: 26px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand img { height: 46px; width: 46px; object-fit: contain; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.15; }
.brand .bt b { color: var(--navy-800); font-size: 15.5px; letter-spacing: .01em; }
.brand .bt span { color: var(--muted); font-size: 12px; font-weight: 600; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav-links a {
  color: var(--text); font-weight: 600; font-size: 14.5px;
  padding: 8px 13px; border-radius: 999px; text-decoration: none !important;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--sky-soft); color: var(--blue-600); }
.nav-links a.active { background: var(--navy-800); color: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-user { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.nav-user b { color: var(--navy-800); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy-800); }

/* ---------------- Butonlar ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 14.5px;
  padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none !important; transition: transform .12s, box-shadow .12s, background .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff; box-shadow: 0 8px 20px rgba(18, 50, 88, .28);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(18, 50, 88, .4); }
.btn-light { background: #fff; color: var(--navy-800); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-outline { background: transparent; color: var(--navy-800); border: 1.5px solid var(--navy-700); }
.btn-outline:hover { background: var(--sky-soft); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost { background: var(--sky-soft); color: var(--blue-600); }
.btn-ghost:hover { background: var(--sky-200); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #f6d3ce; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800) 55%, var(--navy-700));
}
.hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 22s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12) translateX(-2%); } }
.hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(5, 14, 29, .78), rgba(8, 26, 51, .42) 55%, rgba(18, 50, 88, .58));
}
.hero .blob {
  position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
  filter: blur(70px); opacity: .6;
  animation: blobFloat 16s ease-in-out infinite alternate;
}
.hero .b1 { width: 540px; height: 540px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(62, 124, 196, .5), transparent 65%); }
.hero .b2 { width: 660px; height: 660px; right: -200px; bottom: -240px; background: radial-gradient(circle, rgba(27, 78, 143, .55), transparent 65%); animation-duration: 22s; }
.hero .b3 { width: 380px; height: 380px; left: 42%; top: 30%; background: radial-gradient(circle, rgba(93, 155, 214, .35), transparent 65%); animation-duration: 19s; }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, 46px) scale(1.18); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 75%);
}
.hero .inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: 96px 0 130px;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 74px; z-index: 3; display: block; }
/* giriş animasyonları */
.anim-up { opacity: 0; transform: translateY(28px); animation: riseIn .9s cubic-bezier(.2, .7, .3, 1) forwards; }
.anim-up.d1 { animation-delay: .08s; } .anim-up.d2 { animation-delay: .2s; }
.anim-up.d3 { animation-delay: .34s; } .anim-up.d4 { animation-delay: .48s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky-200); background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--sky-200); }
.hero p.lead { color: #c8d9ec; font-size: 17.5px; max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { display: flex; justify-content: center; }
.hero-art .logo-wrap {
  position: relative; width: min(340px, 80%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  animation: float 7s ease-in-out infinite;
}
.hero-art .logo-wrap::before {
  content: ""; position: absolute; inset: -16%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(93, 155, 214, .4), transparent 68%);
  animation: haloPulse 5s ease-in-out infinite;
}
@keyframes haloPulse { 0%, 100% { transform: scale(.92); opacity: .55; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------------- Akan alan şeridi ---------------- */
.marquee {
  overflow: hidden; position: relative;
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800) 40%, var(--navy-700));
  border-block: 1px solid rgba(255, 255, 255, .07);
  padding: 17px 0;
}
.marquee .marquee-track {
  display: flex; align-items: center; width: max-content; gap: 30px;
  animation: marquee 36s linear infinite; will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee .mq-item {
  color: var(--sky-200); font-size: 14.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; white-space: nowrap;
}
.marquee .mq-dot { color: rgba(125, 179, 227, .55); font-style: normal; font-size: 12px; }

/* ---------------- Kaydırınca beliren içerik ---------------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }
section[id] { scroll-margin-top: 84px; }

/* ---------------- Bölümler ---------------- */
section.block { padding: 76px 0; }
section.block.alt { background: #fff; border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.sec-head .tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600); background: var(--sky-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
  animation: tagPulse 3.2s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(36, 101, 176, .28); }
  50% { box-shadow: 0 0 0 10px rgba(36, 101, 176, 0); }
}
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 16px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 8px 18px rgba(18, 50, 88, .25);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.card:hover .icon-badge { transform: scale(1.12) rotate(-5deg); }
.icon-badge svg { width: 25px; height: 25px; stroke: #fff; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* adımlar */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  margin-bottom: 14px; box-shadow: 0 8px 18px rgba(18, 50, 88, .3);
}

/* alan çipleri */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  background: #fff; border: 1px solid var(--line); color: var(--navy-700);
  font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(8, 26, 51, .05);
}

/* faaliyetler */
.act-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; color: inherit; }
.act-media { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); position: relative; overflow: hidden; }
.act-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.act-card:hover .act-media img { transform: scale(1.07); }
.act-media .noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.act-media .noimg svg { width: 44px; height: 44px; }
.act-body { padding: 20px 22px 24px; }
.act-date { font-size: 12.5px; font-weight: 700; color: var(--blue-500); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.act-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.act-body p { color: var(--muted); font-size: 14px; white-space: pre-line; }
.empty-note {
  text-align: center; color: var(--muted); background: #fff; border: 1.5px dashed var(--line);
  border-radius: var(--radius); padding: 44px 20px; font-size: 15px;
}

/* CTA bandı */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  color: #fff; border-radius: 22px; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 14, 29, .55), rgba(27, 78, 143, .18));
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(21px, 2.6vw, 28px); margin-bottom: 8px; }
.cta-band p { color: #c8d9ec; max-width: 520px; }

/* ---------------- Formlar ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.input, select.input, textarea.input {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: var(--text);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(36, 101, 176, .12); }
textarea.input { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* alan seçimi (checkbox çipler) */
.field-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.field-picker label {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--navy-700); background: #fff;
  transition: all .15s; user-select: none;
}
.field-picker input { display: none; }
.field-picker label:has(input:checked) { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
  width: 44px; height: 25px; border-radius: 999px; background: #c6d5e4; position: relative; transition: background .15s;
}
.switch .track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px;
  border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { left: 22px; }
.switch .slabel { font-size: 14px; font-weight: 600; color: var(--navy-800); }
/* form alanlari icindeki switch: .field label'in block'u switch'i bozmasin */
.field .switch { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 0; }

/* uyarı kutuları */
.alert { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert.err { background: var(--danger-soft); color: var(--danger); }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.info { background: var(--sky-soft); color: var(--blue-600); }

/* ---------------- Kimlik sayfaları (giriş/kayıt) ---------------- */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 16px;
  background:
    radial-gradient(800px 400px at 110% -10%, rgba(94, 155, 214, .18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(36, 101, 176, .12), transparent 60%);
}
.auth-card {
  width: min(480px, 100%); background: #fff; border-radius: 20px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 38px 36px;
}
.auth-card.wide { width: min(860px, 100%); }
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-card .auth-logo img { height: 74px; }
.auth-card h1 { text-align: center; font-size: 23px; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------------- Sayfa başlığı (panel/uyeler/admin) ---------------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.status-badge.approved { background: var(--ok-soft); color: var(--ok); }
.status-badge.pending { background: var(--warn-soft); color: var(--warn); }
.status-badge.admin { background: var(--navy-800); color: #fff; }

/* ---------------- Üye kartları ---------------- */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 26px 0 70px; }
.member-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s, box-shadow .18s; position: relative; cursor: pointer;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-top { display: flex; gap: 14px; align-items: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--sky-soft); box-shadow: 0 4px 12px rgba(8, 26, 51, .15); flex-shrink: 0;
}
.avatar.ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  color: #fff; font-weight: 800; font-size: 22px;
}
.member-top h3 { font-size: 17px; }
.member-top .role-line { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.member-meta { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--muted); }
.member-meta .row { display: flex; gap: 8px; align-items: center; }
.member-meta svg { width: 15px; height: 15px; stroke: var(--blue-500); flex-shrink: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-mini {
  background: var(--sky-soft); color: var(--blue-600); font-size: 11.5px;
  font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.ref-badge { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; align-self: flex-start; }
.ref-badge.open { background: var(--ok-soft); color: var(--ok); }
.ref-badge.closed { background: var(--danger-soft); color: var(--danger); }
.member-foot { margin-top: auto; display: flex; gap: 8px; }

/* filtre çubuğu */
.filter-bar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px; margin-top: 22px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; align-items: end;
}

/* ---------------- Panel ---------------- */
.panel-layout { display: grid; grid-template-columns: 300px 1fr; gap: 26px; padding: 26px 0 70px; align-items: start; }
.panel-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.photo-box { text-align: center; }
.photo-box .big-avatar {
  width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px;
  border: 4px solid #fff; box-shadow: var(--shadow-lg);
}
.photo-box .big-avatar.ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-800));
  color: #fff; font-size: 44px; font-weight: 800;
}
.panel-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-nav a {
  display: flex; align-items: center; gap: 11px; padding: 13px 18px;
  font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none !important;
  border-left: 3px solid transparent;
}
.panel-nav a svg { width: 17px; height: 17px; stroke: var(--muted); }
.panel-nav a:hover { background: var(--sky-soft); }
.panel-nav a.active { background: var(--sky-soft); border-left-color: var(--blue-600); color: var(--blue-600); }
.panel-nav .nav-badge {
  margin-left: auto; background: #e5484d; color: #fff;
  font-size: 10.5px; font-weight: 800; line-height: 1;
  min-width: 17px; height: 17px; border-radius: 999px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.panel-nav .nav-badge[hidden] { display: none; }
.panel-nav hr { border: 0; border-top: 1px solid var(--line); }
.panel-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-card > .pc-head {
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.panel-card > .pc-head h2 { font-size: 17px; }
.panel-card > .pc-head p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.panel-card .pc-body { padding: 24px; }
.profile-progress { padding: 16px 20px; }
.profile-progress .bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.profile-progress .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-500), var(--navy-800)); transition: width .4s; }

/* sertifika satırları */
.cert-row {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) 90px 80px 175px 40px; gap: 10px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: #fbfdff;
}
.cert-row .input { padding: 9px 12px; width: 100%; min-width: 0; }
.cert-head span { display: block; }
.file-cell { display: flex; align-items: center; gap: 6px; }
.file-cell .cf-done { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.file-cell .cf-view { padding: 7px 12px; font-size: 12.5px; }
.file-cell .cf-clear { width: 28px; height: 28px; border-radius: 8px; }
.file-cell .cf-clear svg { width: 13px; height: 13px; }

/* kurum satırları (çalışılan kurumlar) */
.work-row {
  display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; align-items: center;
  margin-bottom: 10px;
}

/* lisans üstü eğitim satırları */
.grad-row {
  display: grid; grid-template-columns: 0.8fr 1.8fr auto; gap: 10px; align-items: center;
  margin-bottom: 10px;
}

/* iş & staj deneyimi satırları */
.exp-row {
  display: grid; grid-template-columns: 1.4fr 1fr 0.8fr auto; gap: 10px; align-items: center;
  margin-bottom: 10px;
}

/* KVKK / çerez bildirim bandı */
.cookie-band {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  background: var(--navy-900); color: #dbe7f5;
  border-radius: 14px; padding: 14px 18px;
  display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cookie-band .cb-text { font-size: 13.5px; }
.cookie-band a { color: var(--sky-200); text-decoration: underline; }

/* sosyal medya ikonları */
.social-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.social-row a:hover { background: var(--blue-500); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

/* dm okunmamış vurgusu */
.unread { border-left: 3px solid var(--blue-500); }

/* faaliyet carousel */
.car-wrap { position: relative; }
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .act-card { flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; cursor: pointer; }
.carousel .act-card:hover .act-media img { transform: scale(1.07); }
.car-btn {
  position: absolute; top: 42%; z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy-800); font-size: 26px; line-height: 1;
  box-shadow: var(--shadow); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.car-btn:hover { background: var(--sky-soft); }
.car-btn.prev { left: -10px; }
.car-btn.next { right: -10px; }
.car-btn:disabled { opacity: .3; cursor: default; }

/* faaliyet detay galeri */
.det-main { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; background: var(--navy-800); }
.det-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.det-strip {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin; padding-bottom: 6px;
}
.det-strip .g {
  flex: 0 0 92px; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent; padding: 0; background: none; scroll-snap-align: start;
}
.det-strip .g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.det-strip .g.active { border-color: var(--blue-500); }

/* ana görsel üzerinde slayt okları */
.det-main { position: relative; }
.det-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.92); color: var(--navy-800); font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: background .15s;
}
.det-arrow:hover { background: #fff; }
.det-arrow.prev { left: 12px; }
.det-arrow.next { right: 12px; }
.det-arrow:disabled { opacity: .35; cursor: default; }
.det-counter {
  position: absolute; right: 14px; bottom: 12px; z-index: 3;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}

/* üyelik başvurusu bilgi notu */
.kayit-not {
  display: flex; gap: 12px; align-items: flex-start;
  background: linear-gradient(135deg, #eef6ff, #f5f9ff);
  border: 1px solid #c9def5; border-left: 4px solid var(--blue-500);
  border-radius: 12px; padding: 13px 16px; margin: 16px 0 4px;
  font-size: 13.5px; line-height: 1.55; color: var(--navy-800);
  text-align: left;
}
.kayit-not .kn-icon { color: var(--blue-500); font-size: 17px; line-height: 1.3; }
.kayit-not b { font-weight: 800; }

/* sohbet (WhatsApp tarzı) */.chat-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 14px; align-items: start; }
.chat-list { display: flex; flex-direction: column; gap: 6px; max-height: 460px; overflow-y: auto; }
.chat-item { display: flex; gap: 10px; align-items: center; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; width: 100%; font: inherit; transition: border-color .15s, background .15s; }
.chat-item:hover { border-color: var(--blue-500); }
.chat-item.active { background: #eef6ff; border-color: var(--blue-500); }
.chat-ava { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-800), var(--blue-500)); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 38px; overflow: hidden; }
.chat-ava.has-photo { background: #e8eef5; }
.chat-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.chat-mid { min-width: 0; flex: 1; }
.chat-item-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item-last { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.chat-tag { font-size: 10.5px; background: #e3f0fb; color: var(--blue-600); border-radius: 999px; padding: 1px 7px; font-weight: 700; vertical-align: 1px; }
.chat-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.chat-when { font-size: 11px; color: var(--muted); }
.chat-unread { background: var(--blue-500); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.chat-panel { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: none; flex-direction: column; background: #f6f9fc; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--navy-800); color: #fff; }
.chat-head .chat-ava { width: 34px; height: 34px; flex-basis: 34px; background: rgba(255,255,255,.16); font-size: 15px; }
.chat-head .chat-name { font-weight: 700; font-size: 14.5px; }
.chat-head .chat-sub { font-size: 12px; color: rgba(255,255,255,.75); }
.chat-back { display: none; background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 2px; }
.chat-thread { padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; max-height: 400px; overflow-y: auto; }
.bubble-row { display: flex; }
.bubble-row.in { justify-content: flex-start; }
.bubble-row.out { justify-content: flex-end; }
.bubble { max-width: 80%; padding: 8px 12px 5px; border-radius: 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); word-break: break-word; }
.bubble-row.in .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-row.out .bubble { background: #dcebfb; border: 1px solid #c4def7; border-bottom-right-radius: 4px; }
.bubble-time { display: block; font-size: 10.5px; color: rgba(0,0,0,.45); text-align: right; margin-top: 3px; }
.chat-reply { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; align-items: flex-end; }
.chat-reply .input { flex: 1; resize: none; }
.chat-guestnote { padding: 10px 14px; border-top: 1px solid var(--line); background: #fff8e6; font-size: 13px; }
.chat-guestnote a { font-weight: 700; }
@media (min-width: 761px) { .chat-panel { display: flex; } }
@media (max-width: 760px) {
  .chat-wrap.chat-open .chat-panel { display: flex; }
  .chat-wrap.chat-open .chat-list { display: none; }
  .chat-wrap.chat-open .chat-back { display: block; }
  .bubble { max-width: 88%; }
}

/* form görsel önizlemeleri */
.aprev { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.aprev .ap { position: relative; width: 74px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.aprev .ap img { width: 100%; height: 100%; object-fit: cover; }
.aprev .ap button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; cursor: pointer; line-height: 1; }

/* psikolog profili sayfa düzeni */
.psikolog-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start;
}
/* profil sayfasi: konteyner sag tarafa genisler (ana kart genisligi sabit kalir) */
.psikolog-container { width: min(1180px, 94%); }
/* genis ekranda randevu sutunu sayfayla birlikte kayar */
@media (min-width: 761px) {
  .psikolog-layout > aside { position: sticky; top: 74px; }
}
.side-other { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none !important; border-radius: 8px; }
.side-other:hover { background: var(--sky-soft); }
.side-other:last-child { border-bottom: 0; }
.side-other b { font-size: 14px; color: var(--navy-800); }

/* belge satırları (mezuniyet belgesi vb.) */
.doc-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.doc-state { font-size: 14px; font-weight: 600; color: var(--muted); }
.doc-state.ok { color: var(--ok); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.icon-btn svg { width: 16px; height: 16px; stroke: var(--danger); }
.icon-btn:hover { background: var(--danger-soft); }

/* ---------------- Tablolar (admin) ---------------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data th {
  text-align: left; padding: 12px 14px; background: var(--sky-soft); color: var(--navy-800);
  font-size: 12px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
table.data td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: #f8fbfe; }
.td-user { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.td-user img, .td-user .avatar.ph { width: 38px; height: 38px; font-size: 15px; border-width: 2px; }
.td-user b { display: block; font-size: 13.5px; color: var(--navy-800); }
.td-user span { color: var(--muted); font-size: 12px; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
table.data select.role-select { width: auto; padding: 7px 10px; font-size: 12.5px; font-weight: 600; }

/* ---------------- Admin sekmeleri ---------------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 22px 0 18px; }
.tab-btn {
  font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer;
}
.tab-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.admin-stat b { font-size: 28px; color: var(--navy-800); display: block; }
.admin-stat span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* mesaj kartları */
.msg-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px; background: #fbfdff; }
.msg-card.unread { border-left: 3px solid var(--blue-500); }
.msg-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.msg-head b { color: var(--navy-800); }
.msg-head .when { color: var(--muted); font-size: 12px; }
.msg-card p { font-size: 14px; color: var(--text); white-space: pre-line; }

/* ---------------- Modal ---------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 14, 29, .55);
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: min(680px, 100%);
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: pop .18s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .m-head {
  position: sticky; top: 0; background: #fff; z-index: 2;
  padding: 20px 26px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.modal .m-head h3 { font-size: 18px; }
.modal .m-close { background: var(--sky-soft); border: 0; border-radius: 50%; width: 34px; height: 34px; font-size: 17px; cursor: pointer; color: var(--navy-800); font-weight: 700; }
.modal .m-body { padding: 26px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-bottom: 20px; }
.kv .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.kv .v { font-size: 14.5px; font-weight: 600; color: var(--navy-900); }
.kv .v.full { white-space: pre-line; font-weight: 400; }
.cert-list { border-top: 1px solid var(--line); margin-top: 6px; }
.cert-list .ci { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cert-list .ci b { color: var(--navy-800); }
.cert-list .ci span { color: var(--muted); font-size: 13px; }

/* ---------------- Footer ---------------- */
footer.site { background: linear-gradient(160deg, var(--navy-950), var(--navy-900)); color: #b7c9dd; margin-top: 40px; }
footer.site .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 58px 0 40px; }
footer.site .fbrand { display: flex; gap: 14px; align-items: flex-start; }
footer.site .fbrand img { height: 64px; width: 64px; object-fit: contain; }
footer.site h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
footer.site a { color: #b7c9dd; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
footer.site .about-txt { font-size: 14px; line-height: 1.7; max-width: 380px; }
footer.site .bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 13px; display: flex; justify-content: flex-start; gap: 10px; flex-wrap: wrap; }
footer.site .bottom span:nth-child(2) { margin-left: auto; }
footer.site .bottom .credit { margin-left: 40px; font-size: 11.5px; }
footer.site .bottom .credit a { color: inherit; }
footer.site .bottom .credit a:hover { color: #fff; text-decoration: underline; }

/* ---------------- Toast ---------------- */
#toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
  opacity: 0; transition: all .25s; z-index: 200; max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--danger); }
#toast.ok { background: var(--ok); }

/* ---------------- Hareket azaltma tercihi ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-bg img, .hero .blob, .hero-art .logo-wrap, .hero-art .logo-wrap::before,
  .marquee .marquee-track, .sec-head .tag, .anim-up {
    animation: none !important;
  }
  .anim-up, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------------- Duyarlılık ---------------- */
@media (max-width: 980px) {
  .hero .inner { grid-template-columns: 1fr; text-align: center; padding: 60px 0 110px; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-art { display: none; }
  .hero .b3 { display: none; }
  .grid-3, .member-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .photo-box { flex: 1; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
  .panel-nav { flex: 1; min-width: 240px; }
  .footer-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .brand .bt-top { display: none; }
  .brand .bt-bottom {
    font-size: 15px; font-weight: 800; color: var(--navy-800);
    white-space: nowrap; letter-spacing: 0;
  }
  .brand { flex-shrink: 0; }
  .brand img { height: 40px; width: 40px; }
  .navbar .inner { gap: 8px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { padding: 7px 12px; font-size: 12.5px; }
  .nav-admin { display: none; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 12px 16px 16px; box-shadow: var(--shadow-lg); margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { padding: 9px 16px; font-size: 13px; }
  .nav-user { display: none; }
  .grid-3, .grid-2, .member-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .cert-row { grid-template-columns: 1fr 1fr; }
  .cert-row .input:nth-child(1) { grid-column: 1 / -1; }
  .file-cell { grid-column: 1 / -1; }
  .work-row, .grad-row, .exp-row { grid-template-columns: 1fr; }
  .psikolog-layout { grid-template-columns: 1fr; }
  .carousel .act-card { flex-basis: 86%; }
  .car-btn { display: none; }
  #dGallery { margin: 0 -4vw; }
  .det-main { aspect-ratio: 5/4; border-radius: 0; }
  .det-arrow { top: auto; bottom: 10px; transform: none; width: 34px; height: 34px; font-size: 20px; background: rgba(255,255,255,.82); }
  .det-arrow.prev { left: 10px; }
  .det-arrow.next { right: 10px; }
  .det-counter { top: 10px; right: 10px; bottom: auto; }
  .det-strip { flex-wrap: nowrap; gap: 6px; }
  .det-strip .g { flex: 0 0 44px; border-radius: 6px; }
  .cert-head { display: none !important; }
  footer.site .top { grid-template-columns: 1fr; gap: 30px; }
  .kv-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
}

/* Instagram tarzi foto buyutme (lightbox) */
.foto-lightbox { position: fixed; inset: 0; background: rgba(4,9,18,.92); z-index: 9999; display: flex; align-items: center; justify-content: center; cursor: zoom-out; animation: lightbox-gel .18s ease; }
@keyframes lightbox-gel { from { opacity: 0; } to { opacity: 1; } }
.foto-lightbox img { width: min(86vh, 86vw); aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; box-shadow: 0 24px 80px rgba(0,0,0,.55); cursor: default; }
.foto-kapat { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 19px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.foto-kapat:hover { background: rgba(255,255,255,.3); }
.buyutulabilir { cursor: pointer; }

/* ---------- Randevu takvimi ---------- */
.rv-gun { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rv-gun-ad { width: 110px; flex: 0 0 110px; font-weight: 700; font-size: 13.5px; color: var(--navy-800); }
.rv-cizgi { color: var(--muted); }
.rv-saat { max-width: 130px; }
.rv-durum-onay { color: var(--ok, #16803c); font-weight: 700; }
/* profil sayfası takvimi */
.rv-takvim { margin: 26px 0 10px; }
.rv-takvim h3 { margin-bottom: 6px; }
.rv-takvim p.aciklama { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.rv-gunler { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.rv-gun-btn { flex: 0 0 auto; min-width: 92px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; text-align: center; cursor: pointer; font: inherit; transition: border-color .15s, background .15s; scroll-snap-align: start; }
.rv-gun-btn:hover { border-color: var(--blue-500); }
.rv-gun-btn.secili { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.rv-gun-btn.secili .rg-ay { color: #fff; }
.rv-gun-btn .rg-ay { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.rv-gun-btn .rg-gun { display: block; font-size: 20px; font-weight: 800; color: var(--navy-800); }
.rv-gun-btn .rg-gun-ad { display: block; font-size: 11.5px; color: var(--muted); }
.rv-gun-btn:disabled { opacity: .4; cursor: not-allowed; }
.rv-saatler { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.rv-saat-btn { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-weight: 700; font-size: 13.5px; transition: background .15s, border-color .15s, color .15s; }
.rv-saat-btn:hover { border-color: var(--blue-500); }
.rv-saat-btn.secili { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* ---------- Randevu editoru (panel): hafta ızgarası ---------- */
.rv-editor-kontrol { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 12px; }
.rv-editor-kontrol .field { margin: 0; }
.rv-editor-kontrol .btn { margin-bottom: 2px; }
.rv-hafta { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.rv-hafta-gun { display: flex; flex-direction: column; gap: 6px; }
.rv-hafta-baslik { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 4px; cursor: pointer; font: inherit; text-align: center; transition: background .15s, border-color .15s; }
.rv-hafta-baslik b { display: block; font-size: 12.5px; color: var(--navy-800); }
.rv-hafta-baslik span { font-size: 10.5px; color: var(--muted); }
.rv-hafta-baslik:hover { border-color: var(--blue-500); background: #f4f9ff; }
.rv-hucre { border: 1px solid #e3ebf5; border-radius: 9px; margin: 2px; padding: 7px 6px; font: inherit; font-size: 10.5px; font-weight: 700; text-align: center; cursor: pointer; transition: background .15s, border-color .15s, color .15s; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-hucre.acik { background: #e8f1fb; border-color: #bcd6f2; color: var(--blue-600); }
.rv-hucre.acik:hover { background: #d7e8fa; }
.rv-hucre.dolu { background: var(--navy-800); border-color: var(--navy-800); color: #fff; text-align: center; padding: 4px 3px; line-height: 1.25; }
.rv-hucre.dolu.bekliyor { background: #d97706; border-color: #d97706; }
.rv-hucre.dolu .rhd-ad { display: block; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-hucre.dolu .rhd-saat { display: block; font-size: 9px; opacity: .72; font-weight: 600; }
.rv-hucre.kapali { background: #fbfcfe; color: #c3cdd9; }

/* anahtar düğme (toggle) */
.rv-anahtar-satir { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.rv-anahtar { position: relative; display: inline-block; width: 40px; height: 22px; flex: 0 0 auto; }
.rv-anahtar input { opacity: 0; width: 0; height: 0; position: absolute; margin: 0; }
.rv-anahtar-kaydir { position: absolute; inset: 0; background: #cdd8e4; border-radius: 999px; transition: background .18s; cursor: pointer; display: block; }
.rv-anahtar-kaydir::before { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .18s; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.rv-anahtar input:checked + .rv-anahtar-kaydir { background: var(--blue-600); }
.rv-anahtar input:checked + .rv-anahtar-kaydir::before { transform: translateX(18px); }
.rv-anahtar input:focus-visible + .rv-anahtar-kaydir { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); }
.rv-anahtar-etiket { font-size: 13px; color: var(--text); cursor: pointer; }
@media (max-width: 760px) { .rv-hafta { grid-template-columns: repeat(7, 96px); overflow-x: auto; padding-bottom: 6px; } }

/* ---------- Randevu bileşeni (profil sağ sütun) ---------- */
.rv-gunler-wrap { display: flex; align-items: center; gap: 6px; min-width: 0; }
/* dar ekranda takvim seridinin genisligi ust katmanlari sisirmesin */
.psikolog-layout > * { min-width: 0; }
.psikolog-layout aside .card { min-width: 0; }
.rv-gunler { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; flex: 1; min-width: 0; scrollbar-width: none; padding: 2px; }
.rv-gunler::-webkit-scrollbar { display: none; }
.rv-ok { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; flex: 0 0 auto; font-size: 15px; color: var(--navy-800); }
.rv-ok:hover { border-color: var(--blue-500); color: var(--blue-600); }
.rv-gun-btn { flex: 0 0 auto; min-width: 68px; padding: 9px 6px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; font: inherit; scroll-snap-align: start; transition: border-color .15s, background .15s, box-shadow .15s; }
.rv-gun-btn:hover { border-color: var(--blue-500); }
.rv-gun-btn.secili { border-color: var(--blue-600); box-shadow: inset 0 0 0 1px var(--blue-600); background: #f4f9ff; }
.rv-gun-btn .rg-ay { display: block; font-size: 10.5px; font-weight: 800; color: var(--blue-600); text-transform: uppercase; }
.rv-gun-btn.secili .rg-ay { color: var(--blue-600); }
.rv-gun-btn .rg-gun { display: block; font-size: 18px; font-weight: 800; color: var(--navy-800); line-height: 1.25; }
.rv-gun-btn.secili .rg-gun { color: var(--navy-800); }
.rv-gun-btn .rg-gun-ad { display: block; font-size: 10.5px; color: var(--muted); }
.rv-saat-kart { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 12px; background: #fbfcfe; }
.rv-saat-baslik { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.rv-saat-baslik b { font-size: 14.5px; color: var(--navy-800); }
.rv-saat-baslik span { font-size: 11.5px; color: var(--muted); }
.rv-saat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.rv-saat-btn { padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-weight: 700; font-size: 12px; text-align: center; transition: background .15s, border-color .15s, color .15s; }
.rv-saat-btn:hover { border-color: var(--blue-500); }
.rv-saat-btn.secili { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.rv-trt-note { font-size: 10.5px; color: var(--muted); font-style: italic; margin-top: 10px; }

/* kapali tarihler + takvim mesajlari + dar kolon gun boyutlari */
.rv-kapali-liste { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rv-kapali-cip { display: inline-flex; align-items: center; gap: 6px; background: #fdecec; color: #9c3030; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.rv-kapali-cip button { border: 0; background: none; cursor: pointer; color: inherit; font-size: 13px; padding: 0; line-height: 1; }
.rv-bos { text-align: center; font-size: 12.5px; background: #f6f9fd; border-radius: 10px; padding: 12px 10px; grid-column: 1 / -1; white-space: nowrap; }
.rv-gun-btn { min-width: 56px; padding: 9px 4px; }
/* gorunen pencerede tam 4 gun: her cip alanin tam ceyregi (kaydirma devam eder) */
.rv-gunler-wrap .rv-gun-btn { flex: 0 0 calc((100% - 24px) / 4); min-width: 0; }
.rv-gun-btn .rg-gun { font-size: 17px; }
.rv-gun-btn .rg-ay { font-size: 10px; }
.rv-gun-btn .rg-gun-ad { font-size: 10px; }
.rv-gun-btn:disabled { opacity: .35; cursor: not-allowed; }

.rv-hafta-baslik-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 10px; }

/* ---------- modern hafta takvimi ---------- */
.rv-araclar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 2px 0 12px; }
.rv-ay-yazi { font-size: 18px; font-weight: 800; color: var(--navy-800); }
.rv-araclar-sag { display: flex; align-items: center; gap: 6px; }
.rv-ok-yuvarlak { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; color: var(--navy-800); }
.rv-ok-yuvarlak:hover { border-color: var(--blue-500); color: var(--blue-600); }
.rv-bugun-btn { height: 34px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--blue-600); color: #fff; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.rv-bugun-btn:hover { background: var(--blue-500); }
.rv-takvim-alan { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 14px; align-items: start; }
.rv-mini-kolon { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1080px) { .rv-takvim-alan { grid-template-columns: 1fr; } }
.rv-mini { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.rv-mini-bas { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rv-mini-bas b { font-size: 13.5px; color: var(--navy-800); }
.rv-mini-ok { width: 24px; height: 24px; border-radius: 50%; border: 0; background: #f1f5fa; cursor: pointer; color: var(--navy-800); font-size: 12px; }
.rv-mini-ok:hover { background: #e4edf8; }
.rv-mini-izgara { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.rv-mini-gun-ad { font-size: 9.5px; font-weight: 800; color: var(--muted); text-align: center; padding: 3px 0; }
.rv-mini-gun { border: 0; background: none; font: inherit; font-size: 11px; font-weight: 700; color: var(--text); height: 27px; border-radius: 8px; cursor: pointer; position: relative; padding: 0; }
.rv-mini-gun:hover { background: #eef4fb; }
.rv-mini-gun.baska { color: #c3cdd9; }
.rv-mini-gun.secili-hafta { background: #e8f1fb; }
.rv-mini-gun.bugun { background: var(--blue-600); color: #fff; }
.rv-mini-gun.secili { box-shadow: inset 0 0 0 2px var(--blue-600); }
.rv-mini-gun.secili.bugun { box-shadow: none; }
.rv-mini-gun .rv-mini-nokta { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue-600); }
.rv-mini-gun.bugun .rv-mini-nokta { background: #fff; }
.rv-mini-liste { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.rv-mini-liste-bas { font-size: 11.5px; font-weight: 800; color: var(--navy-800); margin-bottom: 5px; }
.rvg-satir { display: flex; align-items: baseline; gap: 7px; width: 100%; border: 0; background: none; font: inherit; text-align: left; padding: 5px 6px; border-radius: 8px; cursor: pointer; }
.rvg-satir:hover { background: #eef4fb; }
.rvg-satir b { color: var(--blue-600); font-size: 11.5px; flex: 0 0 auto; }
.rvg-satir span { font-size: 11.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rvg-bos { font-size: 11px; color: var(--muted); }
.rvg-nokta { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; align-self: center; }

/* psikolog profili: kutu bölümler */
.p-bolum { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-top: 16px; background: #fff; box-shadow: 0 2px 10px rgba(12, 36, 68, .05); }
.p-bolum-bas { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--navy-800); margin-bottom: 14px; }
.p-bolum-ikon { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #e8f1fb, #dbeafe); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(12, 36, 68, .06); }

.rv-legend { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.rv-leg-chip { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); }
.rv-leg-nokta { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }

/* kategori seçenekleri (diyalog) */
.rv-katler { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-kat { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 11.5px; font-weight: 700; color: var(--text); cursor: pointer; }
.rv-kat:hover { border-color: var(--blue-500); }
.rv-kat.secili { border-color: var(--blue-600); background: #eef4fb; color: var(--navy-800); }
.rv-kat-nokta { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }

/* randevu renk seçici */
.rv-renkler { display: flex; flex-wrap: wrap; gap: 7px; }
.rv-renk { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); cursor: pointer; padding: 0; transition: transform .12s; }
.rv-renk:hover { transform: scale(1.12); }
.rv-renk.secili { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue-600); }

/* danışan adı önerileri */
.dn-oneriler { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); z-index: 60; max-height: 220px; overflow-y: auto; }
.dn-oneri { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; font: inherit; text-align: left; padding: 8px 10px; cursor: pointer; }
.dn-oneri:hover { background: #eef4fb; }
.dn-oneri .dn-o-nokta { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.dn-oneri b { font-size: 12.5px; color: var(--navy-800); flex: 0 0 auto; }
.dn-oneri span { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* kategori seçim paneli */
.dn-kat-secim { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font: inherit; font-weight: 700; color: var(--navy-800); cursor: pointer; }
.dn-kat-secim .dn-kat-nokta { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.dn-kat-secim .dn-kat-secim-ad { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-kat-secim .dn-kat-ok { color: var(--muted); font-size: 11px; }
.dn-kat-panel { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .16); z-index: 60; max-height: 260px; overflow-y: auto; padding: 4px; }
.dn-kat-satir { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; cursor: pointer; }
.dn-kat-satir:hover { background: #eef4fb; }
.dn-kat-nokta { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.dn-kat-ad-text { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--navy-800); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-kat-btnler { display: flex; gap: 2px; flex: 0 0 auto; }
.dn-kat-btn { border: 0; background: none; cursor: pointer; font-size: 12px; padding: 2px; }
.dn-kat-btn:hover { transform: scale(1.15); }
.dn-kat-yeni-btn { display: block; width: 100%; border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; color: var(--blue-600); text-align: left; padding: 8px; border-top: 1px solid var(--line); cursor: pointer; margin-top: 4px; }
.dn-kat-yeni-btn:hover { background: #eef4fb; }
.dn-kat-duzenle { padding: 4px; }
.dn-kat-duzenle .rv-renkler { margin-top: 6px; }
.dn-kat-yeni-form { padding: 4px 0; }
.dn-kat-onay { font-size: 11.5px; color: var(--text); background: #fdecec; border-radius: 8px; padding: 6px 8px; margin-top: 4px; }
.rv-izgara-kutu { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 10px; overflow-x: auto; }
.rv-izgara { display: grid; grid-template-columns: 46px repeat(7, minmax(0, 1fr)); }
.rv-izgara-bas { text-align: center; padding: 6px 2px 10px; border: 0; background: none; border-radius: 10px; cursor: pointer; margin: 0 2px; }
.rv-izgara-bas .gba { display: block; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.rv-izgara-bas .gbn { display: block; font-size: 17px; font-weight: 800; color: var(--navy-800); }
.rv-izgara-bas:hover { background: #f2f7fd; }
.rv-izgara-bas.bugun { background: var(--navy-800); }
.rv-izgara-bas.bugun .gba, .rv-izgara-bas.bugun .gbn { color: #fff; }
.rv-zaman { font-size: 10.5px; color: var(--muted); font-weight: 700; text-align: right; padding: 9px 8px 0 0; }
.rv-ayarlar summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy-800); }
.rv-ayarlar { margin-top: 4px; }

/* mobil sabit "Randevu Al" butonu (profil sayfası) */
.rv-mobil-btn { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 900; border: 0; border-radius: 999px; background: var(--blue-600); color: #fff; font: inherit; font-weight: 800; font-size: 15px; padding: 14px 16px; box-shadow: 0 10px 26px rgba(11, 92, 201, .35); cursor: pointer; align-items: center; justify-content: center; gap: 8px; }
.rv-mobil-btn:active { transform: translateY(1px); }
@media (max-width: 760px) {
  .rv-mobil-btn.gorunur { display: flex; }
}

/* ---------- Randevu talep modalı ---------- */
.rv-modal { position: fixed; inset: 0; background: rgba(4,9,18,.6); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.rv-modal-kart { background: #fff; border-radius: 14px; max-width: 480px; width: 100%; max-height: 92vh; overflow-y: auto; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.rv-modal-bas { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); position: relative; }
.rv-modal-ikon { width: 40px; height: 40px; border-radius: 10px; background: #e8f1fb; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.rv-modal-bas b { display: block; font-size: 16px; color: var(--navy-800); }
.rv-modal-bas span { font-size: 12.5px; color: var(--muted); }
.rv-modal-kapat { position: absolute; top: 14px; right: 14px; border: 0; background: none; font-size: 16px; color: var(--muted); cursor: pointer; }
.rv-modal-govde { padding: 16px 20px 20px; }
.rv-secim-kutu { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; background: #fbfcfe; }
.rv-secim-kutu b { font-size: 13.5px; color: var(--navy-800); }
.rv-secim-kutu ul { margin: 6px 0 0; padding-left: 18px; }
.rv-secim-kutu li { font-size: 13px; color: var(--text); }
.rv-tel { display: flex; gap: 6px; }
.rv-tel-on { flex: 0 0 auto; border: 1px solid var(--line); border-radius: var(--radius); background: #f6f9fd; padding: 10px 12px; font-weight: 700; font-size: 14px; color: var(--navy-800); }
.rv-tel .input { flex: 1; }
.rv-bilgi { background: #f0f7f4; border: 1px solid #d8ead9; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: var(--text); margin: 12px 0; }
.rv-riza { display: block; position: relative; padding-left: 22px; font-size: 11px; color: var(--text); margin: 10px 0 14px; }
.rv-riza input { position: absolute; left: 0; top: 1px; margin: 0; width: 14px; height: 14px; accent-color: var(--blue-600); }

/* uzmanlik alanlari: panel cipleri + profil kutusu cipleri */
.uz-chipler { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; min-height:30px; }
.uz-chip { display:inline-flex; align-items:center; gap:7px; background:var(--sky-soft); color:var(--blue-600); font-weight:700; font-size:13px; padding:6px 8px 6px 14px; border-radius:999px; }
.uz-chip button { border:0; background:rgba(21,60,121,.12); color:var(--blue-600); width:20px; height:20px; border-radius:50%; font-size:13px; line-height:1; cursor:pointer; }
.uz-chip button:hover { background:rgba(21,60,121,.24); }
.uz-giris-satir { display:flex; gap:8px; }
.uz-giris-satir .input { flex:1; }
.uz-sik { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin-top:10px; }
.uz-oneri { border:1px solid var(--line); background:#fff; color:var(--muted); font-size:12px; padding:3px 10px; border-radius:999px; cursor:pointer; }
.uz-oneri:hover { color:var(--blue-600); border-color:var(--blue-600); }
.p-uz-chip { display:inline-block; border:1px solid var(--line); background:#fff; color:var(--text); font-weight:600; font-size:13.5px; padding:8px 16px; border-radius:999px; }

/* eğitim & deneyim: noktalı liste (başlık + dönem / alt satır) */
.pz-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.pz-liste li { position: relative; padding-left: 22px; }
.pz-liste li::before {
  content: ''; position: absolute; left: 2px; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600);
}
.pz-baslik { font-weight: 700; color: var(--navy-800); font-size: 15px; }
.pz-donem { color: var(--muted); font-size: 13px; font-weight: 600; margin-left: 8px; white-space: nowrap; }
.pz-alt { color: var(--text); font-size: 14px; margin-top: 3px; }

/* mobilde "Randevu Al" karti alt sayfa (sheet) olarak acilir */
.rv-bolum-kapat { display: none; }
#rvMobilArka { display: none; }
@media (max-width: 760px) {
  body.rv-mobil-acik { overflow: hidden; }
  body.rv-mobil-acik #rvMobilArka {
    display: block; position: fixed; inset: 0; z-index: 890;
    background: rgba(4, 9, 18, .55);
  }
  body.rv-mobil-acik #rvBolum {
    display: block !important;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 895;
    margin: 0; border-radius: 18px 18px 0 0;
    max-height: 84dvh; overflow-y: auto;
    box-shadow: 0 -12px 40px rgba(4, 9, 18, .3);
  }
  body.rv-mobil-acik .rv-bolum-kapat {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
    border-radius: 50%; border: 1px solid var(--line); background: #fff;
    font-size: 14px; cursor: pointer;
  }
  body.rv-mobil-acik .rv-mobil-btn { display: none; }
}

/* randevu talebi: gorusme sekli secimi */
.rv-gorusme { margin: 12px 0; }
.rv-gorusme b { font-size: 13.5px; }
.rv-gorusme-secenekler { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.rv-gor-sec input { display: none; }
.rv-gor-sec span {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  padding: 8px 14px; font-size: 13.5px; font-weight: 700; color: var(--navy-800);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.rv-gor-sec:hover span { border-color: var(--blue-500); }
.rv-gor-sec input:checked + span { border-color: var(--blue-600); background: #eef5ff; color: var(--blue-600); }

/* ---------------- yonetim paneli: sol menu yerlesimi ---------------- */
.admin-yerlesim { display: flex; gap: 20px; align-items: flex-start; }
.admin-side {
  flex: 0 0 215px; position: sticky; top: 84px;
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 10px; box-shadow: 0 4px 14px rgba(12, 36, 68, .05);
}
.admin-side-btn {
  display: block; width: 100%; text-align: left; padding: 11px 14px;
  border: 0; border-radius: 11px; background: none; font: inherit;
  font-weight: 700; font-size: 14px; color: var(--navy-800); cursor: pointer;
  transition: background .15s, color .15s;
}
.admin-side-btn:hover { background: #f0f6fd; }
.admin-side-btn.active { background: var(--blue-600); color: #fff; }
.admin-icerik { flex: 1; min-width: 0; padding-bottom: 70px; }
@media (max-width: 900px) {
  .admin-yerlesim { flex-direction: column; }
  .admin-side { position: static; flex: none; width: 100%; }
}

/* ---------------- blog: word benzeri metin editoru ---------------- */
.rte-bar {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0;
  background: #f7fafd; padding: 8px 10px;
  position: sticky; top: 84px; z-index: 5;
}
.rte-sec { border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; padding: 6px 8px; max-width: 160px; }
.rte-btn {
  border: 1px solid transparent; background: none; border-radius: 8px;
  font: inherit; font-size: 14px; font-weight: 700; min-width: 32px; height: 32px;
  cursor: pointer; color: var(--navy-800); padding: 0 8px;
}
.rte-btn:hover { background: #e8f1fb; border-color: var(--line); }
.rte-ayrac { width: 1px; height: 22px; background: var(--line); }
.rte-renk, .rte-vurgu {
  position: relative; font-weight: 800; font-size: 15px; cursor: pointer;
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid transparent; color: var(--navy-800);
}
.rte-renk:hover, .rte-vurgu:hover { background: #e8f1fb; border-color: var(--line); }
.rte-renk { text-decoration: underline; text-decoration-color: #d13438; text-decoration-thickness: 3px; }
.rte-vurgu { text-decoration: underline; text-decoration-color: #ffe58a; text-decoration-thickness: 5px; }
.rte-renk input, .rte-vurgu input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rte-alan {
  min-height: 55vh; border: 1px solid var(--line); border-radius: 0 0 12px 12px;
  background: #fff; padding: 26px 30px; font-size: 15.5px; line-height: 1.7;
  outline: none; overflow-wrap: break-word; color: var(--text);
}
.rte-alan:focus { border-color: var(--blue-500); }
.rte-alan:empty::before { content: attr(data-placeholder); color: #9aa8b8; }
.rte-alan h2 { font-size: 22px; margin: 18px 0 10px; color: var(--navy-800); }
.rte-alan h3 { font-size: 18px; margin: 16px 0 8px; color: var(--navy-800); }
.rte-alan h4 { font-size: 16px; margin: 14px 0 8px; color: var(--navy-800); }
.rte-alan p { margin: 0 0 12px; }
.rte-alan ul, .rte-alan ol { margin: 0 0 12px; padding-left: 24px; }
.rte-alan a { color: var(--blue-600); }
@media (max-width: 760px) {
  .rte-alan { min-height: 45vh; padding: 16px; }
  .rte-bar { top: 70px; }
}

/* rte: bolme buton — uygulama kismi + ok + renk paleti */
.rte-split { position: relative; display: inline-flex; align-items: stretch; border: 1px solid transparent; border-radius: 8px; }
.rte-split:hover { border-color: var(--line); background: #e8f1fb; }
.rte-renk-uygula, .rte-vurgu-uygula {
  border: 0; background: none; font-weight: 800; font-size: 15px;
  color: var(--navy-800); cursor: pointer; padding: 0 3px 0 8px;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 2px;
}
.rte-renk-uygula { text-decoration-color: #d13438; }
.rte-vurgu-uygula { text-decoration-thickness: 6px; text-underline-offset: 1px; }
.rte-ok { border: 0; background: none; font-size: 9px; cursor: pointer; padding: 0 4px 0 2px; color: var(--muted); }
.rte-palet {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 40;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(12, 36, 68, .18); padding: 10px;
  flex-wrap: wrap; gap: 6px; align-items: center; width: 176px;
}
.rte-palet.acik { display: flex; }
.rte-palet-k { width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(12, 36, 68, .22); cursor: pointer; }
.rte-palet-k:hover { transform: scale(1.12); }
.rte-palet-yok { background: #fff; color: #d13438; font-size: 11px; border-style: dashed; }
.rte-palet-ozel {
  font-size: 11.5px; font-weight: 700; color: var(--navy-800); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; position: relative;
  border: 1px dashed var(--line); border-radius: 6px; padding: 3px 6px;
}
.rte-palet-ozel input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* faaliyet editoru foto onizlemeleri (#aPrev kutusu icin ayni kucuk boyut) */
#aPrev .ap { position: relative; width: 74px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
#aPrev .ap img { width: 100%; height: 100%; object-fit: cover; }
#aPrev .ap button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; cursor: pointer; line-height: 1; }

/* faaliyet gorselleri: farkli oranlardaki fotolar kirpilmadan tam gorunsun */
.det-main { aspect-ratio: auto; }
.det-main img { height: auto; max-height: 75vh; object-fit: contain; }

/* faaliyet gorselleri: mavi zemin yok — foto kendi boyutunda ortalanir, surukleme ile gecilir */
.det-main { aspect-ratio: auto; background: transparent; border: 0; text-align: center; touch-action: pan-y; }
.det-main img { width: auto; height: auto; max-width: 100%; max-height: 75vh; object-fit: contain; margin: 0 auto; }

/* faaliyet foto konumlandirma ekranı */
#aCropSahne {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; position: relative;
  background: #0c2444; border-radius: 12px; cursor: grab; touch-action: none;
}
#aCropSahne:active { cursor: grabbing; }
#aCropImg { position: absolute; left: 0; top: 0; max-width: none !important; user-select: none; -webkit-user-drag: none; }

/* faaliyet kucuk foto seridi: kaydirma cubugu yerine oklar */
.det-serit-kapsa { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.det-serit-ok { flex: 0 0 auto; width: 28px; height: 52px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 17px; color: var(--navy-800); }
.det-serit-ok:hover { background: #f0f6fd; }
.det-strip { flex: 1 1 auto; min-width: 0; scrollbar-width: none; padding-bottom: 0; }
.det-strip::-webkit-scrollbar { display: none; }

/* uzun kesintisiz yazilar kartlari tasmaasin */
.msg-card, .msg-card div, .msg-card b, .msg-card p { overflow-wrap: anywhere; }
/* yonetim listeleri: duzenle/sil butonlari kucuk ve kibar */
#tab-blog .row-actions .btn-sm, #tab-activities .row-actions .btn-sm {
  padding: 4px 9px; font-size: 13px; min-width: 0;
}

/* faaliyet kartlari: uzun yazilar kart disina tasmaasin */
.act-card { overflow: hidden; }
.act-card p, .act-card h3 { overflow-wrap: anywhere; }

/* faaliyet ana gorsel: cok ince kalmasin */
.det-main img { min-height: 320px; object-fit: cover; }
