/* public/assets/css/_base.css */
:root{
  --bg:#0b0d12;
  --panel:rgba(18,22,32,.88);
  --panel2:rgba(255,255,255,.04);
  --stroke:#2a3142;
  --text:#e8edf7;
  --muted:rgba(232,237,247,.72);
  --gold:#d7b16f;
  --gold2:#b88b3a;
  --red:#b94b3c;
  --green:#2c8a5a;
  --shadow:0 18px 55px rgba(0,0,0,.45);
  --radius:16px;
  --radius2:20px;
  --font:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  --font2:"Cinzel",serif;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(95,120,255,.12), transparent 55%),
    radial-gradient(900px 550px at 85% 10%, rgba(0,255,160,.09), transparent 55%),
    linear-gradient(180deg, #090b10 0%, #07080b 100%);
}

a{ color:inherit; text-decoration:none; }
.container{ max-width:1240px; margin:0 auto; padding:0 16px; }
.section{ padding:28px 0 44px; }

.topbar{
  position:sticky; top:0; z-index:20;
  background: linear-gradient(180deg, rgba(10,12,18,.92), rgba(10,12,18,.68));
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(215,177,111,.25);
}
.topbar__inner{
  display:flex; align-items:center; gap:18px;
  max-width:1240px; margin:0 auto; padding:10px 16px;
}
.brand{ display:flex; align-items:center; gap:10px; min-width:190px; }
.brand__mark{
  width:44px; height:44px; border-radius:12px;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, rgba(215,177,111,.36), rgba(185,75,60,.22)),
    rgba(255,255,255,.04);
  border:1px solid rgba(215,177,111,.45);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.brand__text{ display:flex; flex-direction:column; line-height:1; }
.brand__name{ font-family:var(--font2); letter-spacing:.18em; font-weight:700; font-size:14px; }
.brand__sub{ font-family:var(--font2); letter-spacing:.22em; font-weight:700; font-size:10px; color:rgba(232,237,247,.7); margin-top:2px; }

.nav{ display:flex; gap:8px; flex:1; justify-content:center; }
.nav__link{
  padding:10px 12px; border-radius:12px;
  color:rgba(232,237,247,.82);
  border:1px solid transparent;
}
.nav__link:hover{
  border-color:rgba(215,177,111,.35);
  background:rgba(255,255,255,.03);
}

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

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  border:1px solid rgba(215,177,111,.35);
  background:rgba(255,255,255,.03);
  color:rgba(232,237,247,.9);
  cursor:pointer;
}
.btn:hover{ background:rgba(255,255,255,.06); }
.btn--primary{
  background:linear-gradient(180deg, rgba(215,177,111,.44), rgba(184,139,58,.25));
  border-color:rgba(215,177,111,.55);
}
.btn--ghost{ background:rgba(255,255,255,.02); border-color:rgba(255,255,255,.12); }
.btn--cta{ padding:12px 18px; border-radius:16px; font-weight:700; letter-spacing:.02em; }
.btn--red{ background:linear-gradient(180deg, rgba(185,75,60,.75), rgba(185,75,60,.22)); border-color:rgba(185,75,60,.65); }
.btn--green{ background:linear-gradient(180deg, rgba(44,138,90,.75), rgba(44,138,90,.22)); border-color:rgba(44,138,90,.65); }
.btn--block{ width:100%; padding:12px 14px; }

.page{ min-height:calc(100vh - 120px); }
.muted{ color:var(--muted); }
.muted2{ color:rgba(232,237,247,.66); font-size:14px; margin-top:10px; }

.alert{
  border:1px solid rgba(185,75,60,.45);
  background:rgba(185,75,60,.10);
  padding:10px 12px; border-radius:14px;
  margin: 12px 0 16px;
}

.footer{
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(10,12,18,.55);
}
.footer__inner{
  max-width:1240px; margin:0 auto;
  padding:18px 16px;
  display:flex; gap:18px; align-items:flex-start; justify-content:space-between;
}
.footer__title{ font-family:var(--font2); letter-spacing:.12em; font-weight:700; }
.footer__muted{ color:rgba(232,237,247,.6); margin-top:6px; max-width:560px; }
.footer__right{ display:flex; gap:12px; flex-wrap:wrap; }
.footer__link{ color:rgba(232,237,247,.75); }
.footer__link:hover{ color:rgba(232,237,247,.95); }

.ph{
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  color:rgba(232,237,247,.55);
  background:rgba(255,255,255,.03);
  border:1px dashed rgba(255,255,255,.14);
  border-radius:14px;
}

@media (max-width: 980px){
  .nav{ display:none; }
  .brand{ min-width:auto; }
}


.pill{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:22px; height:22px; padding:0 8px;
  border-radius:999px;
  font-size:12px; font-weight:900;
  color:rgba(255,90,90,.98);
  background:rgba(185,75,60,.10);
  border:1px solid rgba(185,75,60,.65);
  margin-left:8px;
}


/* --- Notifications dropdown & badges --- */
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  margin-left:8px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  color:rgba(255,90,90,.98);
  background:rgba(185,75,60,.12);
  border:1px solid rgba(185,75,60,.42);
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}

.caret{
  display:inline-block;
  margin-left:8px;
  opacity:.7;
  transform: translateY(-1px);
}

.notifMenu{ position:relative; }
.notifBtn{ padding-right:14px; }

.notifDrop{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:360px;
  max-width:calc(100vw - 28px);
  background:var(--panel);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:10px;
  z-index:80;
  display:none;
}

.notifMenu.is-open .notifDrop{ display:block; }

.notifHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 8px 10px;
}
.notifHead__title{ font-weight:900; }
.notifHead__link{
  font-size:12px;
  color:rgba(232,237,247,.75);
  text-decoration:none;
}
.notifHead__link:hover{ color:rgba(232,237,247,.92); }

.notifEmpty{
  padding:12px 10px 14px;
  color:rgba(232,237,247,.68);
  font-size:13px;
}

.notifList{ display:flex; flex-direction:column; gap:6px; padding:0 4px 6px; }

.notifItem{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 10px;
  border-radius:14px;
  text-decoration:none;
  color:var(--text);
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
}
.notifItem:hover{
  border-color:rgba(215,177,111,.22);
  background:rgba(255,255,255,.045);
  transform: translateY(-1px);
}
.notifDot{
  width:8px;
  height:8px;
  border-radius:50%;
  margin-top:6px;
  flex:0 0 8px;
  background:rgba(255,90,90,.95);
  box-shadow:0 0 0 3px rgba(185,75,60,.18);
}
.notifItem.is-read .notifDot{
  background:rgba(232,237,247,.22);
  box-shadow:none;
}

.notifText{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.notifTitle{
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:100%;
}
.notifMeta{
  font-size:12px;
  color:rgba(232,237,247,.58);
}

/* reusable small dot for lists */
.dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,90,90,.95);
  box-shadow:0 0 0 3px rgba(185,75,60,.12);
  margin-right:8px;
  transform: translateY(-1px);
}

.notifItem.is-unread{ border-color:rgba(185,75,60,.22); background:rgba(185,75,60,.06); }

/* Bildirim dropdown */
.dd{ position:relative; }
.dd__btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  color:rgba(232,237,247,.9);
  cursor:pointer;
  white-space:nowrap;
}
.dd__caret{ opacity:.75; font-size:12px; }

.badge{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:22px; height:22px; padding:0 7px;
  border-radius:999px;
  border:1px solid rgba(185,75,60,.65);
  background:rgba(185,75,60,.14);
  color:#ff5b5b;
  font-weight:900;
  font-size:12px;
}

.dd__menu{
  position:absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 24px);
  border-radius:18px;
  border:1px solid rgba(215,177,111,.22);
  background: rgba(10,12,18,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
  display:none;
  z-index: 9999;
  overflow:hidden;
}
.dd.is-open .dd__menu{ display:block; }

.dd__head{
  padding:12px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.dd__title{ font-weight:900; }
.dd__link{ color:rgba(232,237,247,.72); }
.dd__link:hover{ color:rgba(232,237,247,.95); }

.dd__empty{ padding:12px; color:rgba(232,237,247,.65); }

.dd__list{ max-height: 320px; overflow:auto; }

.dd__item{
  display:grid;
  grid-template-columns: 14px 1fr auto;
  gap:10px;
  padding:10px 12px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(232,237,247,.88);
}
.dd__item:hover{ background:rgba(255,255,255,.04); }
.dd__item .txt{ line-height:1.25; }
.dd__item .time{ color:rgba(232,237,247,.55); font-size:12px; white-space:nowrap; align-self:start; }

.dd__item .dot{
  width:10px; height:10px; border-radius:999px;
  margin-top:4px;
  background:transparent;
  border:1px solid rgba(255,255,255,.12);
}
.dd__item.is-unread .dot{
  background:#ff5b5b;
  border-color:#ff5b5b;
}
.dd__item.is-unread .txt{ font-weight:900; }

/* Header dropdown kesilmesin */
.topbar, .topbar__inner, .topbar__actions { overflow: visible !important; }

/* Üstte kalsın */
.topbar { position: sticky; top: 0; z-index: 5000; }
.dd__menu { z-index: 9999; }


