* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gotham Rounded Book", "Gotham Rounded", sans-serif;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-container {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #fff;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.form {
  display: flex;
  max-width: 32.5rem;
  width: 100%;
  flex-direction: column;
  gap: 1.875rem;
  padding: 0 2.1875rem;
}

@media (max-width: 768px) {
  .form {
    gap: 1.25rem;
    padding: 0 1.25rem;
  }
}

.required-fields-text {
  font-size: 0.6875rem;
  color: #000;
  line-height: 0.825rem;
  margin-bottom: 0;
}

.form input:not([type="checkbox"]),
.form select {
  border: 0;
  border-bottom: 1px solid #000;
  background-color: transparent;
  outline: none;
  padding-bottom: 0.9375rem;
  font-size: 0.9375rem;
  line-height: 1.125rem;
  font-family: inherit;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form select {
  cursor: pointer;
  color: #000;
  padding-top: 0;
}

.form select option {
  font-family: "Gotham Rounded Book", sans-serif;
  background: white;
  color: black;
}

.form input::placeholder {
  color: #000;
  font-size: 0.9375rem;
  line-height: 1.125rem;
  font-family: "Gotham Rounded Book", sans-serif;
}

@media (max-width: 768px) {
  .form input::placeholder, .form select {
    font-size: 0.75rem;
    line-height: 0.9rem;
  }
  .form input:not([type="checkbox"]), .form select {
    padding-bottom: 0.625rem;
    font-size: 0.75rem;
  }
}

/* fragrância favorita */
.fragrance-group {
  margin: 0.5rem 0 0;
}

.fragrance-group > label {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: #000;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-option input[type="radio"] + span:before {
  content: "";
  width: 17px;
  height: 17px;
  background-color: #fff;
  border: 1.5px solid #000;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 50%;
}

.radio-option input[type="radio"]:checked + span:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17'%3E%3Ccircle cx='8.5' cy='8.5' r='7.5' fill='white' stroke='black' stroke-width='1.5'/%3E%3Ccircle cx='8.5' cy='8.5' r='4' fill='black'/%3E%3C/svg%3E");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 50%;
}

.radio-option span {
  font-size: 0.875rem;
  line-height: 1rem;
  display: inline-flex;
  align-items: center;
}

/* Caixas de aceite */
.optin-block {
  margin: 0.5rem 0;
}

.optin-block label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  line-height: 0.825rem;
  cursor: pointer;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label:before {
  content: "";
  width: 17px;
  height: 17px;
  background-color: #fff;
  border: 1.5px solid #000;
  display: inline-block;
  vertical-align: middle;
}

input[type="checkbox"]:checked + label:before {
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.15' y='0.15' width='16.7' height='16.7' stroke='black' stroke-width='0.3' fill='white'/%3E%3Crect x='3' y='3' width='11' height='11' fill='black'/%3E%3C/svg%3E%0A");
  background-position: center;
}

.submit-form-btn {
  width: 100%;
  border: 1px solid #000;
  background-color: transparent;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1rem;
  height: 2.875rem;
  font-family: inherit;
  transition: background 0.2s ease;
}

.submit-form-btn:hover {
  background-color: #f7f7f7;
}

.submit-form-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.sucess-msg,
.error-msg {
  display: none;
  text-align: center;
  font-size: 1rem;
}

.error-msg {
  color: rgb(207, 48, 48);
}

@media (max-width: 768px) {
  .submit-form-btn {
    height: 1.875rem;
    font-size: 0.75rem;
  }
  .sucess-msg,
  .error-msg {
    font-size: 0.75rem;
  }
  .radio-option span {
    font-size: 0.75rem;
  }
}

a {
  color: #000;
  text-decoration: underline;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
}
.custom-select-wrapper select {
  width: 100%;
  background: transparent;
  z-index: 2;
}