.header-home {
  width: 100%;
  background: linear-gradient(180deg, var(--header) 0%, var(--header) 100%);
  border: 1px solid var(--header);
  position: sticky;
  top: 0px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.search-bar-form {
  border-radius: 24px;
  height: 48px;
  /* width: 504px; */
  position: relative;
  padding: 4px;
  background-color: var(--searchbar);
  box-shadow: var(--shadow-search);
  border: 1px solid #e8e8e8;
  transition: all 0.2s ease;
  width: 100%;
}

.search-bar-form:hover {
  border-color: #c1c5ca;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.search-bar-form:focus-within {
  border-color: #096a2e;
  box-shadow: 0 0 0 3px rgba(9, 106, 46, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}


#search-bar {
  display: block;
  width: 100%;
  height: 100%;
  padding-left: 16px;
  padding-top: 3px;
  border-radius: 22px;
  background-color: var(--searchbar);
  border: none;
  line-height: 1.6;
  font-size: 18px;
  padding: 2px 4px 2px 16px;
  color: var(--search-text);
}

#search-bar::placeholder {
  color: var(--active-grey);
  font-family: 'Exo 2';
  line-height: 1.6;
}

.search-butt {
  border: 2px solid var(--search-button);
  background-color: var(--search-button);
  border-radius: 50%;
  height: 36px;
  width: 36px;
  position: absolute;
  right: 4px;
  top: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-butt-hover {
  background-color: var(--active-grey);
  border: 2px solid var(--active-grey);
  transform: scale(1.05);
}

.search-butt-focus {
  background-color: var(--active-grey);
  border: 2px solid var(--active-grey);
}

.search-icon {
  stroke: var(--search-icon);
  stroke-width: 3px;
}

.user-div {
  justify-content: space-between;
  align-items: center;
  width: 368px;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 168px;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  color: #000000;
  border-radius: 20px;
}

.account-circle-div {
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #096a2e 0%, #0a7d35 100%);
  border: none;
  border-radius: 20px;
  padding: 0px;
  height: 40px;
  width: 40px;
  box-shadow: 0 2px 8px rgba(9, 106, 46, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-circle-div:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 4px 12px rgba(9, 106, 46, 0.35);
}

.account-initial {
  color: #eeeeee;
  font-size: 20px;
  font-weight: 600;
}

.account-circle {
  fill: #dadada;
}

.hello {
  width: 120px;
  color: #000000;
}

a.account-link {
  color: #000000;
}


a.login {
  padding: 4px 16px;
  height: 40px;
  border: none;
  border-radius: 20px;
  width: 120px;
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #f0f0f0;
}

a.login:hover {
  background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

#sign-up-out {
  padding: 4px 16px;
  height: 40px;
  border: none;
  border-radius: 20px;
  width: 120px;
  font-size: 18px;
  font-weight: 600;
  color: #eeeeee;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

#sign-up-out:hover {
  background-color: #7CAB4B;
}

#sign-out {
  padding: 6px 16px;
  height: 36px;
  border: none;
  border-radius: 20px;
  width: 120px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--accent) 0%, #7CAB4B 100%);
  color: #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(138, 190, 83, 0.3);
}

#sign-out:hover {
  background: linear-gradient(135deg, #7CAB4B 0%, #6a9a3f 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 171, 75, 0.4);
}

#sign-out:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(124, 171, 75, 0.3);
}

.theme-pos {
  position: absolute;
  top: 0px;
  right: 0px;
}


/* CURRATED */

.policy-disc-menu-div {
  position: relative;
  color: #000000;
  font-size: 20px;
  padding-top: 8px;
}

.policy-disc-menu-div:hover {
  color: var(--primary);
}

.policy-disc-menu {
  visibility: hidden;
  position: absolute;
  padding: 8px 0 10px 0;
  top: 34px;
  height: fit-content;
  width: 200px;
  background-color: white;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  z-index: 3;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.policy-disc-menu-div:hover .policy-disc-menu {
  visibility: visible;
}

.policy-disc-li {
  padding: 2px 24px;
}

.policy-disc-li:hover {
  background-color: #e6e6e6;
}

a.policy-disc-links:link,
a.policy-disc-links:visited {
  text-decoration: none;
  width: 100%;
  font-size: 16px;
}

a.policy-disc-links:hover {
  background-color: #e6e6e6;
}




/* MODES */

#theme {
  width: fit-content;
  height: 60px;
  background-color: transparent;
  border: none;
  position: relative;
}

.dark-mode-div {
  height: 100%;
  width: 100%;
  visibility: hidden;
  z-index: 10;
  justify-content: flex-end;
}

.position-moon {
  height: 100%;
  width: 8px;
  position: relative;
}

.moon {
  height: 8px;
  width: 8px;
  position: absolute;
  top: 16px;
  left: 0px;
}

.moon-path {
  fill: #eeeeee;
  transition: fill 0.2s ease-in-out;
}

.dark-mode-path {
  fill: #eeeeee;
}

.light-mode-div {
  height: 100%;
  width: 100%;
  visibility: hidden;
  justify-content: flex-end;
}

#light-mode {
  height: 22px;
  width: 22px;
  fill: var(--header);
}

.position-sun {
  height: 100%;
  width: 10px;
  position: relative;
}

#sun {
  height: 10px;
  width: 10px;
  position: absolute;
  top: 16px;
  left: 0px;
}

.sun-path {
  fill: #d1d1d1;
  transition: fill 0.2s ease-in-out;
}

.light-mode-path {
  fill: #d1d1d1;
}

#dark-mode {
  height: 22px;
  width: 22px;
}









/******************************* BREAK POINTS ********************************/

@media (min-width: 320px) {}

@media (min-width: 640px) {}

@media (min-width: 768px) {}

@media (min-width: 1024px) {
  .header-home {
    height: 80px;
    justify-content: space-between;
    align-items: center;
    padding: 4px 16px;
    flex-shrink: 0;
  }

  .main-logo-a {
    height: 56px;
  }

  .search-bar-form {
    height: 44px;
    /* width: 504px; */
  }

  #search-bar {
    color: var(--nav-link-selected);
  }

  #search-icon {
    width: 24px;
    height: 24px;
  }

  .account-button-div {
    height: 40px;
  }

  #account-button {
    height: 40px;
  }

  .account-circle {
    height: 36px;
    width: 36px;
  }

  #account-menu {
    top: 40px;
    right: 40px;
    width: 100px;
    border-radius: 6px;
  }

  .auth-modal-na {
    height: 72px;
  }
}

@media (min-width: 1280px) {
  .full-page-wrap {
    flex-direction: column;
  }

  .header-home {
    height: 80px;
    justify-content: space-between;
    align-items: center;
    padding: 4px 16px;
  }

  .main-logo-a {
    height: 56px;
  }

  .search-bar-form {
    height: 44px;
    /* width: 504px; */
  }

  #search-bar {
    color: var(--nav-link-selected);
  }

  #search-bar::placeholder {
    font-size: 18px;
  }

  #search-icon {
    width: 24px;
    height: 24px;
  }

  .account-button-div {
    height: 40px;
  }

  #account-button {
    height: 40px;
  }

  .account-circle {
    height: 36px;
    width: 36px;
  }

  #account-menu {
    top: 40px;
    right: 40px;
    width: 100px;
    border-radius: 6px;
  }

  .auth-modal-na {
    height: 72px;
  }
}

/* Responsive styles for header */
@media (max-width: 1200px) {
  /* .search-bar-form {
    width: 400px;
  } */

  .user-div {
    width: 320px;
  }

  .account-header {
    width: 150px;
  }
}

@media (max-width: 1024px) {
  .header-home {
    padding: 0 16px;
  }

  /* .search-bar-form {
    width: 350px;
  } */

  .user-div {
    width: 280px;
  }

  #sign-out,
  #sign-up-out {
    width: 100px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header-home {
    flex-wrap: wrap;
    padding: 8px 16px;
    gap: 12px;
  }

  .policy-logo-disc-div {
    order: 1;
    width: 100%;
    justify-content: space-between;
  }

  .main-logo-a img {
    height: 32px;
  }

  .search-bar-form {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .user-div {
    order: 2;
    width: auto;
    gap: 12px;
  }

  .account-header {
    width: auto;
  }

  .hello {
    display: none;
  }

  #sign-out,
  #sign-up-out,
  a.login {
    width: 90px;
    font-size: 14px;
    padding: 4px 12px;
  }
}

@media (max-width: 480px) {
  .header-home {
    padding: 8px 12px;
    gap: 8px;
  }

  .main-logo-a img {
    height: 28px;
  }

  .policy-disc-menu-div {
    font-size: 16px;
  }

  .search-bar-form {
    height: 40px;
  }

  #search-bar {
    font-size: 16px;
  }

  .search-butt {
    height: 32px;
    width: 32px;
  }

  .account-circle-div {
    height: 36px;
    width: 36px;
  }

  .account-initial {
    font-size: 18px;
  }

  #sign-out,
  #sign-up-out,
  a.login {
    width: 80px;
    font-size: 13px;
    padding: 4px 8px;
    height: 36px;
  }
}