.optimal-hint {
  display: block;
  position: relative;
  width: 92%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 24px 16px 92px;
  box-sizing: border-box;
  border-radius: 18px;
  background: linear-gradient(150deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.14) 45%,
      rgba(255, 255, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 28px rgba(4, 58, 82, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: "Archivo Expanded", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  color: white;
  text-align: center;
}

.optimal-hint::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  background: url("../design/images/lightbulb.png") center / contain no-repeat;
}

.optimal-hint::after {
  content: "";
  position: absolute;
  left: 68px;
  top: 50%;
  width: 1px;
  height: 32px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.5);
}

#geoLocation {
  place-content: normal;
  justify-content: start;
  margin-top: 0;
  padding-top: 1.25rem;
}

#geoLocation .weather-data {
  gap: 12px;
}

#geoLocation .weather-data-unit {
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 2px;
}

.weather-data-item {
  box-shadow: 0px 4px 17px 0px #447d84;
  min-height: 120px;
  border-radius: 18px;
}

.weather-data-item * {
  color: #447d84;
  font-family: "Montserrat" !important;
}

.weather-data-title {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 18px !important;
  font-weight: 600;
}

.weather-data-value {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 35px !important;
  font-weight: 600;
}

.weather-data-state {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 8px;
  width: 72px;
  border-radius: 32px;
  text-transform: capitalize;
}

.weather-data-item .weather-data-state {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px !important;
}

.weather-data-state--low {
  background-color: #447d84;
}

.weather-data-state--high {
  background-color: #ffbf9a;
}

.weather-data-item .weather-data-state--medium {
  background-color: #daaa44;
  font-size: 16px !important;
}

.weather-data-state--good {
  background-color: #6ce174;
}

.weather-data-ideal {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 14px !important;
  font-weight: 500;
}

.edit-icon {
  right: initial;
  left: 18px;
  width: 1.5rem;
  height: 1.5rem;
  mask-size: 1.5rem;
}

#geoLocation input {
  font-weight: 600;
}

#ageSelect input[name="user_phone"]~div,
#regist_menu input[name="user_phone"]~div,
input[name="login_phone"]~div {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 480px) or (max-height: 720px) {

  #ageSelect input,
  #geoLocation input:active,
  #geoLocation input:focus,
  #ageSelect input:active,
  #ageSelect input:focus {
    padding: 16px;
    flex-basis: 80%;
    width: 100%;
  }

  #geoLocation input:active,
  #geoLocation input:focus {
    padding: 12px 8px;
  }

  #ageSelect input[name="user_phone"],
  #regist_menu input[name="user_phone"],
  input[name="login_phone"] {
    flex-basis: 80%;
    min-width: 80%;
  }

  #ageSelect input[name="user_phone"]~div {
    left: 10%;
  }

  .copy {
    font-size: 7.5px;
    bottom: 12px;
  }

  .start-menu-subtitle--top {
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .bottom-button,
  #question_extra .bottom-button,
  .bottom-button:disabled,
  #questionExtraNext:disabled,
  #questionExtraBack,
  #questionBackButton {
    padding: 12px 0;
  }

  .start-menu-guide-wardah {
    height: 35px;
  }

  .weather-data-item {
    min-height: 70px;
  }

  #geoLocation input {
    padding: 12px 8px;
  }

  .weather-data-value {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 25px !important;
  }

  .weather-data-ideal {
    position: absolute;
    bottom: 8px;
    font-size: 12px !important;
  }

  .weather-data-item .weather-data-state {
    bottom: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px !important;
    padding: 4px;
  }

  .weather-data-item .weather-data-state--medium {
    font-size: 13px !important;
  }

  .weather-data-title {
    position: absolute;
    left: 12px;
    top: 8px;
    font-size: 16px !important;
  }

  .start-menu-title.start-menu-title--small {
    font-size: 24px !important;
    margin-bottom: 28px !important;
  }

  .questionnaire-query+label {
    margin-top: 8px;
  }

  .questionnaire-query {
    font-size: 16px;
  }

  .questionnaire-item>label>p {
    font-size: 11px;
  }

  .start-menu-guide-selfie {
    margin: 12px auto;
  }
}

@media (min-height: 768px) {
  .wardah-orb {
    object-position: top;
    height: 100%;
    width: 100%;
  }
}

@media (max-height: 800px) {
  .weather-data-item {
    min-height: 100px;
  }

  .weather-data-value {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 28px !important;
  }

  .weather-data-ideal {
    position: absolute;
    bottom: 8px;
    font-size: 13px !important;
  }

  .weather-data-item .weather-data-state {
    bottom: 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px !important;
    padding: 4px;
  }

  .weather-data-item .weather-data-state--medium {
    font-size: 14px !important;
  }

  .weather-data-title {
    position: absolute;
    left: 12px;
    top: 8px;
    font-size: 18px !important;
  }
}

.phone-field-wrap {
  position: relative;
  width: 100%;
}

/* Undo the lone `padding-left: 1rem` override so the phone input is padded
   identically to its siblings and therefore renders at identical width. */
#ageSelect input[name="user_phone"],
#regist_menu input[name="user_phone"] {
  padding-left: 28px;
}

/* Input is `60% + 56px` wide -> (100% - 60% - 56px) / 2 = 20% - 28px. */
#ageSelect input[name="user_phone"]~div,
#regist_menu input[name="user_phone"]~div {
  padding-left: 28px;
}

@media (max-width: 480px) or (max-height: 720px) {

  #ageSelect input[name="user_phone"],
  #regist_menu input[name="user_phone"] {
    padding-left: 16px;
  }

  /* Input is `100% + 32px` wide -> (100% - 100% - 32px) / 2 = -16px. */
  #ageSelect input[name="user_phone"]~div,
  #regist_menu input[name="user_phone"]~div {
    left: 0px;
    padding-left: 16px;
  }
}

#geoLocation .weather-data-item,
#geoLocation .weather-input .city-input,
#geoLocation input {
  background: linear-gradient(150deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.14) 45%,
      rgba(255, 255, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 28px rgba(4, 58, 82, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  box-sizing: border-box;
}

#geoLocation .weather-data-item *,
#geoLocation input {
  color: #ffffff;
  font-family: "Archivo Expanded", Helvetica, Arial, sans-serif !important;
}

#geoLocation .weather-data-title {
  font-weight: 500;
}

#geoLocation .weather-data-value {
  font-weight: 500;
}

#geoLocation .weather-data-ideal {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

#geoLocation .weather-data-item .weather-data-state {
  width: 88px;
  box-sizing: border-box;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 600;
  font-size: 13px !important;
  text-align: center;
}

#geoLocation .weather-data-state--good,
#geoLocation .weather-data-state--low {
  background-color: #447d84;
}

#geoLocation .weather-data-item .weather-data-state--medium {
  background-color: #d9a22d;
}

#geoLocation .weather-data-state--high {
  background-color: #be1818;
}

#geoLocation input {
  color: #ffffff;
  font-weight: 600;
}

#geoLocation input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#geoLocation input:active,
#geoLocation input:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

#geoLocation .weather-input {
  position: relative;
}

#geoLocation .weather-input::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("../design/images/white_arrow.png") center / contain no-repeat;
  pointer-events: none;
  z-index: 3;
}

#geoLocation .edit-icon {
  left: auto;
  right: 20px;
  width: 24px;
  height: 24px;
  background-color: transparent;
  background-image: url("../design/images/white_pencil.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% center;
  mask-image: none;
  -webkit-mask-image: none;
}

#geoLocation input:focus~.edit-icon {
  background-color: transparent;
}

#face_analyzer .start-menu-guide-selfie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 388px;
  margin: 1rem auto;
  gap: 1rem 43px;
}

#face_analyzer .start-menu-guide-selfie .guide-item {
  flex: 0 0 180px;
  width: 180px;
  max-width: 160px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
  overflow: visible;
  text-align: center;
}

#face_analyzer .start-menu-guide-selfie img {
  width: 150px;
  height: 150px;
  padding: 18px;
  box-sizing: border-box;
  border-radius: 26px;
  background: linear-gradient(150deg,
      rgba(255, 255, 255, 0.34) 0%,
      rgba(255, 255, 255, 0.14) 45%,
      rgba(255, 255, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 28px rgba(4, 58, 82, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: block;
  margin: 0 auto;
}

#face_analyzer .guide-item p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.6em;
  margin: 0;
  text-align: center;
  color: #ffffff;
  font-family: "Archivo Expanded", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

#face_analyzer .start-menu-title {
  margin: 38px;
}

/* ===========================================================================
   CITY AUTOCOMPLETE
   ======================================================================== */
#geoLocation .city-autocompleter {
  left: 50%;
  right: auto;
  width: 78%;
  transform: translateX(-50%);
  margin-top: 14px;
  padding: 8px 0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(4, 58, 82, 0.28);
  max-height: 340px;
  overflow-y: auto;
}

#geoLocation .city-autocompleter-item {
  margin: 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  color: #447d84;
  font-family: "Archivo Expanded", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

#geoLocation .city-autocompleter-item::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 1px;
  background: rgba(68, 125, 132, 0.16);
}

#geoLocation .city-autocompleter-item:last-child::after {
  display: none;
}

#geoLocation .city-autocompleter::-webkit-scrollbar {
  width: 12px;
}

#geoLocation .city-autocompleter::-webkit-scrollbar-track {
  background: transparent;
}

#geoLocation .city-autocompleter::-webkit-scrollbar-thumb {
  background: rgba(68, 125, 132, 0.3);
  border: 4px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}

@media (max-width: 480px) {
  #face_analyzer .start-menu-title {
    font-size: 1rem !important;
  }

  #face_analyzer .start-menu-guide-selfie img {
    width: 80px !important;
    height: 80px !important;
  }

  #face_analyzer .guide-item p {
    font-size: 10px !important;
  }

  #face_analyzer .start-menu-guide-selfie {
    margin: 0.5rem 0 !important;
    gap: 0.5rem !important;
  }

  .optimal-hint {
    width: 80%;
    max-width: 480px;
    padding: 10px 10px 10px 60px;
    font-size: 8px;
  }

  .optimal-hint::before {
    width: 24px;
    height: 24px;
  }

  .start-menu-option {
    font-size: 10px !important;
    padding-top: 0px !important;
  }

}