.bidentra-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  font-family: "Poppins", sans-serif;
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* ÜST DUYURU BAR */
.bidentra-header__topbar {
  width: 100%;
  height: 36px;
  background: #202a36;
  color: #ffffff;
}

.bidentra-header__topbar-inner {
  max-width: 1380px;
  height: 36px;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bidentra-header__topbar-text {
  max-width: 100%;
  overflow: hidden;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ANA HEADER */
.bidentra-header__inner {
  max-width: 1380px;
  height: 78px;
  margin: 0 auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  background: #ffffff;
}

/* LOGO */
.bidentra-header__logo {
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  flex: 0 0 auto;
}

.bidentra-header__logo img {
  display: block;
  width: 240px;
  height: auto;
}

/* MENÜ */
.bidentra-header__nav {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: 54px;
  flex: 0 0 auto;
}

.bidentra-header__nav a {
  position: relative;
  height: 78px;
  color: #142a36;
  display: inline-flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.012em;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(1px);
  transition: color 0.18s ease;
}

.bidentra-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: #30a6f2;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.bidentra-header__nav a:hover {
  color: #30a6f2;
}

.bidentra-header__nav a:hover::after {
  transform: scaleX(1);
}

/* SAĞ AKSİYONLAR */
.bidentra-header__actions {
  height: 78px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

/* DİL */
.bidentra-language {
  position: relative;
  flex: 0 0 auto;
}

.bidentra-language__current {
  height: 40px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  color: #142a36;
  transform: translateY(1px);
}

.bidentra-language__current img {
  width: 26px;
  height: 18px;
  object-fit: cover;
  display: block;
}

.bidentra-language__current span {
  color: #142a36;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.18s ease;
}

.bidentra-language__current i {
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid #142a36;
  border-bottom: 2px solid #142a36;
  transform: rotate(45deg) translateY(-3px);
  display: block;
  transition: border-color 0.18s ease;
}

.bidentra-language__current:hover span {
  color: #30a6f2;
}

.bidentra-language__current:hover i {
  border-right-color: #30a6f2;
  border-bottom-color: #30a6f2;
}

/* DİL MENÜSÜ - KOMPAKT 3 KOLON / 2 SIRA */
.bidentra-language__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: -210px;
  width: 286px;
  padding: 8px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(32, 42, 54, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 12000;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.bidentra-language.is-open .bidentra-language__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bidentra-language__menu a {
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #ffffff;
  color: #142a36;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bidentra-language__menu a:hover {
  border-color: rgba(48, 166, 242, 0.26);
  background: #eef8ff;
  color: #30a6f2;
}

.bidentra-language__menu img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.bidentra-language__menu span {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

/* GİRİŞ BUTONU */
.bidentra-header__login {
  min-width: 82px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #142a36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transform: translateY(1px);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bidentra-header__login:hover {
  border-color: #30a6f2;
  background: #30a6f2;
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 1380px) {
  .bidentra-header__inner {
    height: 78px;
    padding: 0 28px;
  }

  .bidentra-header__logo {
    height: 78px;
  }

  .bidentra-header__logo img {
    width: 230px;
  }

  .bidentra-header__nav {
    height: 78px;
    gap: 22px;
    margin-left: 38px;
  }

  .bidentra-header__nav a {
    height: 78px;
    font-size: 14.5px;
  }

  .bidentra-header__nav a::after {
    bottom: 18px;
  }

  .bidentra-header__actions {
    height: 78px;
    gap: 14px;
  }

  .bidentra-header__login {
    height: 38px;
    font-size: 13.5px;
    padding: 0 18px;
  }
}

@media (max-width: 1220px) {
  .bidentra-header__inner {
    height: auto;
    min-height: 80px;
    padding: 13px 24px;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .bidentra-header__logo {
    height: auto;
  }

  .bidentra-header__logo img {
    width: 220px;
  }

  .bidentra-header__actions {
    height: auto;
    margin-left: auto;
  }

  .bidentra-header__nav {
    width: 100%;
    height: auto;
    order: 3;
    margin-left: 0;
    gap: 24px;
    overflow-x: auto;
    padding: 4px 0 6px;
    scrollbar-width: none;
  }

  .bidentra-header__nav::-webkit-scrollbar {
    display: none;
  }

  .bidentra-header__nav a {
    height: 34px;
    font-size: 14px;
    transform: none;
  }

  .bidentra-header__nav a::after {
    bottom: -4px;
  }
}

@media (max-width: 640px) {
  .bidentra-header__topbar {
    height: 32px;
  }

  .bidentra-header__topbar-inner {
    height: 32px;
    padding: 0 16px;
  }

  .bidentra-header__topbar-text {
    font-size: 11.5px;
  }

  .bidentra-header__inner {
    padding: 12px 16px;
  }

  .bidentra-header__logo img {
    width: 178px;
  }

  .bidentra-header__actions {
    gap: 10px;
  }

  .bidentra-language__current {
    height: 34px;
    gap: 7px;
    transform: none;
  }

  .bidentra-language__current img {
    width: 23px;
    height: 16px;
  }

  .bidentra-language__current span {
    font-size: 13px;
  }

  .bidentra-language__menu {
    right: 0;
    width: 250px;
    padding: 8px;
    gap: 6px;
    border-radius: 15px;
  }

  .bidentra-language__menu a {
    min-height: 36px;
    padding: 0 7px;
    gap: 6px;
  }

  .bidentra-language__menu img {
    width: 21px;
    height: 15px;
  }

  .bidentra-language__menu span {
    font-size: 12.5px;
  }

  .bidentra-header__login {
    min-width: 62px;
    height: 34px;
    padding: 0 13px;
    font-size: 12.5px;
    transform: none;
  }
}

@media (max-width: 460px) {
  .bidentra-header__logo img {
    width: 164px;
  }

  .bidentra-header__actions {
    gap: 8px;
  }

  .bidentra-language__menu {
    right: 0;
    width: 230px;
    padding: 8px;
    gap: 5px;
  }

  .bidentra-language__menu a {
    min-height: 35px;
    padding: 0 6px;
  }

  .bidentra-language__menu img {
    width: 20px;
    height: 14px;
  }

  .bidentra-language__menu span {
    font-size: 12px;
  }
}