/**
 * User Menu Icon Color - Example Styles
 * Notifications dropdown + sprite ikonlar (gümüş gradient)
 *
 * ═══════════════════════════════════════════════════════════════
 * SENİN İÇİN GEREKLİ CSS — Projeye sadece şu 2 bloğu ekle:
 * ═══════════════════════════════════════════════════════════════
 * BLOK 1: :root + silver değişkenleri (hemen aşağıda)
 * BLOK 2: .dropdown.header__dropdown ... ile başlayan tüm ikon
 *         stilleri ("Left menu parlama" yorumundan "display: none"a kadar)
 * ═══════════════════════════════════════════════════════════════
 */

/* BLOK 1 */
:root {
  /* Silver colors - gümüş gradient ikonlar için */
  --content-tabs-silver-start: var(--header-silver-start, rgb(122, 150, 172));
  --content-tabs-silver-mid: var(--header-silver-mid, rgb(234, 239, 243));
  --content-tabs-silver-end: var(--header-silver-end, rgb(188, 202, 215));
  --content-tabs-silver-dark: var(--header-silver-dark, rgb(150, 165, 178));
}
/* BLOK 1 BİTİŞ */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f1115;
  color: #e4e6eb;
}

.example-header {
  padding: 0.75rem 1.5rem;
  background: #161a21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.example-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.example-header__logo {
  font-weight: 700;
  font-size: 1.25rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 3 ikon: koyu yuvarlatılmış kare arka plan */
.header__actions--icons {
  display: flex;
  gap: 8px;
}
.header__actions--icons .header__action {
  padding: 0;
}
.header__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  position: relative;
}

/* Dropdown */
.header__dropdown {
  position: relative;
  display: inline-block;
}

.header__action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  position: relative;
}

.header__action:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* BLOK 2 BAŞLANGIÇ — Left menu gibi gradient (sadece CSS: mask + background)
   Sıra: 1) #dropdownNotifications 2) #dropdownUser 3) .header__chat */
.dropdown.header__dropdown .header__action .svg-icon,
.dropdown.header__dropdown .header__chat .svg-icon,
#notifications-wrapper .tabs-nav__btn .svg-icon,
.dropdown.header__dropdown .header__notifications .note .big-icon,
.header__wallet .header__wallet-btn.cursor-pointer .svg-icon {
  /* Varsayılan (desktop) boyutlar - renk: gümüş gradient */
  width: 22px;
  height: 22px;
  background: linear-gradient(
    200.59deg,
    var(--content-tabs-silver-start) 18%,
    var(--content-tabs-silver-mid) 36%,
    var(--content-tabs-silver-dark) 60%,
    var(--content-tabs-silver-end) 85%
  );
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}
/* 1) #dropdownNotifications + tabs 1. sekme → notifications (zil) */
#dropdownNotifications .svg-icon,
#notifications-wrapper .tabs-nav__btn:first-child .svg-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z'/%3E%3C/svg%3E");
}
/* 2) #dropdownUser → profile (kullanıcı) */
#dropdownUser .svg-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}
/* 3) .header__chat + tabs 2. sekme → chat (mesaj balonu) */
.header__chat .svg-icon,
#notifications-wrapper .tabs-nav__btn:nth-child(2) .svg-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E");
}
/* 4) .header__wallet .header__wallet-btn.cursor-pointer → wallet/cüzdan ikonu (user icon gibi gümüş) */
.header__wallet .header__wallet-btn.cursor-pointer .svg-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8z'/%3E%3C/svg%3E");
}
/* empty-content (note alanı) */
.header__notifications .note .big-icon {
  width: 48px;
  height: 48px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
}
#notifications-wrapper .tabs-nav__btn .svg-icon {
  width: 18px;
  height: 18px;
}

/* Responsive ikon boyutları - renk her boyutta aynı gümüş gradient kalır */
@media (max-width: 480px) {
  .dropdown.header__dropdown .header__action .svg-icon,
  .dropdown.header__dropdown .header__chat .svg-icon,
  #notifications-wrapper .tabs-nav__btn .svg-icon {
    width: 18px;
    height: 18px;
  }

  .dropdown.header__dropdown .header__notifications .note .big-icon {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 481px) and (max-width: 992px) {
  .dropdown.header__dropdown .header__action .svg-icon,
  .dropdown.header__dropdown .header__chat .svg-icon,
  #notifications-wrapper .tabs-nav__btn .svg-icon {
    width: 20px;
    height: 20px;
  }

  .dropdown.header__dropdown .header__notifications .note .big-icon {
    width: 44px;
    height: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MOBİL: Tüm header ikonları kesin gümüş + hover da gümüş
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

.sidebar__content {

    width: 58% !important;

}
  .sidebar {
background: rgba(11, 15, 27, 0.49) !important;
border-right: 1px solid #26292c !important;
}
  
  /* 0) Header actions – mobilde dar aralık */
  .header__actions {
    gap: 0.2rem !important;
  }

  /* 1) Tüm header ikonları – gümüş gradient zorla (sarı/mavi override edilir) */
  .header .dropdown.header__dropdown .header__action .svg-icon,
  .header .dropdown.header__dropdown .header__chat .svg-icon,
  .header #notifications-wrapper .tabs-nav__btn .svg-icon,
  .header #dropdownNotifications .svg-icon,
  .header #dropdownUser .svg-icon,
  .header .header__chat .svg-icon,
  .header .dropdown.header__dropdown .header__notifications .note .big-icon,
  .header .header__wallet .header__wallet-btn.cursor-pointer .svg-icon {
    background: linear-gradient(
      200.59deg,
      var(--content-tabs-silver-start) 18%,
      var(--content-tabs-silver-mid) 36%,
      var(--content-tabs-silver-dark) 60%,
      var(--content-tabs-silver-end) 85%
    ) !important;
    -webkit-mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-size: contain !important;
    mask-repeat: no-repeat !important;
    mask-position: center !important;
  }

  /* SVG use gizle – sarı sprite görünmesin, sadece mask gradient kalsın */
  .header #dropdownNotifications .svg-icon use,
  .header #dropdownUser .svg-icon use,
  .header .header__chat .svg-icon use,
  .header #notifications-wrapper .tabs-nav__btn .svg-icon use,
  .header .dropdown.header__dropdown .header__action .svg-icon use,
  .header .dropdown.header__dropdown .header__chat .svg-icon use,
  .header .header__wallet .header__wallet-btn.cursor-pointer .svg-icon use {
    display: none !important;
  }
  /* SVG path sarı/mavi kalmasın – mask ile gösteriyoruz */
  .header .dropdown.header__dropdown .header__action .svg-icon path,
  .header .dropdown.header__dropdown .header__chat .svg-icon path,
  .header #dropdownNotifications .svg-icon path,
  .header #dropdownUser .svg-icon path,
  .header .header__chat .svg-icon path,
  .header #notifications-wrapper .tabs-nav__btn .svg-icon path,
  .header .header__wallet .header__wallet-btn.cursor-pointer .svg-icon path {
    fill: transparent !important;
  }
  /* Wallet ikonu – mobilde de mask + gümüş (user icon gibi) */
  .header .header__wallet .header__wallet-btn.cursor-pointer .svg-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 18v1c0 1.1-.9 2-2 2H5c-1.11 0-2-.9-2-2V5c0-1.1.89-2 2-2h14c1.1 0 2 .9 2 2v1h-9c-1.11 0-2 .9-2 2v8c0 1.1.89 2 2 2h9zm-9-2h10V8H12v8z'/%3E%3C/svg%3E") !important;
  }

  /* 2) Hover: buton arka planı gümüş ton (mavi olmasın) */
  .header .dropdown.header__dropdown .header__action:hover,
  .header .dropdown.header__dropdown .header__chat:hover {
    background: rgba(148, 163, 184, 0.2) !important;
    border-color: rgba(188, 202, 215, 0.4) !important;
  }

  /* 3) Hover: ikon rengi yine gümüş (biraz daha parlak) */
  .header .dropdown.header__dropdown .header__action:hover .svg-icon,
  .header .dropdown.header__dropdown .header__chat:hover .svg-icon,
  .header #dropdownNotifications:hover .svg-icon,
  .header #dropdownUser:hover .svg-icon,
  .header .header__chat:hover .svg-icon,
  .header .header__wallet .header__wallet-btn.cursor-pointer:hover .svg-icon {
    background: linear-gradient(
      200.59deg,
      var(--content-tabs-silver-mid) 15%,
      var(--content-tabs-silver-end) 40%,
      var(--content-tabs-silver-dark) 65%,
      var(--content-tabs-silver-start) 90%
    ) !important;
  }

  /* 4) User menu (açılır menü) içi ikonlar ve yazılar – gümüş hover */
  .header .header__user-menu .svg-icon,
  .header .header__user-menu .mini-icon {
    color: var(--content-tabs-silver-mid) !important;
  }
  .header .header__user-menu .svg-icon path,
  .header .header__user-menu .svg-icon use,
  .header .header__user-menu .mini-icon path {
    fill: currentColor !important;
  }
  .header .header__user-menu a:hover,
  .header .header__user-menu button:hover {
    background: rgba(148, 163, 184, 0.18) !important;
    color: var(--content-tabs-silver-mid) !important;
  }
  .header .header__user-menu a:hover .svg-icon,
  .header .header__user-menu a:hover .mini-icon,
  .header .header__user-menu button:hover .svg-icon,
  .header .header__user-menu button:hover .mini-icon {
    color: var(--content-tabs-silver-end) !important;
  }

  /* 5) Notifications tabs hover (mobilde de gümüş) */
  .header .header__notifications .tabs-nav__btn:hover {
    background: rgba(148, 163, 184, 0.18) !important;
    color: #f1f5f9 !important;
  }

  /* 5b) Chat butonu ve ikonu – mobilde kesin görünsün */
  .header .header__chat,
  .header .dropdown.header__dropdown .header__chat {
    display: flex !important;
    visibility: visible !important;
    padding: 8px !important;
    border-radius: 4px !important;
  }
  .header .header__chat .svg-icon,
  .header .dropdown.header__dropdown .header__chat .svg-icon {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H6l-2 2V4h16v12z'/%3E%3C/svg%3E") !important;
  }

  /* 6) Mobil – wallet dropdown butonu (sabit görünüm) */
  .header__wallet-dropdown-btn {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: unset !important;
    height: unset !important;
    border-radius: 8px 0 0 8px !important;
    background-color: var(--tf-bg) !important;
    border: 1px solid var(--tf-border) !important;
    padding: 6px 10px !important;
    font-size: 14px !important;
    color: var(--tf-tc) !important;
  }

  /* 7) Mobil – wallet sağ buton (deposit / action) */
  .header__wallet-btn {
    width: unset !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 0 8px 8px 0 !important;
    color: #fff !important;
    padding: 0 5px !important;
  }
  .header__wallet{
    width: unset !important;

  }

  /* 8) Mobil – notification counter (bildirim rozeti, altın sarısı) */
  .notification-counter {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    min-width: 8px !important;
    height: 8px !important;
    padding: 0 3px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    text-align: center !important;
    background: #d4af37 !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  }
}
#dropdownNotifications .svg-icon use,
#dropdownUser .svg-icon use,
.header__chat .svg-icon use,
#notifications-wrapper .tabs-nav__btn .svg-icon use,
.header__notifications .note .big-icon use,
.header__wallet .header__wallet-btn.cursor-pointer .svg-icon use {
  display: none;
}
/* BLOK 2 BİTİŞ */

.notification-counter {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  background: #d4af37 !important;
  color: #fff;
  border-radius: 8px;
}

/* Dropdown menu */
.header__notifications {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 320px;
  padding: 0;
  background: #070e2a;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1050;
}

.header__notifications .tabs-nav {
  display: flex;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__notifications .tabs-nav__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: #e4e6eb;
  cursor: pointer;
  font-size: 0.875rem;
  border-radius: 6px;
}

.header__notifications .tabs-nav__btn:hover {
  /* Hover'da da gümüş/silver hissi – hafif daha parlak arka plan */
  background: rgba(148, 163, 184, 0.18);
  color: #f9fafb;
}

/* tabs-nav__btn stilleri yukarıdaki .dropdown.header__dropdown bloğunda */

.header__notifications .note {
  padding: 2rem 1rem;
  text-align: center;
  color: #9ca3af;
}

.header__notifications .note .big-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: block;
  opacity: 0.9;
  background: linear-gradient(135deg, var(--content-tabs-silver-start) 0%, var(--content-tabs-silver-mid) 35%, var(--content-tabs-silver-dark) 65%, var(--content-tabs-silver-end) 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header__notifications .note .big-icon use {
  display: none;
}

.header__notifications .note p {
  margin: 0;
  font-size: 0.875rem;
}

.example-main {
  padding: 2rem 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  color: #9ca3af;
}
