﻿header {
  border-bottom: 1px solid #EAECF0;
    position: sticky;
  top: 0;
  z-index: 75;
  background-color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  padding: 0 2rem;

}

.navbar-brand {
  display: flex;
  gap: 0.5rem;
}

.navbar-toggle {
  background: #DA1E28;
  border-radius: 3rem;
  display: flex;
  width: 44px;
  height: 44px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.navbar-toggle img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.navbar-items {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-items,
.navbar-items-right {
  display: none;
  flex-direction: column;
  align-items: center;
}

.navbar-item > img {
  width: 1.5rem;
  height: 1.5rem;
}

.navbar-items-right {
  margin-left: auto;
}

.navbar-toggle-show {
  display: initial !important;
  position: absolute;
  width: calc(100vw - 4rem);
}

.nav-link {
  color: #475467;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5rem;
  text-decoration: none;
}

.nav-link.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-link-right {
  color: #DA1E28;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.menu-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 1.5rem 1rem 1.5rem;
}

@media (min-width: 1024px) {
  .navbar-toggle {
    display: none;
  }

  .navbar-items {
    margin-left: 2rem;
  }

  .navbar-items,
  .navbar-items-right {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  .navbar-item {
    width: auto !important;
  }

  .menu-actions {
    justify-content: end;
  }
}

.modal-menu {
  display: none;
  border-radius: 0.5rem;
  border: 1px solid var(--color-gray-200, #EAECF0);
  background: var(--color-gray-100, #F2F4F7);
  box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.02), 0px 18px 24px -4px rgba(16, 24, 40, 0.04);
  top: 1rem;
  z-index: 20;
  overflow: hidden;
  max-height: 90dvh;
}

.navbar-items-mobile {
  border-radius: 0 0 1rem 1rem;
  padding-bottom: 0.5rem;
}

.navbar-items-mobile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.title-row {
  margin-bottom: 1rem;
}

.navbar-items-mobile-row-title {
  color: var(--color-gray-500, #667085);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #EAECF0;
  padding: 0.5rem 1rem 0.5rem 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.navbar-items-mobile-close {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.navbar-item-mobile-row {
  display: flex;
  justify-content: space-between;
}

.navbar-items-mobile-row:hover {
  background-color: #F9FAFB;
  border-radius: 1rem;
}

.navbar-item {
  color: black;
  width: 100%;
  text-decoration: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background-color: transparent;
}

.modal-menu-actions {
  padding: 0.5rem 1.5rem 0.5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.next-menu-window {
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  max-height: 85dvh;
}

.back-button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.back-button span {
  color: #667085;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}

.menu-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0 0 1rem 1rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.menu-scroll-content {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.menu-section {
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1rem 0;
  gap: 0.5rem;
}

.menu-section.no-padding-bottom {
  padding-bottom: 0 !important;
}

.menu-section>.navbar-items-mobile-row-title {
  margin-bottom: 0;
}

.menu-section-title {
  color: var(--color-gray-500, #667085);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  padding-left: 1rem;
}

.navbar-item.next-menu-item {
  align-items: start;
  justify-content: start;
  gap: 1rem;
}

.next-menu-item div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 90%;
}

.next-menu-item p {
  color: var(--gray-500, var(--color-gray-500, #667085));
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.mobile {
  padding: 0.5rem 1rem 0.5rem 1rem;
}

.menu-window {
  position: absolute;
  top: 4.5rem;
  z-index: 20;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .modal-menu {
    display: none !important;
  }

  /* .navbar-item > img {
    width: 2rem;
    height: 2rem;
  } */


  .modal-menu-actions {
    justify-content: end;
  }

  .menu-window {
    border-radius: 1rem;
    border: 1px solid var(--color-gray-200, #EAECF0);
    background: var(--color-gray-100, #F2F4F7);

    /* Flex column for scrolling */
    display: flex;
    flex-direction: column;
    max-height: 85dvh;

    /* Shadow/5 */
    box-shadow: 0px 8px 8px -4px rgba(16, 24, 40, 0.02), 0px 18px 24px -4px rgba(16, 24, 40, 0.04);
  }




  .menu-sections {
    display: flex;
    flex-direction: column;
    /* gap: 40px; */
    /* height: auto; */
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }

  .menu-scroll-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
    overflow: visible;
  }

  .menu-section {
    max-width: 304px;
    padding: 1rem 0.5rem 1rem 0.5rem;
  }
}

.menu-content {
  display: flex;
  flex-direction: row;
  border-radius: 0 0 1rem 1rem;
  flex: 1;
  min-height: 0;
}

.menu-action-button {
  color: var(--color-red-primary-500, #DA1E28);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}

.menu-action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

@media (min-width: 1366px) {
  .menu-window {
    border-radius: 32px;
  }

  .menu-sections {
    flex-direction: row;
  }

  .menu-section {
    padding: 2rem;
  }

  .menu-content {
    border-radius: 0 0 2rem 2rem;
  }

  .menu-actions {
    padding: 2rem;
  }

  .menu-scroll-content {
    gap: 3rem;
  }
}
