/* ═══════════════════════════════════════════════════════════
   CALL NAVBAR — shared styles for all Call pages
   Included via templates/partials/call_navbar.html
═══════════════════════════════════════════════════════════ */

.navbar__container {
  box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.06);
  border-color: #E7E7E7;
}

/* ─── ACTIVE NAV LINK ───────────────────────────────────── */
.navbar__nav-link--active {
  color: #071738;
  font-weight: 700;
  position: relative;
}

.navbar__nav-link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: #071738;
  border-radius: 2px;
}

.drawer__nav-link--active {
  color: #071738;
  font-weight: 700;
}

/* ─── GET APP BUTTON ─────────────────────────────────────── */
.navbar__get-app {
  background-color: #071738;
  color: #ffffff;
  border-radius: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.navbar__get-app:hover {
  background-color: #0e2147;
}

.navbar__app-icon {
  filter: brightness(0) invert(1);
}

/* ─── HELP CENTER DROPDOWN ──────────────────────────────── */
.navbar__nav-link--dropdown {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
}

.navbar__nav-item--dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  padding: 8px 0;
  list-style: none;
  min-width: 140px;
  z-index: 100;
}

.navbar__nav-item--dropdown.is-open .navbar__dropdown-menu {
  display: block;
}

.navbar__nav-item--dropdown.is-open .navbar__dropdown-icon {
  transform: rotate(180deg);
}

.navbar__dropdown-icon {
  transition: transform 0.2s ease;
}

.navbar__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #071738;
  text-decoration: none;
  white-space: nowrap;
}

.navbar__dropdown-link:hover {
  background: #f5f6fa;
}

.navbar__dropdown-link--highlight {
  color: #E8A857;
}

/* ─── MOBILE DRAWER ─────────────────────────────────────── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1100;
}
.drawer-overlay.is-visible {
  display: block;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 360px;
  height: 100dvh;
  background: #ffffff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px;
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.drawer.is-open {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0 16px;
}

.drawer__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #071738;
  padding: 4px;
}

.drawer__nav {
  flex: 1;
  overflow-y: auto;
}

.drawer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.drawer__nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #071738;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f5;
  box-sizing: border-box;
}

.drawer__nav-link--dropdown {
  justify-content: space-between;
}

.drawer__dropdown-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.drawer__nav-item--dropdown.is-open .drawer__dropdown-icon {
  transform: rotate(180deg);
}

.drawer__dropdown-menu {
  display: none;
  list-style: none;
  padding: 0 0 8px 16px;
  margin: 0;
}

.drawer__nav-item--dropdown.is-open .drawer__dropdown-menu {
  display: block;
}

.drawer__dropdown-link {
  display: block;
  padding: 10px 0;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #071738;
  text-decoration: none;
}

.drawer__dropdown-link--highlight {
  color: #E8A857;
}

.drawer__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 2rem;
  padding: 10px 16px;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #071738;
  cursor: pointer;
  width: 100%;
}

.drawer__lang-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.drawer__lang svg {
  margin-left: auto;
}

.drawer__footer-btns {
  display: flex;
  gap: 12px;
}

.drawer__get-app {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #071738;
  color: #ffffff;
  border-radius: 2.5rem;
  padding: 14px 16px;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.drawer__app-icon {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.drawer__login {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #071738;
  color: #ffffff;
  border-radius: 2.5rem;
  padding: 14px 16px;
  font-family: 'Urbanist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* ─── RESPONSIVE: hamburger below 1024px ───────────────── */
@media (max-width: 1024px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__actions {
    display: none !important;
  }

  .navbar__nav {
    display: none;
  }

  .navbar__nav.is-open {
    display: flex;
  }
}

@media (min-width: 1025px) {
  .navbar__toggle {
    display: none !important;
  }

  .navbar__actions {
    display: flex !important;
  }

  .navbar__nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .navbar__nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.125rem;
  }

  .navbar__nav-item {
    width: auto;
  }

  .navbar__nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9375rem;
  }
}
