/* FORM styling */
.back-in-stock-form {
  display: none;
  position: fixed;
  /* not sure what the correct z-index would be for a modal */
  z-index: 2147483647;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.back-in-stock-form-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background-color: #ffffff;
  margin: 10vh auto 2vh;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 540px;
}

.back-in-stock-form-header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  justify-content: space-between;
}

.back-in-stock-form-header-text {
  margin: 0;
  margin-right: auto;
  font-size: 20px;
  font-weight: 700;
  color: rgb(18, 18, 18);
}

.back-in-stock-form-description {
  font-size: 13px;
  font-weight: 450;
  margin: 0;
  color: rgba(18, 18, 18, 0.75);
}

.back-in-stock-form-variant-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* flex-wrap: wrap; */
}

.back-in-stock-form-variant-image {
  max-width: 80px;
  margin-right: 2rem;
  border-radius: 8px;
}

.back-in-stock-form-variant-title {
  font-size: 24px;
  font-weight: 700;
  color: #303030;
  text-align: center;
}

.back-in-stock-form-actual-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.back-in-stock-form-variant-select-container {
  position: relative;
  margin: 0;
  border-radius: 8px;
}

.back-in-stock-form-variant-select-inline-label {
  display: block;
  margin: 0;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 450;
  color: rgba(18, 18, 18, 0.75);
  font-family: Assistant, sans-serif;
  text-transform: none;
}

.back-in-stock-form-variant-select {
  height: 36px;
  width: 100%;
  padding-left: 8px;
  font-family: Arial;
  font-size: 16px;
  font-weight: 450;
  color: #303030;
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(118, 118, 118);
  padding-bottom: 0;
  padding-top: 0;
}

.back-in-stock-form-email-label {
  display: block;
  margin: 0;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 450;
  color: rgba(18, 18, 18, 0.75);
  font-family: Assistant, sans-serif;
  text-transform: none;
}

.back-in-stock-form-email-label.hasError {
  color: #ba0000;
}

.back-in-stock-form-email-input {
  width: 100%;
  min-height: 32px;
  border-radius: 8px;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(118, 118, 118);
  padding: 6px 12px;
  color: #303030;
}

.back-in-stock-form-email-input.hasError {
  color: #ba0000;
  border-color: #ba0000;
}

.back-in-stock-form-email-error {
  display: none;
  color: #ba0000;
  margin: 0;
}

.back-in-stock-form-error-message {
  display: none;
  color: #ba0000;
}

.back-in-stock-form-subscribe-button {
  /* base settings */
  min-height: 48px;
  width: 100%;
  font-size: 1.5rem;
  font-weight: 600;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  margin: 0;
  border: none;
  cursor: pointer;
  text-align: center;
}

.back-in-stock-form-footer-text {
  font-size: 12px;
  font-weight: 450;
  color: #616161;
  margin: 0;
}

@media only screen and (max-width: 576px) {
  .back-in-stock-form-content {
    width: calc(100% - 2 * 16px);
    margin: 2vh auto 2vh;
  }

  .back-in-stock-form-variant-info {
    flex-direction: column;
  }

  .back-in-stock-form-product-hyphen {
    display: none;
  }
}
