/* Definitions, Settings php dosyalarında mevcut */

.def-card {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--bs-body-bg);
  text-decoration: none;
  height: 100%;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.def-card:hover {
  background: #f9f9f9;
}

.def-title {
  font-size: 16px;
  line-height: 1.5rem;
  font-weight: 400;
  color: #000000;
  transition: 300ms;
  margin-bottom: 5px;
}

.def-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  background: #000000;
  color: #9eceb3;
}

.def-card h6 {
  font-weight: 600;
}

.def-card p {
  color: var(--bs-secondary-color);
}
/* Definitions, Settings php dosyalarında mevcut Bitiş */

/* Tüm iç sayfalarda mevcut */
.page-title-head {
  display: flex!important;
  align-items: center!important;
  gap: 12px;
  border-bottom: 1px solid #e7e7e7;
  background-color: #ffffff;
  padding: 12px 0;
  margin-bottom: 15px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-title-head .btn {
  padding: 4px 10px;
  font-size: 14px;
  line-height: 1.3;
  background: #000000;
  color: #fff;
}

.page-title-head .btn i {
  font-size: 16px;
}

.page-title-head .page-title {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin: 0;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 88px;
  }
}
.form-label-sm {
  font-size: .75rem;
  color: #000;
  margin-bottom: .25rem;
}
.btn-close{
  background: none !important;
  width: 2rem; height: 2rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: .5rem;
  opacity: 1;
  padding: .25rem;
  box-sizing: content-box;
}
.btn-close i{
  font-size: 1.1rem;
  color: var(--bs-secondary-color);
}
.btn-close:hover i{ opacity:.85; }
.btn-close:focus-visible{ outline: 0; box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb),.25); }
.btn-close:focus-visible i{ color: var(--bs-primary); }
.btn-close:focus:not(:focus-visible){ box-shadow: none; }
.btn-soft-forsid{
  --f-accent: #f5ff3d;
  background: var(--f-accent); color:#111; border:0; font-weight:700;
  border-radius: 12px; box-shadow: 0 6px 14px rgba(245,255,61,.25);
}

.btn-soft-forsid:hover{
  background: #000; color:#f5ff3d;
}
.pf-topbar{
  position: sticky; top:0; z-index:1030;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.pf-topbar-inner{
  display: flex; justify-content: space-between;
  align-items: center; gap: .75rem; padding: .65rem 0;
}
.pf-left{ display:flex; align-items:center; gap:.75rem; min-width:0; }
.pf-bc{ display:flex; align-items:flex-start; gap:.25rem; margin:0;
        white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pf-bc .breadcrumb-item{ color:#f5ff3d; font-weight:500; overflow:hidden; text-overflow:ellipsis; }
.pf-bc .breadcrumb-item+.breadcrumb-item::before{ color:#f5ff3d; }
.pf-actions{ display:flex; align-items:center; gap:.5rem; }
.pf-actions .btn{ white-space:nowrap; }

.pf-topbar .btn-soft-forsid{
  background:#f5ff3d; color:#111; border:0; border-radius:.75rem;
  padding:.55rem .9rem; font-weight:600; box-shadow:0 0 0 0 rgba(245,255,61,.0);
}
.pf-topbar .btn-soft-forsid:hover{ filter:brightness(.95); }

@media (max-width: 992px){
  .pf-topbar-inner{ grid-template-columns: 1fr; }
  .pf-actions{ justify-content: flex-start; }
  .pf-bc{ font-size:.95rem; }
}
@media (max-width: 576px){
  .pf-actions .btn{ padding:.45rem .6rem; }
  .pf-back{ padding:.45rem .6rem; }
}
/* Tüm iç sayfalarda mevcut Bitiş */

/* Sidebar Alanı */
.main-nav {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.main-nav .scrollbar {
  flex: 1 1 auto;
  min-height: 0;
}

.sidebar-account {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  border-top: 1px solid rgba(187, 175, 175, .38);
  padding: 10px 0px 10px;
}

.sidebar-account a {
  text-decoration: none
}

.wrapper .main-nav {
  padding-bottom: 0;
}

.navbar-nav .nav-item .nav-link:hover {
  background-color: #313131;
}

.navbar-nav .nav-item .nav-link:active {
  background-color: #313131;
}
/* Sidebar Alanı Bitiş */

/* Footer Bottom Menü */
.forsid-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  margin: 0 auto;
  max-width: 720px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: rgb(245 245 245 / 28%);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.button-toggle-menu {
  margin: 0px !important;
}

.forsid-bottom-nav .nav-btn iconify-icon {
  font-size: 22px;
  width: 22px;
  height: 22px;
  line-height: 1;
}

.forsid-bottom-nav .nav-btn {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, .06);
  color: #000000;
  border-radius: 14px;
  padding: 10px 6px 8px;
  display: grid;
  place-items: center;
  gap: 4px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.forsid-bottom-nav .nav-btn:hover {
  background: rgba(255, 255, 255, .12);
}

.forsid-bottom-nav .nav-btn i {
  font-size: 18px;
  line-height: 1;
}

.forsid-bottom-nav .nav-btn span {
  font-size: 12.5px;
  opacity: .9;
}
/* Footer Bottom MenüBitiş */

/* Dashboard */
:root {
  --fs-bg: #f3f4f6;
  --fs-white: #ffffff;
  --fs-border: #e5e7eb;
  --fs-text: #0b0b0b;
  --fs-muted: #6b7280;
  --fs-mint: #22c55e;
  --fs-purple: #7c3aed;
  --fs-radius: 16px;
  --fs-shadow: 0 6px 24px rgba(3, 7, 18, .06);
}

.fs-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #e6ee00;
  background: linear-gradient(135deg, #000000, #7a7b5f);
}

.fs-date-menu {
  border-radius: 16px;
  border: 1px solid rgba(12, 18, 28, .08);
  box-shadow: 0 18px 44px rgba(16, 24, 40, .14);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: #ffffff42;
  margin-top: 10px !important;
}

.fs-date-menu .btn-outline-secondary {
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-y: .25rem;
  --bs-btn-padding-x: .7rem;
  width: 100%;
  border: 0;

}

.fs-date-menu .btn-outline-secondary.active {
  background: #000;
  color: #e6ee00;
  border-color: #000;
}

.fs-date-menu .form-control {
  border-radius: 10px;
}

.fs-card {
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--fs-shadow);
}

.fs-balance {
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--fs-text);
  font-size: 40px;
  line-height: 1.1;
}

.fs-chip {
  border: 1px solid var(--fs-border);
  background: #f8fafc;
  border-radius: 12px;
  padding: .65rem .8rem;
}

.fs-chip-title {
  color: #2d2d2d;
  font-size: .85rem;
  font-weight: 500;
}

.fs-chip-value {
  font-weight: 600;
  color: var(--fs-text);
  font-size: 16px;
}

.fs-tile {
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--fs-shadow);
}

.fs-tile-head {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .35rem;
}

.fs-ic-act {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e6ee00;
  color: #000000;
}

.fs-ic {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #000000;
  color: #e6ee00;
}

.fs-tile-value {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: #000000;
}

.btn-light-subtle {
  background: #292929;
  color: #e3ec00;
}

.btn-dark-subtle {
  background: #747474;
  color: #e3ec00;
}

.btn-light-subtle:hover {
  background: #000000;
  color: #e3ec00;
}

.text-muted {
  color: var(--fs-muted) !important;
}

button:focus:not(:focus-visible) {
background: #000000;
    color: #e3ec00 !important;
    border-color: #000000 !important;
}

.fs-date-menu {
  min-width: 360px;
}

.blink-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e6ee00;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.fs-box {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.fs-head {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #edf0f4;
}

.fs-table thead th {
  font-weight: 600;
  color: #6b7280;
  background: #fafafa;
  border-bottom: 1px solid #f0f2f5;
}

.fs-table tbody td {
  vertical-align: middle;
}

.fs-table tbody tr {
  border-top: 1px solid #f4f6f8;
}

.fs-table tbody tr:hover {
  background: #fafcff;
}

.badge.bg-soft-dark {
  background: #f4f5f7 !important;
  color: #111 !important;
  border: 1px solid #eceef2;
  font-weight: 600;
}

.fs-promo-glass {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .65));
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 20px 60px rgba(16, 24, 40, .12), inset 0 0 0 1px rgba(255, 255, 255, .5);
  backdrop-filter: blur(14px);
}

.fs-promo-inner {
  padding: 20px;
}

.fs-promo-icon img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at top, #fbff8d, #e6ee00);
  box-shadow: 0 8px 20px rgb(230 238 0 / 49%);
}

.fs-promo-glass .bubble {
  position: absolute;
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, .25), rgba(34, 197, 94, .18));
  filter: blur(10px);
}

.fs-promo-glass .b1 {
  right: -30px;
  top: -30px;
}

.fs-promo-glass .b2 {
  left: -40px;
  bottom: -25px;
  width: 140px;
  height: 140px;
}

.fs-promo-glass .b3 {
  right: 20px;
  bottom: -15px;
  width: 80px;
  height: 80px;
}

.tooltip-inner {
  background-color: #fff;
  color: #000;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: #000;
}

.modal-content {
  color: #e6e9ec;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  background: #ffffffed;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}

.modal-header {
  border-bottom: 1px solid #e7e7e7;
}
/* Dashboard Biriş */

/* Kategori ve Ürünler */
.type-card {
  height: 100%;
  display: flex;
  gap: .6rem;
  padding: 1rem;
  background: rgba(255, 255, 255, .02);
  border-radius: 16px;
  transition: .2s;
  text-decoration: none !important;
  color: #e6e9ec;
}

.type-card:hover {
  background: #f7f7f7;
}

.type-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #171b20;
  border: 1px solid #262c31;
  color: #f5ff3d;
}

.type-title {
  font-weight: 700;
  margin: 0;
  color: #000000;
}

.type-desc {
  margin: 2px 0 0;
  color: #000000;
  font-size: 11px;
}

.type-link {
  margin-top: .4rem;
  font-weight: 600;
  color: #000;
}

.forsid-table {
  --name-max: 420px;
  --pad-y: .85rem;
}

.product-header {
  padding: 10px;
}

.forsid-table th,
.forsid-table td {
  white-space: nowrap;
  vertical-align: middle;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
  color: #000;
}

.forsid-table tbody tr { border-bottom: 1px solid #eef1f5; }
.forsid-table tbody tr:hover { background: #fafcff; }

.forsid-table thead { background:#f6f8fb; }
.forsid-table thead th { color:#000000; font-weight:500;font-size: 15px; }

.forsid-table .avatar-md{ width:44px; height:44px; border-radius:12px; object-fit:cover; }
.forsid-table .bg-light.avatar-md{ background:#f7f9fc!important; border:1px solid #edf1f5; }
.forsid-table .fstable-name{
  display:inline-block;
  max-width: var(--name-max);
  overflow:hidden; text-overflow:ellipsis;
}

.forsid-table .sub-categories a{
  color: #000000;
  font-weight: 500;
}

.forsid-table .cell-actions{ width: 156px; }
@media (max-width: 575.98px){
  .forsid-table .cell-actions .btn{ padding:.25rem .45rem; }
}

.fstable-empty{
  max-width: 780px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(16,24,40,.08);
  border-radius: 16px;
  padding: 2.25rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.fstable-empty::before{
  content:""; position:absolute; inset:-40% -20% auto -20%;
  height: 200px;
  background: radial-gradient(60% 60% at 80% 20%, rgba(245,255,61,.18), transparent 70%);
  pointer-events:none;
}

.fse-icon-wrap{
  width: 64px;
  height: 64px;
  font-size: 30px;
  border-radius: 16px;
  display:grid; place-items:center;
  color:#111;
  background: radial-gradient(120% 120% at 30% 30%, rgba(245,255,61,.35), rgba(245,255,61,.12) 60%, transparent 80%), #fff;
  border:1px solid rgba(16,24,40,.12);
  box-shadow: 0 6px 24px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.6);
}

.fse-title{ font-weight: 700; }
.fse-sub{ max-width: 520px; margin: 0 auto; }

.fstable-empty .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  line-height: 1;
  padding: .5rem .95rem;
}

.fstable-empty .btn i,
.fstable-empty .btn svg,
.fstable-empty .btn iconify-icon {
  line-height: 0;
  vertical-align: middle;
  transform: translateY(1px);
}

@media (prefers-color-scheme: dark){
  .fstable-empty{
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border-color: rgba(255,255,255,.08);
  }
  .fse-icon-wrap{
    background:
      radial-gradient(120% 120% at 30% 30%, rgba(245,255,61,.30), rgba(245,255,61,.10) 60%, transparent 80%),
      #0f1215;
    color:#e6e9ec;
    border-color: rgba(255,255,255,.10);
  }
}
/* Kategori ve Ürünler Biriş */


/* ===== Ürün Kişiselleştirme ===== */
.pf-builder .pf-dropzone .pf-empty{ border:2px dashed #e9ecef; border-radius: .75rem; }
.pf-builder .pf-field{ cursor:grab; }
.pf-builder .pf-handle{
  width:36px; height:36px; border-radius: .5rem;
  background:#f1f3f5; display:flex; align-items:center; justify-content:center;
}
.pf-builder .pf-badge{font-size:.75rem;}
.pf-builder .pf-opt-row .input-group-text{ background:#f8f9fa; }
.pf-builder .pf-field.dragging{ opacity:.6; }
.pf-builder .pf-drop-indicator{ border:2px dashed #bee3f8; border-radius: .75rem; margin:.25rem 0; }

.customizer-title { font-size: 15px;font-weight: 500;color: #000000; }

/* ================== TAGS MANAGER (scoped) ================== */
.tags-manager{ --accent:#f5ff3d; --chip-bg:#f3f4f6; --chip-border:#e9ecef; --chip-text:#495057; --active-bg:#000; }
.tags-manager .label-grid{
  display:flex; flex-wrap:wrap; gap:.5rem; align-items:center;
}
.tags-manager .label-chip{
  display:inline-flex; align-items:center; gap:.45rem;
  padding:.35rem .6rem; border-radius:.7rem;
  border:1px solid var(--chip-border);
  background:var(--chip-bg); color:var(--chip-text);
  font-weight:500; font-size:.85rem; transition:.18s ease;
  cursor:pointer; user-select:none;
}
.tags-manager .label-chip i{ font-size:1rem; color:#9aa1a9; transition:.18s ease; }
.tags-manager .label-chip:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,.05); }
.tags-manager .label-chip.is-active{
  background:var(--active-bg); color:#fff; border-color:#000; box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.tags-manager .label-chip.is-active i{ color:var(--accent); }
.tags-manager .label-chip.is-disabled{ opacity:.6; pointer-events:none; }
.tags-manager .row-error{ margin-top:.4rem; }
@media (max-width:576px){
  .tags-manager .label-chip{ padding:.3rem .5rem; font-size:.8rem; }
}
/* ======== scoped: .tags-manager ======== */
/* bottom-sheet */
.tags-manager .tm-mobile-advice{
  position: fixed; left:0; right:0; bottom:0; z-index:9999; padding:16px;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.35));
}
.tags-manager .tm-sheet{ border-radius:16px; padding:16px; }
.tags-manager .tm-dot{ width:10px; height:10px; border-radius:50%;
  background:#90ff00; box-shadow:0 0 0 4px rgba(144,255,0,.15); display:inline-block; }

/* mobil tablo iyileştirmeleri */
@media (max-width: 768px){
  .tags-manager table thead{ display:none; }
  .tags-manager table tbody tr{
    display:block; padding:12px; border-bottom:1px solid #eef0f2;
    background:#fff; border-radius:12px; margin:10px 12px;
    box-shadow:0 8px 24px rgba(0,0,0,.05);
  }
  .tags-manager table tbody td{ display:block; border:0 !important; padding:.25rem 0; }
  .tags-manager table tbody td:first-child{ margin-bottom:.35rem; }
  .tags-manager .js-count{ text-align:left !important; font-weight:600; margin-top:.35rem; }
  .tags-manager .label-grid{ gap:.4rem; }
  .tags-manager .label-chip{ padding:.3rem .5rem; font-size:.8rem; }
  /* bottom-sheet sadece mobilde görünsün */
  .tags-manager .tm-mobile-advice.d-none{ display:block !important; }
}
@media (min-width: 769px){
  .tags-manager .tm-mobile-advice{ display:none !important; }
}

/* ========== Rozetler ========== */
.badge-builder .bb-product .bb-thumb{ position:relative; }
.badge-builder .bb-product .bb-badge-spot{
  position:absolute; left:10px; top:10px; display:flex; align-items:center; justify-content:center;
}
.badge-builder .bb-chip{
  display:inline-flex; align-items:center; gap:.35rem;
  padding:.35rem .6rem; border-radius:999px; font-weight:600; font-size:.9rem;
  background:#111; color:#90ff00; box-shadow:0 4px 14px rgba(0,0,0,.15);
}
.badge-builder .bb-chip.square{ border-radius:.5rem; }

.badge-builder .bb-box{ border:1px solid #eef0f2; border-radius:.75rem; padding:12px; }
.badge-builder .bb-box-title{ font-weight:600; margin-bottom:.35rem; }
.badge-builder .bb-img-preview{ min-height:90px; background:#fafafa; border:1px dashed #e5e7eb; border-radius:.5rem; padding:8px; }
.badge-builder #bbImgPrev{ max-height:72px; max-width:100%; }

@media (max-width: 576px){
  .badge-builder .bb-chip{ font-size:.85rem; padding:.3rem .5rem; }
}

/* ===== Premium Alert (Forsid) ===== */
.alert-forsid{
  --accent: #f5ff3d;
  --bg1: #ffffff;
  --bg2: #fcfcfd;
  --border: #e9ecef;
  --shadow: 0 12px 30px rgba(2,6,23,.08);

  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 14px 18px;
  background:
    radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.alert-forsid::before{
  content:"";
  position:absolute; inset:0 auto 0 0; width:4px;
  background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000 45%));
}

.alert-forsid > i{
  width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  background:#111;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  margin-top: 2px;
}

.alert-forsid .fw-semibold{ font-weight: 700; }
.alert-forsid ul{ margin: 6px 0 0 0; padding-left: 1.1rem; }
.alert-forsid li{ margin: 4px 0; color:#6b7280; }
.alert-forsid a{ color:#111; border-bottom:1px dashed rgba(0,0,0,.25); text-decoration: none; }
.alert-forsid a:hover{ border-bottom-color: var(--accent); }

.alert-forsid.is-compact{ padding: 10px 12px 10px 14px; border-radius: 12px; }

.alert-forsid.dark{
  --bg1:#101317; --bg2:#0c0f13; --border: rgba(255,255,255,.08);
  color:#d1d5db;
}
.alert-forsid.dark li{ color:#9ca3af; }
.alert-forsid.dark a{ color:#fff; border-bottom-color: rgba(255,255,255,.25); }

/* Medya modal: üstteki gereksiz boşluğu ve grid alanını düzenle */
.pf-media-modal .pf-dropzone{
  min-height: 120px;
  padding: 16px;
}
.pf-media-modal .pf-library-wrap{
  max-height: 48vh;
  overflow: auto;
  margin-top: 8px;
}
.pf-media-modal .pf-card{
  will-change: transform;
}

.pf-gallery-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:12px;
}
.pf-thumb{background:#fff;border:1px solid #eef0f2;border-radius:12px;overflow:hidden}
.pf-thumb-img{padding-top:70%;background-size:cover;background-position:center}
.pf-thumb-meta{display:flex;justify-content:space-between;align-items:center;padding:8px}
.pf-thumb.dragging{opacity:.6}


/* Bildirim Rozeti */
/* Premium Elite – Glass Badge */
:root{
  --pe-text:#0f172a;              /* ana metin */
  --pe-border:rgba(226,232,240,.9);/* slate sınır */
  --pe-shadow:0 6px 18px -8px rgba(2,6,23,.25);
  --pe-accent:rgba(17,17,17,.6);   /* ince iç gölge */
}

.sub-nav-link { position: relative; }

/* Rozet gövdesi */
.pe-badge{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  margin-left: .35rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--pe-text);
  background: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.38));
  border: 1px solid var(--pe-border);
  box-shadow: var(--pe-shadow), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 var(--pe-accent);
  transform: translateY(-2px) scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .25s ease;
}

/* Cam efekti destekliyorsa */
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)){
  .pe-badge{
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
  }
}

/* İnce kenar parıltısı */
.pe-badge::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: linear-gradient(180deg, rgb(231 240 0), rgba(255, 255, 255, 0) 60%);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000,#000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000,#000);
  padding:1px;     /* dış kenarda hafif parıltı */
  opacity:.9;
  pointer-events:none;
}

/* Ping halkası (premium ama aşırı değil) */
.pe-badge::after{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:inherit;
  opacity:0;
  background: radial-gradient(closest-side, rgb(231 240 0), rgb(232 241 0) 70%);
  transform: scale(.8);
  animation: pe-ping 2.2s ease-out infinite;
}
@keyframes pe-ping{
  0%   { opacity:.45; transform: scale(.8); }
  70%  { opacity:0;   transform: scale(1.25); }
  100% { opacity:0;   transform: scale(1.25); }
}

/* Sayı */
.pe-badge__num{ transform: translateY(1px); }

/* Görünürlük toggle */
.pe-badge.is-visible{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}

/* Büyük sayılarda otomatik daralma ve 99+ */
.pe-badge[data-count="large"] .pe-badge__num{ letter-spacing: .2px; }

/* Hareket hassasiyeti olanlar için animasyonu kapat */
@media (prefers-reduced-motion: reduce){
  .pe-badge{ transition:none; }
  .pe-badge::after{ animation:none; display:none; }
}

/* Karanlık nav için (opsiyonel) */
.dark .pe-badge{
  color:#fff;
  background: linear-gradient(180deg, rgba(30,41,59,.66), rgba(15,23,42,.5));
  border-color: rgba(148,163,184,.5);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
