/* Modal overlay */
.homeModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.homeModal[aria-hidden="false"] {
  display: flex;
}

.homeModalOverlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.homeFormContainer {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0px 4px 6.6px 0px #00000026;
}

.closeButton {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: #EFEFEF;
  color: #333;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.closeButton:hover {
  background: #e0e0e0;
}

.homeFormTop {
  margin-bottom: 20px;
}

.homeFormTopTitle {
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-align: center;
  line-height: 1.35;
  color: black;
}

.HomeFormRow {
  margin-bottom: 16px;
}

.HomeFormRowLabel {
  display: block;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: black;
}

.phone-input-container {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #BCBCBC;
  border-radius: 12px;
  overflow: hidden;
}

.selected-country {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: black;
  background: #F5F5F5;
  border: none;
  cursor: default;
}

.phone-field {
  flex: 1;
  min-width: 0;
}

.phone-field .phone-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  color: black;
  border: none;
  background: transparent;
  outline: none;
}

.phone-field .phone-input::placeholder {
  color: #999;
}

.homeFormErrorText {
  margin: 6px 0 0;
  font-size: 13px;
  color: #d32f2f;
  display: none;
}

.HomeFormBtn {
  width: 100%;
  padding: 17px 20px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  background-color: #3477FF;
  box-shadow: 0px 5px 0px 0px #0445C8;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  margin-top: 8px;
}

.HomeFormBtn:hover {
  background-color: #2860e0;
}

.country-dropdown {
  display: none;
}
