.header a img {
  transition: all 0.3s ease;
}
.header a:hover img {
  transform: scale(1.2);
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #000;
}

.header.scrolled nav li a {
  color: #000;
}
.header.scrolled nav li a.active {
  color: #d63b54;
}

.header.scrolled a.login {
  color: #000;
  border-color: #000;
}
.header.scrolled a.login:hover {
  background-color: #e3e4e1;
}

@media (max-width: 600px) {
  nav ul {
    justify-content: center;
  }
  nav ul li {
    margin: 0;
    /* margin-right: 10px; */
  }
}
.navbar-button {
  font-family: "Poppins-Regular";
  opacity: 1 !important;
  background-color: #d63b54; /* Adjust color as needed */
  color: white;
  padding: 10px 39.5px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  width: 100%;
  margin-top: 0px;
  height: 56px;
  text-transform: none;
  margin-right: 0;
  min-width: 120px;
  text-align: center;
  border: none;
  height: 48px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #d63b54;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #d63b54;
  color: #fff;
  font-family: "Poppins-Medium";
  font-size: 16px;
  padding: 16px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
.navbar-button:hover {
  background: #c51f3a;
  text-decoration: none;
}

.navbar-button-sign-up {
  color: #fff !important;
}

#mobile-nav .navbar-button-sign-up {
  color: #fff !important;
}

.navbar-button-log-in {
  padding: 10px 42.5px;
  width: 140px;
}

.navbar-button.login {
  border-color: #ffffff;
  background-color: transparent;
}

.hero-button.navbar-button.login {
  border-color: #ffffff;
  background-color: transparent;
  min-width: 210px;
  padding: 0;
  line-height: 49px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.hero-button.navbar-button.login:hover {
  background-color: #d63b54;
  border: #d63b54;
  color: #fff;
}

.navbar-button.login:hover {
  background-color: #e3e4e1 !important;
  color: #353535; /* Adjust text color on hover */
  opacity: 1 !important;
}

header {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  width: 100%;
  z-index: 9999;
  min-height: 105px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 30px;
  /* margin-left: 1%; */
  /* margin-top: 1%; */
}

.logo-image {
  height: 48px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style-type: none;
  padding: 20px;
  /* margin-top: 1%; */
  flex-wrap: wrap;
  gap: 16px;
}

nav ul li {
  /* margin-right: 16px; */
  /* margin-bottom: 10px; */
  margin: 0;
  font-size: 16px;
}

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
.hamburger::after {
  display: none;
}

#mobile-nav {
  flex-direction: row;
  align-items: flex-start;
}

#mobile-nav .mobile-nav-desktop__menu {
  gap: 34px;
}

#mobile-nav ul {
  /* gap: 17px; */
}

#mobile-nav.show {
  display: flex;
}

.header-name-menu {
  display: none;
  opacity: 0;
}

#mobile-nav li {
  margin: 0;
}

.mobile-active-page {
  display: none;
}

@media (max-width: 1280px) {
  .hamburger {
    display: flex;
    /* width: 3rem; */
    background: none !important;
    align-items: center;
    gap: 10px;
    margin: 0;
    width: auto;
    color: #000;
    font-family: "Poppins-Regular";
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    padding: 0;
    position: relative;
  }
  .hamburger img {
    transition: all 0.1s ease;
  }
  .hamburger div {
    transition: all 0.1s ease;
  }
  .hamburger:before {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29.843 9.0256L30.9742 10.1568L10.1566 30.9728L9.02539 29.8424L29.843 9.0256Z' fill='%23232323'/%3E%3Cpath d='M10.1566 9.0256L30.9742 29.8416L29.843 30.9736L9.02539 10.1576L10.1566 9.0256Z' fill='%23232323'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .hamburger.show img {
    opacity: 0;
  }
  .hamburger.show div {
    opacity: 0;
  }
  .hamburger.show:before {
    opacity: 1;
  }
  .mobile-active-page {
    display: block;
    color: #232323;
    text-align: center;
    font-family: "Poppins-Medium";
    font-size: 18px;
    line-height: normal;
    opacity: 0;
    transition: all 0.3s ease;
  }
  .mobile-active-page.show {
    opacity: 1;
  }
  .hamburger img {
    margin: 0;
  }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  nav ul {
    flex-direction: column;
    padding: 10px;
    /* background-color: #ef3f5a; */
    width: 100%;
  }
  nav ul li {
    margin: 0;
  }
  nav ul li a {
    width: 100%;
  }
  .header-name-menu {
    display: flex;
    opacity: 0;
  }
  .header-name-menu.show {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .hamburger {
    background: none !important;
  }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  nav ul {
    flex-direction: column;
    padding: 10px;
    /* background-color: #ef3f5a; */
    width: 100%;
  }
  nav ul li {
    margin: 0;
  }
}
.navbar-button {
  font-family: "Poppins-Regular";
  background-color: #d63b54; /* Adjust color as needed */
  color: white;
  border: 1px solid #d63b54;
  padding: 10px 39.5px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  width: 100%;
  margin-top: 0px;
  height: 56px;
  text-transform: none;
  margin-right: 0;
  min-width: 120px;
  text-align: center;
}

.navbar-button-log-in {
  padding: 10px 42.5px;
  width: 140px;
}

.navbar-button.login {
  border-color: #ffffff;
  background-color: transparent;
}

.hero-button.navbar-button.login {
  border-color: #ffffff;
  background-color: transparent;
  min-width: 210px;
  padding: 0;
  line-height: 49px;
  display: flex;
  justify-content: center;
  gap: 22px;
}

.hero-button.navbar-button.login:hover {
  background-color: #d63b54;
  border: #d63b54;
  color: #fff;
}

.navbar-button.login:hover {
  background-color: #e3e4e1; /* Adjust hover color */
  color: #353535; /* Adjust text color on hover */
}

.signout-button:hover {
  background-color: #c51f3a; /* Adjust hover color */
}

/* Default styles for header (desktop) */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 10px 20px; */
  background: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header .logo {
  height: 40px;
  margin: 0;
}

header .logo-image {
  margin: 0;
}

/* Hamburger menu hidden on desktop */
.header-name-menu {
  display: none;
}

/* Navigation items visible on desktop */
#mobile-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-desktop {
  gap: 30px;
}
.mobile-nav-desktop li a {
  transition: all 0.3s ease;
}
.mobile-nav-desktop li a.active {
  color: #d63b54;
  cursor: default;
}
.mobile-nav-desktop li a:hover {
  color: #d63b54;
}

.mobile-nav-mobile {
  display: none;
}

.mobile-nav:first-child ul li:first-child {
  display: none;
}

nav ul li img {
  display: none;
}

.mobile-nav-buttons {
  display: none;
}

.mobile-nav-mobile a.active {
  color: #d63b54 !important;
}

@media (min-width: 1280px) {
  #mobile-user-profile {
    display: none !important;
  }
}
@media (min-width: 1280px) {
  #mobile-nav-buttons {
    display: none !important;
  }
}
/* Mobile-specific styles */
@media (max-width: 1280px) {
  #mobile-user-profile {
    width: 100%;
    max-width: 100%;
  }
  #nav-desktop {
    display: none !important;
  }
  .mobile-nav-desktop {
    display: none;
  }
  .mobile-nav-mobile {
    display: flex;
    margin-bottom: 30px;
  }
  #mobile-nav-name {
    font-family: "Poppins-Medium";
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    color: #000;
    transition: opacity 0.3s ease;
  }
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  #mobile-nav {
    /* display: none; */
    display: flex;
    flex-direction: column !important;
    position: absolute;
    width: 100%;
    height: calc(100dvh - 56px);
    overflow-y: auto;
    top: 56px;
    right: 0;
    background-color: #fff;
    padding: 10px;
    /* border-radius: 5px; */
    z-index: -1;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  #mobile-nav.show {
    transform: translateX(0%);
  }
  #mobile-nav .mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding-bottom: 40px;
  }
  #mobile-nav .mobile-nav-buttons .login {
    color: #000;
    border-color: #000;
  }
  .mobile-nav-buttons {
    display: flex;
  }
  nav ul li {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    min-height: 56px;
  }
  nav ul li:last-child {
    border-bottom: none;
  }
  nav ul li:first-child {
    display: flex;
  }
  nav ul li img {
    display: inline-block;
  }
  nav ul li a {
    color: #000 !important;
  }
  header .logo-image {
    width: 40px;
    height: 40px;
  }
  header {
    min-height: 56px !important;
    background-color: #ffffff !important;
  }
}
button {
  padding: 8px 16px;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}
button:after {
  content: "";
  display: none;
}

button.outline {
  border-width: 1px;
  border-style: solid;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}
button.outline:hover {
  background-color: #e3e4e1;
  color: #353535;
}

button.dark {
  border-color: #6b7c5d;
  background-color: transparent;
  color: #353535;
}
button.dark:hover {
  background-color: #e3e4e1;
  color: #353535;
}

button.white {
  border-color: #ffffff;
  background-color: transparent;
}
button.white svg path {
  transition: stroke 0.3s ease;
}
button.white:hover {
  background-color: #e3e4e1;
  color: #353535;
}
button.white:hover svg path {
  stroke: #353535;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  border-color: #ccc;
}

/* Mobile Account Menu Styles */
.mobile-account-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 10;
  overflow-y: auto;
}

.mobile-account-content {
  padding: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-account-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background-color: #fafafa;
  border-radius: 4px;
  padding: 8px;
}

.mobile-account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.mobile-account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-account-user-name {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 16px;
  color: #3d3c3c;
}

.mobile-account-section {
  margin-bottom: 24px;
}

.mobile-account-section-title {
  font-family: "Poppins-Regular";
  font-weight: 400;
  font-size: 14px;
  color: #9c9c9c;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mobile-account-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  color: #353535;
  text-decoration: none;
  background-color: #fafafa;
  border-radius: 4px;
}

.mobile-account-item:last-child {
  border-bottom: none;
}

.mobile-account-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mobile-account-item span {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 16px;
  flex: 1;
  color: #353535;
}

.mobile-account-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mobile-account-item svg path {
  stroke: white;
}

.mobile-account-logout {
  display: flex;
  margin-top: auto;
}

.mobile-account-logout-button {
  width: 100%;
  background-color: #d63b54;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 16px;
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mobile-account-logout-button:hover {
  background-color: #c51f3a;
}

.header.scrolled .user-name {
  color: #000 !important;
}

.header.scrolled .dropdown-arrow path {
  stroke: #000 !important;
}

.header.scrolled .dropdown-arrow {
  filter: brightness(0) !important;
}

.header.scrolled .navbar-button.login {
  border-color: #000 !important;
}

/* User Dropdown Styles */
.user-dropdown-container {
  position: relative;
  z-index: 1001;
  justify-self: end;
}

.user-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  font-size: 16px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
}

.header.scrolled .user-name {
  color: #000;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.header.scrolled .dropdown-arrow {
  filter: brightness(0);
}

.user-dropdown-trigger.active .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: 80px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  width: 241px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.user-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section {
  margin-bottom: 24px;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.dropdown-section-title {
  font-size: 14px;
  font-weight: 400;
  color: #9c9c9c;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 4px 16px;
  color: #353535;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 16px;
  font-weight: 500 !important;
  background-color: #fafafa;
  margin-top: 8px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.dropdown-item:hover {
  background: #f2f1f6;
}

.dropdown-item-arrow {
  display: flex;
  margin-left: auto;
}

.dropdown-item img {
  width: 24px;
  height: 24px;
}

.dropdown-item:hover img {
  transform: scale(1) !important;
}

.dropdown-item span {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  font-weight: 500 !important;
  font-family: "Poppins-Medium" !important;
}

.logout-button {
  width: 100%;
  background: #d63b54;
  color: white;
  border: none;
  padding: 16px;
  height: 56px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.logout-button:hover {
  background: #c51f3a;
}

/* Mobile responsive */
@media (max-width: 1280px) {
  .user-dropdown-container {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .user-dropdown-menu {
    min-width: 260px;
    right: -16px;
  }
}
/* Mobile User Profile Styles */
.mobile-user-profile {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.mobile-route-button {
  width: 100%;
}

.mobile-create-route-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #d63b54;
  color: white;
  padding: 16px;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Poppins-Medium";
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.mobile-create-route-btn:hover {
  background: #c51f3a;
  color: white;
  text-decoration: none;
}

.mobile-user-info {
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mobile-user-details {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 178px;
}

.mobile-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-user-avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.mobile-user-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-user-name {
  font-family: "Poppins-Medium";
  font-size: 14px;
  font-weight: 500;
  color: #353535;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.mobile-user-email {
  font-family: "Poppins-Regular";
  font-size: 12px;
  color: #a5a5a5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.mobile-logout-btn {
  width: 104px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #353535;
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 4px;
  font-family: "Poppins-Regular";
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-right: 0px !important;
}

.mobile-logout-btn svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1280px) {
  .mobile-user-profile {
    display: flex;
    width: 100%;
  }
  #mobile-nav {
    justify-content: space-between;
  }
  header .container {
    display: flex;
    justify-content: space-between;
  }
  .mobile-nav-buttons {
    display: flex;
  }
}

/*# sourceMappingURL=header.css.map */
