/**
 * Metrekarem — app.css (NEOMORFİK)
 * -----------------------------------------------------------
 * Tüm kullanıcı sayfalarının yüklediği ortak stil dosyası.
 * Markup değişmedi — sadece görsel dil yenilendi.
 *
 * Token'lar:
 *   --purple/--purple-2/--pink-sig → marka gradient
 *   --neo-out / --neo-in → neomorfik gölgeler
 *   --grad-signal → primary gradient
 *
 * Class isimleri korundu:
 *   .sidebar, .sb-*, .topbar, .tb-*, .main, .card,
 *   .badge, .alert, .btn, .field, .mtt
 * -----------------------------------------------------------
 */

/* ================================================================
   1) DESIGN TOKENS
   ================================================================ */
:root {
  /* Marka gradient */
  --purple:    #7c5cff;
  --purple-2:  #b04dff;
  --pink-sig:  #e84aa3;
  --grad-signal:      linear-gradient(135deg, #7c5cff 0%, #b04dff 50%, #e84aa3 100%);
  --grad-signal-soft: linear-gradient(135deg, rgba(124,92,255,.12) 0%, rgba(232,74,163,.12) 100%);

  /* Logo paleti — nokta/aksanlar için */
  --b-blue:   #3b82f6;  --b-blue-d:  #1d4ed8;
  --b-teal:   #2dd4bf;  --b-teal-d:  #0d9488;
  --b-gold:   #fbbf24;  --b-gold-d:  #b45309;
  --b-pink:   #e91e63;  --b-pink-d:  #be185d;
  --b-green:  #10b981;

  /* Legacy uyumluluk (eski sayfaların --blue, --teal vs. çağrıları için) */
  --blue:    var(--purple);    --blue-d: var(--purple-2);  --blue-l: rgba(124,92,255,.12);
  --teal:    var(--b-teal);                                --teal-l: rgba(45,212,191,.12);
  --gold:    var(--b-gold);                                --gold-l: rgba(251,191,36,.16);
  --pink:    var(--pink-sig);                              --pink-l: rgba(232,74,163,.14);

  /* Sidebar koyu zemin */
  --dark:    #1a1d3a;
  --dark-2:  #252852;

  /* Durum renkleri */
  --success:   #10b981;  --success-l: rgba(16,185,129,.14);
  --warning:   #f59e0b;  --warning-l: rgba(245,158,11,.14);
  --danger:    #ef4444;  --danger-l:  rgba(239,68,68,.14);
  --info:      var(--purple);  --info-l: rgba(124,92,255,.12);

  /* Zemin / yüzey */
  --bg:      #eef0f8;
  --bg-2:    #e6e9f3;
  --card:    #eef0f8;

  /* Tipografi */
  --txt:     #1a1d3a;
  --txt2:    #4a4e6e;
  --txt3:    #9499b2;
  --border:  rgba(156,149,199,.18);

  /* Layout ölçüleri */
  --sb-w:    230px;
  --sb-c:    72px;
  --tb-h:    68px;

  /* Radius */
  --r:       16px;
  --r-sm:    10px;
  --r-lg:    22px;

  /* Neomorfik gölgeler */
  --neo-out:    8px 8px 22px rgba(156,149,199,.22), -8px -8px 20px rgba(255,255,255,.95);
  --neo-out-md: 6px 6px 16px rgba(156,149,199,.20), -5px -5px 14px rgba(255,255,255,.92);
  --neo-out-sm: 4px 4px 10px rgba(156,149,199,.18), -3px -3px  8px rgba(255,255,255,.90);
  --neo-in:     inset 4px 4px 10px rgba(156,149,199,.22), inset -4px -4px 10px rgba(255,255,255,.95);
  --neo-in-sm:  inset 2px 2px  6px rgba(156,149,199,.20), inset -2px -2px  6px rgba(255,255,255,.90);

  /* Koyu sidebar gölgeler */
  --neo-dark-out: 4px 4px 12px rgba(8,10,26,.55), -3px -3px 10px rgba(60,66,110,.18);
  --neo-dark-in:  inset 3px 3px 8px rgba(8,10,26,.55), inset -3px -3px 8px rgba(60,66,110,.18);

  /* Glow shadows */
  --sh-glow:    0 10px 24px rgba(124,92,255,.25), 0 20px 40px rgba(232,74,163,.20);
  --sh-glow-sm: 0 4px 12px rgba(124,92,255,.28);

  /* Easing */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Eski shadow değişkenleri — geriye dönük */
  --sh:    var(--neo-out-sm);
  --sh-md: var(--neo-out-md);
  --sh-lg: var(--neo-out);
}

/* ================================================================
   2) RESET + BODY
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.45;
  font-size: 14px;
  position: relative;
}

/* Ambient mor + pembe halolar (body'nin arkasında) */
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .28;
}
body::before {
  top: -10%; left: 12%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
}
body::after {
  bottom: -15%; right: -8%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, var(--pink-sig) 0%, transparent 70%);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: none; }

/* Scrollbar */
::-webkit-scrollbar       { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(156,149,199,.4);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ================================================================
   3) ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: .7; }
}

/* ================================================================
   4) SIDEBAR (koyu neomorfik)
   ================================================================ */
.sidebar {
  position: fixed; top: 14px; left: 14px; bottom: 14px;
  width: var(--sb-w);
  background: linear-gradient(165deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: 22px;
  display: flex; flex-direction: column;
  z-index: 100;
  transition: width .28s var(--ease-out), transform .28s var(--ease-out);
  overflow: hidden;
  box-shadow: var(--neo-out);
}
.sidebar.col { width: var(--sb-c); }

/* Ambient halolar — sidebar içinde */
.sidebar::before,
.sidebar::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .3;
  z-index: 0;
}
.sidebar::before {
  top: -40px; left: -40px; width: 200px; height: 200px;
  background: var(--purple);
}
.sidebar::after {
  bottom: -40px; right: -40px; width: 220px; height: 220px;
  background: var(--pink-sig);
}

/* Marka / logo */
.sb-brand {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 18px 16px;
  text-decoration: none;
  overflow: hidden; flex-shrink: 0;
}
.sb-logo {
  width: 38px; height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 1px 1px 2px rgba(255,255,255,.08), inset -1px -1px 2px rgba(0,0,0,.25);
}
.sb-name-wrap {
  overflow: hidden;
  white-space: nowrap;
  transition: opacity .22s, max-width .28s var(--ease-out);
  max-width: 160px;
}
.sidebar.col .sb-name-wrap { opacity: 0; max-width: 0; }

.sb-name {
  font-family: 'Syncopate', 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #f9a8d4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sb-sub {
  font-size: 9.5px;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  letter-spacing: .5px;
  margin-top: 3px;
}

/* Navigation */
.sb-nav {
  position: relative; z-index: 1;
  flex: 1;
  overflow-y: auto; overflow-x: hidden;
  padding: 12px 10px;
}
.sb-nav::-webkit-scrollbar { width: 0; }

.sb-sec { margin-bottom: 6px; }
.sb-lbl {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.32);
  padding: 12px 12px 8px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity .22s;
}
.sidebar.col .sb-lbl { opacity: 0; height: 8px; padding: 4px 12px; }

.sb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.65);
  font-size: 13px; font-weight: 600;
  transition: all .22s var(--ease-out);
  white-space: nowrap;
  margin-bottom: 2px;
  position: relative;
}
.sb-item:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
}
.sb-item.active {
  background: var(--grad-signal);
  color: #fff;
  box-shadow: var(--sh-glow-sm);
  font-weight: 700;
}
.sb-item.active:hover { transform: translateX(0); }

.sb-ico {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.sb-txt {
  overflow: hidden;
  transition: opacity .22s;
  letter-spacing: .01em;
}
.sidebar.col .sb-txt { opacity: 0; }

.sb-bdg {
  margin-left: auto;
  background: var(--pink-sig);
  color: #fff;
  font-size: 9.5px; font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  transition: opacity .22s;
  box-shadow: 0 2px 8px rgba(232,74,163,.5);
  min-width: 18px;
  text-align: center;
}
.sidebar.col .sb-bdg { opacity: 0; }

/* Footer — toggle */
.sb-foot {
  position: relative; z-index: 1;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sb-tog {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  font-size: 12px; font-weight: 600;
  transition: all .22s var(--ease-out);
  white-space: nowrap;
}
.sb-tog:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}
.sb-tog-ico {
  font-size: 16px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.sb-tog-txt {
  transition: opacity .22s;
}
.sidebar.col .sb-tog-txt { opacity: 0; }

/* ================================================================
   5) TOPBAR (açık neomorfik)
   ================================================================ */
.topbar {
  position: fixed;
  top: 14px;
  right: 14px;
  left: calc(var(--sb-w) + 28px);
  height: var(--tb-h);
  background: var(--bg);
  border-radius: 22px;
  display: flex; align-items: center;
  padding: 0 22px;
  z-index: 90;
  transition: left .28s var(--ease-out);
  gap: 14px;
  box-shadow: var(--neo-out-md);
}
.topbar.col { left: calc(var(--sb-c) + 28px); }

.tb-left {
  flex: 1;
  min-width: 0;
}
.tb-greet-s {
  font-size: 11px;
  color: var(--txt3);
  font-weight: 600;
  letter-spacing: .03em;
}
.tb-greet {
  font-size: 17px;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -.015em;
  margin-top: 1px;
}
.tb-greet em {
  font-style: normal;
  background: var(--grad-signal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tb-right {
  display: flex; align-items: center; gap: 10px;
}

.tb-btn {
  width: 42px; height: 42px;
  border-radius: 13px;
  border: none;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--txt2);
  font-size: 17px;
  position: relative;
  transition: all .22s var(--ease-out);
  text-decoration: none;
  box-shadow: var(--neo-out-sm);
}
.tb-btn:hover {
  color: var(--purple);
  transform: translateY(-1px);
  text-decoration: none;
}
.tb-btn:active {
  box-shadow: var(--neo-in-sm);
  transform: translateY(0);
}
.tb-btn .dot {
  position: absolute; top: 9px; right: 9px;
  width: 8px; height: 8px;
  background: var(--pink-sig);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(232,74,163,.6);
  animation: pulse 1.8s ease-in-out infinite;
}

.tb-div {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, transparent, rgba(156,149,199,.4), transparent);
  margin: 0 4px;
}

.tb-user {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  cursor: pointer;
  transition: all .22s var(--ease-out);
  text-decoration: none;
  background: var(--bg);
  box-shadow: var(--neo-out-sm);
}
.tb-user:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.tb-user:active { box-shadow: var(--neo-in-sm); }

.tb-av {
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--grad-signal);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  box-shadow: var(--sh-glow-sm);
  flex-shrink: 0;
}
.tb-uname {
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -.005em;
}
.tb-ukyc {
  font-size: 10.5px;
  color: var(--success);
  font-weight: 700;
  letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 1px;
}
.tb-ukyc.pending  { color: var(--warning); }
.tb-ukyc.rejected { color: var(--danger); }

/* ================================================================
   6) MAIN
   ================================================================ */
.main {
  margin-left: calc(var(--sb-w) + 28px);
  margin-top: calc(var(--tb-h) + 28px);
  padding: 14px 28px 28px;
  min-height: calc(100vh - var(--tb-h) - 28px);
  transition: margin-left .28s var(--ease-out);
  position: relative; z-index: 1;
}
.main.col { margin-left: calc(var(--sb-c) + 28px); }

/* ================================================================
   7) CARD (neomorfik)
   ================================================================ */
.card {
  background: var(--bg);
  border: none;
  border-radius: var(--r-lg);
  box-shadow: var(--neo-out);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: none;
  position: relative;
}
.card-head::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156,149,199,.28), transparent);
}
.card-title {
  font-size: 14px; font-weight: 700;
  color: var(--txt);
  display: inline-flex; align-items: center; gap: 9px;
  letter-spacing: -.01em;
}
.card-title i {
  font-size: 15px;
  background: var(--grad-signal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-link {
  font-size: 12px; font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all .22s var(--ease-out);
  border: none;
  background: none;
  cursor: pointer;
}
.card-link:hover {
  color: #fff;
  background: var(--grad-signal);
  box-shadow: var(--sh-glow-sm);
  text-decoration: none;
}

.card-body { padding: 18px 22px; }
.card-foot {
  padding: 14px 22px;
  border-top: none;
  position: relative;
}
.card-foot::before {
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156,149,199,.28), transparent);
}

/* ================================================================
   8) BADGE
   ================================================================ */
.badge {
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  line-height: 1.4;
  letter-spacing: .03em;
}
.badge-success { background: var(--success-l); color: #047857; }
.badge-warning { background: var(--warning-l); color: #b45309; }
.badge-danger  { background: var(--danger-l);  color: #b91c1c; }
.badge-info    { background: var(--info-l);    color: var(--purple); }
.badge-blue    { background: rgba(124,92,255,.14); color: var(--purple); }
.badge-teal    { background: var(--teal-l);    color: var(--b-teal-d); }
.badge-gold    { background: var(--gold-l);    color: var(--b-gold-d); }
.badge-pink    { background: var(--pink-l);    color: var(--b-pink-d); }

/* Legacy kısayollar (dashboard.html'de mevcut) */
.ba { background: linear-gradient(135deg, var(--b-blue), var(--b-blue-d)); color: #fff; }
.bp { background: linear-gradient(135deg, var(--b-teal), var(--b-teal-d)); color: #fff; }
.bl { background: linear-gradient(135deg, var(--b-gold), var(--b-gold-d)); color: #fff; }

/* ================================================================
   9) TOOLTIP
   ================================================================ */
.mtt {
  position: fixed;
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px; font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 999;
  white-space: nowrap;
  box-shadow: var(--sh-glow);
  line-height: 1.5;
}
.mtt.show { opacity: 1; }
.mtt b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 2px;
}
.mtt .mb {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 100px;
  margin-top: 3px;
  letter-spacing: .04em;
}
.mb-b { background: var(--b-blue); color: #fff; }
.mb-t { background: var(--b-teal); color: #fff; }
.mb-g { background: var(--b-gold); color: var(--dark); }

/* ================================================================
   10) ALERT
   ================================================================ */
.alert {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 16px;
  border-radius: var(--r);
  font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.55;
  border: none;
  background: var(--bg);
  box-shadow: var(--neo-out-sm);
  animation: slideDown .25s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.alert::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.alert i {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 16px;
}

.alert-success { color: #047857; }
.alert-success::before { background: var(--success); }
.alert-success i { color: var(--success); }

.alert-warning { color: #b45309; }
.alert-warning::before { background: var(--warning); }
.alert-warning i { color: var(--warning); }

.alert-danger,
.alert-error { color: #b91c1c; }
.alert-danger::before,
.alert-error::before { background: var(--danger); }
.alert-danger i,
.alert-error i { color: var(--danger); }

.alert-info { color: var(--purple-2); }
.alert-info::before { background: var(--grad-signal); }
.alert-info i { color: var(--purple); }

/* ================================================================
   11) BUTTON
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all .22s var(--ease-out);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: var(--grad-signal);
  color: #fff;
  box-shadow: var(--sh-glow-sm);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124,92,255,.4);
  text-decoration: none;
  color: #fff;
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

.btn-secondary {
  background: var(--bg);
  color: var(--txt);
  box-shadow: var(--neo-out-sm);
}
.btn-secondary:hover:not(:disabled) {
  color: var(--purple);
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-secondary:active:not(:disabled) { box-shadow: var(--neo-in-sm); }

.btn-ghost {
  background: transparent;
  color: var(--txt2);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--bg);
  box-shadow: var(--neo-in-sm);
  color: var(--txt);
  text-decoration: none;
}

.btn-danger {
  background: linear-gradient(135deg, #f87171, var(--danger));
  color: #fff;
  box-shadow: 0 4px 12px rgba(239,68,68,.35);
}
.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #34d399, var(--success));
  color: #fff;
  box-shadow: 0 4px 12px rgba(16,185,129,.35);
}
.btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-block { width: 100%; }
.btn-sm    { padding: 8px 14px; font-size: 12px; border-radius: 11px; }
.btn-lg    { padding: 16px 26px; font-size: 14px; border-radius: 16px; }

/* ================================================================
   12) FORM
   ================================================================ */
.field { margin-bottom: 18px; }

.form-label,
.field label {
  display: block;
  font-size: 12px; font-weight: 700;
  color: var(--txt2);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.form-input,
.field input:not([type=checkbox]):not([type=radio]),
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--txt);
  background: var(--bg);
  border: none;
  border-radius: 14px;
  box-shadow: var(--neo-in-sm);
  transition: box-shadow .22s var(--ease-out);
  outline: none;
}
.form-input::placeholder,
.field input::placeholder,
.field textarea::placeholder { color: var(--txt3); }

.form-input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow:
    inset 2px 2px 6px rgba(156,149,199,.20),
    inset -2px -2px 6px rgba(255,255,255,.90),
    0 0 0 3px rgba(124,92,255,.18);
}

.form-input:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.form-help,
.field .hint {
  font-size: 12px;
  color: var(--txt3);
  margin-top: 7px;
}

.form-error,
.field .error {
  font-size: 12px;
  color: var(--danger);
  font-weight: 600;
  margin-top: 7px;
  display: flex; align-items: center; gap: 5px;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  box-shadow:
    inset 2px 2px 6px rgba(156,149,199,.20),
    inset -2px -2px 6px rgba(255,255,255,.90),
    0 0 0 2px rgba(239,68,68,.3);
}

/* Checkbox / radio */
.form-check {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px;
  color: var(--txt);
  cursor: pointer;
  font-weight: 600;
}
.form-check input {
  width: 18px; height: 18px;
  accent-color: var(--purple);
  cursor: pointer;
}

/* ================================================================
   13) UTILITY
   ================================================================ */
.hidden    { display: none !important; }
.invisible { visibility: hidden; }

.flex            { display: flex; }
.flex-col        { flex-direction: column; }
.flex-1          { flex: 1; }
.items-center    { align-items: center; }
.items-start     { align-items: flex-start; }
.items-end       { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.gap-4  { gap: 4px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-xs   { font-size: 11px; }
.text-sm   { font-size: 12.5px; }
.text-base { font-size: 14px; }
.text-lg   { font-size: 16px; }
.text-xl   { font-size: 18px; }

.text-muted   { color: var(--txt3); }
.text-muted2  { color: var(--txt2); }
.text-blue    { color: var(--purple); }
.text-teal    { color: var(--b-teal-d); }
.text-gold    { color: var(--b-gold-d); }
.text-pink    { color: var(--pink-sig); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }

.text-grad {
  background: var(--grad-signal);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.mt-0  { margin-top: 0; }     .mt-4  { margin-top: 4px; }    .mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }  .mt-16 { margin-top: 16px; }   .mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }  .mb-4  { margin-bottom: 4px; } .mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px;} .mb-16 { margin-bottom: 16px;} .mb-24 { margin-bottom: 24px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Section label */
.sec-lbl, .section-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--txt3);
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-lbl::after, .section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(156,149,199,.3), transparent);
}

/* ================================================================
   14) RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .main { padding: 14px 18px 18px; }
}

@media (max-width: 768px) {
  .sidebar {
    top: 0; left: 0; bottom: 0;
    border-radius: 0;
    transform: translateX(-100%);
    transition: transform .28s var(--ease-out);
    width: var(--sb-w);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar.col  { width: var(--sb-w); }

  .topbar {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 0 16px;
  }
  .topbar.col { left: 10px; }

  .main {
    margin-left: 0;
    margin-top: calc(var(--tb-h) + 20px);
    padding: 12px 14px 18px;
  }
  .main.col { margin-left: 0; }

  /* Mobil menü tetikleyici */
  .tb-mobile-btn { display: flex !important; }

  /* Mobilde karşılama kısaltılır */
  .tb-greet-s { display: none; }
  .tb-greet   { font-size: 14px; }

  /* Mobilde kullanıcı isim/kyc gizlenir — sadece avatar */
  .tb-user > div:not(.tb-av) { display: none; }
  .tb-user > i               { display: none; }
  .tb-user                   { padding: 4px; }

  .tb-div { display: none; }
}

/* Mobil overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,29,58,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.sidebar-overlay.show { opacity: 1; pointer-events: auto; }

/* Default olarak mobil menü butonu gizli */
.tb-mobile-btn { display: none; }

/* ================================================================
   SON
   ================================================================ */
