/**
 * Yönetim yatay menü — header içi navigasyon (.header-nav-row)
 */

.header-sube-secici
{
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-sube-secici.is-kapali
{
  display: none;
}

.header-sube-secici-ikon
{
  position: absolute;
  left: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  pointer-events: none;
}

.header-sube-secici-ok
{
  position: absolute;
  right: 8px;
  font-size: 12px;
  color: var(--color-text-light);
  pointer-events: none;
}

.header-sube-secici-select
{
  height: 32px;
  width: 190px;
  max-width: 190px;
  padding: 0 26px 0 28px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-family: var(--font-family);
  line-height: 30px;
  color: var(--color-text-dark);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.header-sube-secici-select:focus
{
  outline: none;
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(61, 148, 155, 0.15);
}

@media (max-width: 767px)
{
  .header-sube-secici
  {
    display: none;
  }
}

.yonetim-shell.yonetim-menu-yatay .yonetim-sol-kolon
{
  display: none;
}

.yonetim-shell.yonetim-menu-yatay .yonetim-ana-kolon
{
  padding-left: 0;
  width: 100%;
  max-width: 100%;
}

.yonetim-shell.yonetim-menu-yatay .yonetim-layout
{
  min-height: calc(100vh - 120px);
}

.yonetim-yatay-menu-wrap
{
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--font-family);
  box-sizing: border-box;
}

.header-nav-row .yonetim-yatay-menu-wrap
{
  display: block;
}

.yonetim-yatay-menu-inner
{
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.yonetim-yatay-menu-kutu
{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.yonetim-yatay-profil
{
  display: none;
}

.yonetim-yatay-avatar
{
  display: none;
}

.yonetim-yatay-profil-metin
{
  display: none;
}

.yonetim-yatay-firma
{
  display: none;
}

.yonetim-yatay-metin-ayrac
{
  display: none;
}

.yonetim-yatay-kullanici
{
  display: none;
}

.yonetim-yatay-ayar-ikon
{
  display: none;
}

.yonetim-yatay-menu-scroll
{
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  width: 100%;
}

.yonetim-yatay-menu-list
{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.yonetim-yatay-menu-list::-webkit-scrollbar
{
  display: none;
}

.yonetim-yatay-menu-item
{
  flex: 0 0 auto;
  position: relative;
}

.yonetim-yatay-menu-link
{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 5px;
  background: rgba(27, 42, 73, 0.07);
  border: none;
  color: #1b2a49;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}

.yonetim-yatay-menu-link:hover,
.yonetim-yatay-menu-item.open > .yonetim-yatay-menu-link,
.yonetim-yatay-menu-item.is-open > .yonetim-yatay-menu-link
{
  background: var(--color-primary, #1b2a49);
  color: #fff;
  text-decoration: none;
}

.yonetim-yatay-menu-item--disabled .yonetim-yatay-menu-link
{
  opacity: 0.45;
  cursor: not-allowed;
}

.yonetim-yatay-menu-item--admin .yonetim-yatay-menu-link
{
  background: rgba(201, 82, 69, 0.08);
}

.yonetim-yatay-chevron
{
  font-size: 10px;
  opacity: 0.8;
}

.yonetim-yatay-dropdown
{
  display: none;
  position: fixed;
  z-index: 1200;
  border-radius: 8px;
  border: 1px solid rgba(27, 42, 73, 0.1);
  box-shadow: 0 8px 24px rgba(27, 42, 73, 0.12);
  padding: 4px 0;
  min-width: 180px;
  background: #fff;
  list-style: none;
  margin: 0;
}

.yonetim-yatay-dropdown::before
{
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
}

.yonetim-yatay-menu-item.is-open .yonetim-yatay-dropdown,
.yonetim-yatay-menu-item.open .yonetim-yatay-dropdown
{
  display: block;
}

.yonetim-yatay-dropdown > li > a
{
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: #1b2a49;
  text-decoration: none;
}

.yonetim-yatay-dropdown > li > a:hover,
.yonetim-yatay-dropdown > li > a.secili
{
  background: rgba(32, 113, 174, 0.1);
  color: var(--color-primary, #1b2a49);
}

@media (max-width: 767px)
{
  /* Mobilde yatay menü tamamen devre dışı — dikey menü zorlanır */
  .yonetim-shell.yonetim-menu-yatay .yonetim-sol-kolon
  {
    display: block;
  }

  .yonetim-shell.yonetim-menu-yatay .yonetim-ana-kolon
  {
    padding-left: inherit;
    width: 100%;
    max-width: 100%;
  }

  .header-nav-row
  {
    display: none !important;
  }
}
