:root {
  --bg0: #07060f;
  --bg1: #0e0c18;
  --ink: #f3eef8;
  --ink-soft: #9d95b3;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --teal: #a855f7;
  --teal-deep: #7c3aed;
  --moon: #3b3db8;
  --moon-mid: #7a2ea8;
  --moon-hot: #c026d3;
  --amber: #e879f9;
  --amber-deep: #c026d3;
  --ok: #34d399;
  --err: #ff6b5a;
  --warn: #f0abfc;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --radius: 22px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --glass: blur(22px) saturate(1.35);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg0);
  overflow-x: hidden;
  color-scheme: dark;
}

::selection {
  background: rgba(168, 85, 247, 0.45);
  color: #fff;
}
::-moz-selection {
  background: rgba(168, 85, 247, 0.45);
  color: #fff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(59, 61, 184, 0.28), transparent 55%),
    radial-gradient(700px 420px at 95% 8%, rgba(192, 38, 211, 0.18), transparent 50%),
    radial-gradient(800px 600px at 70% 100%, rgba(122, 46, 168, 0.16), transparent 55%),
    linear-gradient(165deg, #05040c 0%, #0a0914 45%, #10081a 100%);
}

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
}

a { color: #d8b4fe; text-decoration: none; }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(168, 85, 247, 0.12);
  padding: 0.12em 0.4em;
  border-radius: 8px;
  color: #e9d5ff;
}

/* Auth */
.auth-body { min-height: 100vh; position: relative; }
.auth-stage {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  position: relative;
  z-index: 1;
}
.auth-visual {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.auth-copy {
  max-width: 34rem;
  position: relative;
  z-index: 2;
}
.auth-eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: #e9d5ff;
  font-weight: 700;
  margin: 0 0 1.1rem;
}
.auth-logo-hero {
  margin: 0 0 1.4rem;
}
.auth-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(7.5rem, 18vw, 11rem);
  height: clamp(7.5rem, 18vw, 11rem);
}
.auth-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 36px rgba(168, 85, 247, 0.45));
  animation: logo-float 5.5s ease-in-out infinite;
}
.auth-logo-ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, transparent, rgba(168,85,247,0.55), transparent 40%, rgba(59,61,184,0.45), transparent 70%);
  filter: blur(1px);
  opacity: 0.75;
  animation: logo-spin 8s linear infinite;
  z-index: 1;
}
.auth-logo-spark {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  background: #fff;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  z-index: 3;
  animation: sparkle 2.4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(255,255,255,0.85);
}
.auth-logo-spark.s1 { top: 8%; right: 14%; animation-delay: 0s; }
.auth-logo-spark.s2 { bottom: 18%; left: 10%; width: 0.4rem; height: 0.4rem; animation-delay: 0.7s; }
.auth-logo-spark.s3 { top: 42%; right: 2%; width: 0.35rem; height: 0.35rem; animation-delay: 1.3s; }
.auth-visual h1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  margin: 0 0 1.1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 10%, #c4b5fd 40%, #e879f9 70%, #7c3aed 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shimmer 6s ease-in-out infinite;
}
.auth-visual h1 em {
  font-style: normal;
  font-weight: 600;
  opacity: 0.92;
}
.auth-visual p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(243, 238, 248, 0.78);
  max-width: 28rem;
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.auth-orb.o1 {
  width: 280px; height: 280px; right: 8%; top: 12%;
  background: radial-gradient(circle, rgba(168,85,247,0.42), transparent 70%);
  animation: floaty 8s ease-in-out infinite;
}
.auth-orb.o2 {
  width: 180px; height: 180px; left: 18%; top: 28%;
  background: radial-gradient(circle, rgba(59,61,184,0.4), transparent 70%);
  animation: floaty 10s ease-in-out infinite reverse;
}
.auth-orb.o3 {
  width: 140px; height: 140px; left: 42%; bottom: 18%;
  background: radial-gradient(circle, rgba(192,38,211,0.32), transparent 70%);
  animation: floaty 9s ease-in-out infinite;
}
.auth-form-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.35rem;
}
.auth-form-brand img {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(168, 85, 247, 0.45));
  animation: logo-float 5s ease-in-out infinite;
}
.auth-form-brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.auth-form-brand span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
}
.auth-form {
  width: min(100%, 400px);
  display: grid;
  gap: 0.95rem;
  padding: 1.6rem;
  border-radius: 28px;
  background: rgba(10, 16, 22, 0.55);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  transform-style: preserve-3d;
}
.auth-form h2 {
  font-family: var(--display);
  margin: 0;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
}
.muted { color: var(--ink-soft); margin: 0; }
.hint { font-size: 0.82rem; color: var(--ink-soft); margin: 0.35rem 0 0; }

.auth-form label,
.stack-form label,
.filter-bar label,
.paid-field {
  display: grid;
  gap: 0.4rem;
}
.auth-form label span,
.stack-form label span,
.filter-bar label span,
.paid-field span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(14, 12, 24, 0.92);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, background 0.25s;
  color-scheme: dark;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14), 0 10px 30px rgba(122, 46, 168, 0.12);
  background: rgba(20, 16, 36, 0.98);
  color: #fff;
}

/* Açılır liste / çoklu seçim — tarayıcı varsayılan beyaz arka planı kapat */
select option,
select optgroup {
  background-color: #12101c;
  color: #f3eef8;
}
select option:checked,
select option:hover,
select option:focus {
  background-color: #7c3aed;
  color: #fff;
}
select[multiple],
select[size] {
  background: rgba(14, 12, 24, 0.96);
  color: var(--ink);
}
select[multiple] option:checked {
  background: linear-gradient(#7c3aed, #7c3aed);
  color: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #f3eef8;
  -webkit-box-shadow: 0 0 0 1000px #12101c inset;
  transition: background-color 9999s ease-in-out 0s;
  caret-color: #fff;
}

/* Shell */
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  position: relative;
  z-index: 1;
}
.sidebar {
  margin: 0.85rem 0 0.85rem 0.85rem;
  border-radius: 28px;
  background: rgba(8, 12, 16, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  color: var(--ink);
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}
.sidebar-top { display: contents; }
.nav-toggle { display: none; }
.nav-logout-mobile { display: none; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: #fff; }
.brand-logo-wrap {
  position: relative;
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(168, 85, 247, 0.45));
  animation: logo-float 5s ease-in-out infinite;
}
.brand-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.45), transparent 70%);
  animation: pulse-glow 3.2s ease-in-out infinite;
  z-index: 1;
}
.brand-text {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 15%, #c4b5fd 50%, #e879f9 100%);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shimmer 7s ease-in-out infinite;
}
.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(233, 213, 255, 0.72);
}
.nav { display: grid; gap: 0.3rem; }
.nav a {
  color: rgba(238, 245, 242, 0.7);
  text-decoration: none;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  font-weight: 600;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(168,85,247,0.2), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.nav a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
}
.nav a.is-active {
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--teal);
}
.nav a.is-active::before { opacity: 1; }
.sidebar-foot { margin-top: auto; display: grid; gap: 0.75rem; }
.user-chip {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.15rem;
}
.user-chip strong { font-size: 0.95rem; }
.user-chip span { font-size: 0.78rem; color: var(--ink-soft); }

.main {
  padding: clamp(1.2rem, 2.4vw, 2rem);
  max-width: 1180px;
}
/* Ana içerikte GSAP / tilt / hover motion kapalı */
.main,
.main * {
  animation: none !important;
}
.main .stat:hover,
.main .panel:hover,
.main .balance-strip > div:hover {
  transform: none !important;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 700;
}
.page-head h1, .panel-head h2, .meet-info h2, .empty-panel h2, .auth-form h2 {
  font-family: var(--display);
  letter-spacing: -0.03em;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.lede { margin: 0.45rem 0 0; color: var(--ink-soft); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  perspective: 1200px;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
}
.stat:hover {
  transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 25px 50px rgba(168, 85, 247, 0.12);
}
.stat span { color: var(--ink-soft); font-size: 0.84rem; font-weight: 600; }
.stat strong {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.35s;
}
.panel:hover { border-color: rgba(255,255,255,0.16); }
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}
.panel-head h2 { margin: 0; font-size: 1.2rem; }
.split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1rem;
  align-items: start;
}
.grow { min-width: 0; }
.stack-form { display: grid; gap: 0.8rem; }
.stack-form.compact { gap: 0.45rem; margin-top: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
}

.table-wrap { overflow: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
th, td {
  text-align: left;
  padding: 0.78rem 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
}
th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.empty { text-align: center; color: var(--ink-soft); padding: 1.6rem !important; }
.row-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; justify-content: flex-end; }
.inline { display: inline; }
.cap { text-transform: capitalize; }
.small { font-size: 0.8rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.badge-ok { background: rgba(168, 85, 247, 0.12); color: var(--ok); border-color: rgba(168,85,247,0.2); }
.badge-off { background: rgba(255, 107, 90, 0.12); color: var(--err); border-color: rgba(255,107,90,0.2); }
.badge-pending { background: rgba(232, 121, 249, 0.14); color: var(--warn); }
.badge-waiting { background: rgba(168, 85, 247, 0.12); color: var(--teal); }
.badge-approved { background: rgba(168, 85, 247, 0.16); color: var(--ok); }
.badge-rejected { background: rgba(255, 107, 90, 0.14); color: var(--err); }
.badge-reversed { background: rgba(255, 107, 90, 0.14); color: var(--err); }

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0.72rem 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.25s, filter 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 40%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-120%) rotate(18deg);
  transition: transform 0.55s ease;
}
.btn:hover::after { transform: translateX(320%) rotate(18deg); }
.btn:hover { text-decoration: none; transform: translateY(-2px) scale(1.01); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.15rem; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { padding: 0.42rem 0.72rem; font-size: 0.84rem; border-radius: 10px; }
.btn-primary {
  background: linear-gradient(135deg, #c084fc, #7c3aed 50%, #3b3db8);
  color: #fff;
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.38);
}
.btn-secondary {
  background: linear-gradient(135deg, #1a2430, #121a22);
  color: #fff;
  border-color: var(--line);
}
.btn-danger {
  background: linear-gradient(135deg, #ff6b5a, #c83b2d);
  color: #fff;
}
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

.flash {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  margin-bottom: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  animation: rise 0.45s ease both;
}
.flash-success {
  background: rgba(52, 211, 153, 0.12);
  color: var(--ok);
  border-color: rgba(52, 211, 153, 0.25);
}
.flash-error, .flash-err {
  background: rgba(255, 107, 90, 0.12);
  color: var(--err);
  border-color: rgba(255,107,90,0.25);
}

.reset-pass summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  list-style: none;
}
.reset-pass summary::-webkit-details-marker { display: none; }

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  flex-direction: row !important;
}
.check-row input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.chip, .pay-chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink-soft);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover, .pay-chip:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.chip.is-active, .pay-chip.is-active {
  background: rgba(168, 85, 247, 0.16);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
}

.person-cell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.person-cell img,
.thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #152018;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.thumb { width: 72px; height: 72px; margin-top: 0.2rem; }

.review-form {
  display: grid;
  gap: 0.45rem;
  min-width: 220px;
}
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
  resize: vertical;
  background: rgba(255,255,255,0.04);
}
.msg-cell { max-width: 180px; font-size: 0.88rem; color: var(--ink-soft); }

.empty-panel {
  text-align: center;
  padding: 2.6rem 1.5rem;
}
.empty-panel h2 { margin: 0 0 0.5rem; }

.balance-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  perspective: 1000px;
}
.balance-strip > div {
  background: linear-gradient(145deg, rgba(18, 40, 34, 0.9), rgba(10, 18, 24, 0.95));
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: #f4efe7;
  border-radius: 20px;
  padding: 1.1rem 1.15rem;
  display: grid;
  gap: 0.3rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
}
.balance-strip > div:hover {
  transform: none;
}
.balance-strip span {
  font-size: 0.8rem;
  opacity: 0.75;
  font-weight: 600;
}
.balance-strip strong {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.balance-strip .fee-cell {
  border-color: rgba(232, 121, 249, 0.28);
  background: linear-gradient(145deg, rgba(40, 28, 12, 0.92), rgba(10, 18, 24, 0.95));
}
.balance-strip .fee-cell strong {
  color: var(--warn);
}
.fee-note {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(244, 239, 231, 0.72);
  margin-top: 0.15rem;
}
.form-sep {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0.35rem 0 0.6rem;
}

.meet-hero {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 1.15rem;
  position: relative;
}
.meet-hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, rgba(168,85,247,0.35), transparent 40%, rgba(232,121,249,0.25));
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.meet-photo-wrap {
  min-height: 340px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.meet-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 340px;
}
.meet-info {
  padding: clamp(1.3rem, 3vw, 2.1rem);
  display: grid;
  align-content: start;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
  background: rgba(6, 10, 14, 0.72);
  backdrop-filter: blur(10px);
}
.meet-info h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0;
}
.earn-box {
  margin-top: 0.35rem;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(168,85,247,0.16), rgba(232,121,249,0.1));
  border: 1px solid rgba(168,85,247,0.25);
  color: #fff;
  display: grid;
  gap: 0.25rem;
}
.earn-box span {
  font-size: 0.84rem;
  opacity: 0.75;
  font-weight: 600;
}
.earn-box strong {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--teal);
}
.earn-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.earn-stack .earn-box {
  margin-top: 0;
}
.earn-stack .earn-box strong {
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
}
.schedule-box {
  margin: 0.15rem 0;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(255,255,255,0.03));
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: grid;
  gap: 0.2rem;
}
.schedule-box span {
  font-size: 0.78rem;
  opacity: 0.8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.schedule-box strong {
  font-family: var(--display);
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.withdraw-form { margin-top: 0.35rem; }
.withdraw-panel .hint { margin: -0.35rem 0 0.2rem; }
.iban-code { font-size: 0.82rem; white-space: nowrap; }
.iban-display {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(14, 12, 24, 0.72);
}
.iban-display-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.iban-display-value {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  word-break: break-all;
  white-space: normal;
}
.iban-display .hint { margin: 0.15rem 0 0; }

.status-banner {
  border-radius: 16px;
  padding: 0.95rem 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  border: 1px solid transparent;
}
.status-pending {
  background: rgba(232, 121, 249, 0.12);
  color: var(--warn);
  border-color: rgba(232,121,249,0.25);
}
.status-waiting {
  background: rgba(168, 85, 247, 0.1);
  color: var(--teal);
  border-color: rgba(168,85,247,0.22);
}
.status-rejected {
  background: rgba(255, 107, 90, 0.12);
  color: var(--err);
  border-color: rgba(255,107,90,0.22);
}
.admin-note {
  margin-top: 0.45rem;
  font-weight: 500;
  opacity: 0.95;
}

.alert-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-radius: 22px;
  padding: 1.25rem 1.25rem 1.3rem;
  margin: 0.35rem 0 1rem;
  border: 1px solid rgba(255, 107, 90, 0.45);
  background:
    linear-gradient(145deg, rgba(72, 16, 22, 0.98), rgba(22, 10, 14, 0.99));
  box-shadow:
    0 22px 50px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,90,70,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation:
    alertIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) both,
    alertShake 0.7s ease-out 0.15s both;
}
.alert-problem { color: #ffe4e0; }
.alert-shine {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: alertShine 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.alert-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,90,70,0.42), transparent 70%);
  animation: alertPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}
.alert-icon {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}
.alert-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 90, 0.65);
  animation: alertRing 1.6s ease-out infinite;
}
.alert-ring-2 {
  animation-delay: 0.5s;
  border-color: rgba(255, 176, 120, 0.4);
}
.alert-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: 1.35rem;
  color: #1a0808;
  background: linear-gradient(145deg, #ff9a7a, #ff3b3b);
  box-shadow: 0 0 0 0 rgba(255, 90, 70, 0.55);
  animation: alertBeat 1.4s ease-in-out infinite;
  z-index: 1;
}
.alert-body { position: relative; z-index: 1; min-width: 0; flex: 1; }
.alert-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8f7a;
}
.alert-title {
  margin: 0 0 0.45rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #ffd0c6;
}
.alert-text {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.5;
  color: #fff;
  animation: alertText 0.75s ease 0.2s both;
}
.alert-sub {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: rgba(255,228,224,0.7);
}
@keyframes alertIn {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes alertShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
@keyframes alertShine {
  0% { left: -45%; }
  60%, 100% { left: 120%; }
}
@keyframes alertPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}
@keyframes alertRing {
  0% { transform: scale(0.7); opacity: 0.95; }
  100% { transform: scale(1.65); opacity: 0; }
}
@keyframes alertBeat {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,90,70,0.5); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(255,90,70,0); }
}
@keyframes alertText {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .alert-card,
  .alert-shine,
  .alert-glow,
  .alert-ring,
  .alert-mark,
  .alert-text {
    animation: none !important;
  }
}

/* 3D tilt helper */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(12px, -18px, 0) scale(1.05); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
}
@keyframes logo-spin {
  to { transform: rotate(360deg); }
}
@keyframes sparkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(20deg); }
}
@keyframes brand-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  #fx-canvas { display: none; }
}

/* ========== MOBILE ========== */
@media (max-width: 980px) {
  .shell {
    grid-template-columns: 1fr;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sidebar {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.65rem 0.85rem;
    gap: 0;
    background: rgba(6, 10, 14, 0.92);
  }

  .sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.05);
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .sidebar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .sidebar.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .sidebar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
    padding: 0.75rem 0 0.35rem;
  }
  .sidebar.is-open .nav { display: flex; }
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
  }
  .nav-logout-mobile { display: flex !important; color: #ff8f84 !important; }

  .sidebar-foot { display: none; }

  .main {
    padding: 1rem 0.9rem calc(1.25rem + env(safe-area-inset-bottom));
    max-width: none;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .page-head h1 { font-size: 1.65rem; word-break: break-word; }
  .page-head .btn { width: 100%; min-height: 48px; }

  .stat-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .stat { padding: 0.9rem; }
  .stat strong { font-size: 1.25rem; }

  .split { grid-template-columns: 1fr; gap: 0.85rem; }
  .form-row { grid-template-columns: 1fr; }

  .balance-strip {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .balance-strip > div { padding: 0.95rem 1rem; }
  .balance-strip strong { font-size: 1.35rem; }

  .meet-hero { grid-template-columns: 1fr; border-radius: 20px; }
  .meet-photo-wrap, .meet-photo { min-height: 200px; max-height: 240px; }
  .meet-info { padding: 1.1rem 1rem 1.25rem; }
  .meet-info h2 { font-size: 1.55rem; }
  .earn-box strong { font-size: 1.55rem; }

  .panel { padding: 0.95rem; border-radius: 18px; }
  .btn, .btn-lg, .btn-sm {
    min-height: 44px;
    touch-action: manipulation;
  }
  .btn-lg { min-height: 52px; width: 100%; }

  input, select, textarea {
    font-size: 16px; /* iOS zoom engeli */
    min-height: 48px;
  }
  textarea { min-height: 88px; }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    margin-right: -0.9rem;
    padding-right: 0.9rem;
  }
  .chip {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .table-wrap {
    margin: 0 -0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .auth-stage { grid-template-columns: 1fr; }
  .auth-visual {
    min-height: auto;
    padding: 1.4rem 1.2rem 0.5rem;
    align-items: flex-end;
  }
  .auth-visual h1 { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .auth-visual p { font-size: 0.98rem; }
  .auth-orb { display: none; }
  .auth-panel {
    padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
    align-items: start;
  }
  .auth-form {
    width: 100%;
    padding: 1.2rem;
    border-radius: 22px;
  }

  .row-actions {
    justify-content: stretch;
  }
  .row-actions .btn,
  .review-form .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
  .review-form { min-width: 0; width: 100%; }

  #fx-canvas { opacity: 0.35; }
}

@media (max-width: 720px) {
  .stat-grid { grid-template-columns: 1fr; }

  /* Kart tipi tablo (mobil) */
  .table-cards thead { display: none; }
  .table-cards tbody tr {
    display: grid;
    gap: 0.45rem;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .table-cards tbody tr:last-child { border-bottom: 0; }
  .table-cards td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    border: 0;
    padding: 0.15rem 0;
    text-align: right;
  }
  .table-cards td::before {
    content: attr(data-label);
    color: var(--ink-soft);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-align: left;
    flex: 0 0 38%;
  }
  .table-cards .iban-code {
    white-space: normal;
    word-break: break-all;
    text-align: right;
  }
  .table-cards td.empty,
  .table-cards td.empty::before {
    display: block;
    content: none;
    text-align: center;
    flex: none;
  }
  .table-cards td.empty { width: 100%; }

  .person-cell {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-note, .iban-code {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .brand-name { font-size: 1.02rem; }
  .page-head h1 { font-size: 1.45rem; }
  .meet-photo-wrap, .meet-photo { min-height: 180px; max-height: 200px; }
}

/* Desktop: hamburger gizli */
@media (min-width: 981px) {
  .nav-toggle { display: none; }
  .nav-logout-mobile { display: none !important; }
  .sidebar-top { display: contents; }
}

