.auth-flow-modal {
  color: #1d1f21;
}

.auth-flow-shell {
  width: 100%;
}

.auth-flow-column {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.auth-flow-modal--register .auth-flow-column {
  max-width: 560px;
}

.auth-flow-modal--login .auth-flow-column,
.auth-flow-modal--password .auth-flow-column {
  max-width: 460px;
}

.auth-flow-card {
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.auth-flow-card__header {
  padding: 16px 18px 10px !important;
  border-bottom: 1px solid #eceff3 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.auth-flow-card__heading {
  padding-right: 28px;
}

.auth-flow-card__title {
  margin: 0;
  color: #66615b;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.auth-flow-card__subtitle {
  margin: 6px 0 0;
  color: #7a7f87;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
}

.auth-flow-card__messages {
  padding: 12px 18px 0;
}

.auth-flow-card__body {
  padding: 14px 18px 6px;
  color: #66615b;
  font-size: 14px;
  font-weight: 500;
  background:white;
}

.auth-flow-card__body--register {
  padding-bottom: 0;
}

.auth-flow-card__footer {
  padding: 22px 18px 22px;
  border-top: 1px solid #f0f2f5;
  background: #fff;
}

.auth-flow-card__aux {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  justify-content: center;
}

.auth-flow-card__aux--register {
  justify-content: center;
  margin-top: 14px;
}

.auth-flow-card__aux a {
  color: #51cbce !important;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.auth-flow-card__aux a:hover,
.auth-flow-card__aux a:focus {
  color: #35b8bc !important;
  text-decoration: none;
}

.auth-flow-card .form-item,
.auth-flow-card .js-form-item,
.auth-flow-card .form-group {
  margin-bottom: 10px;
}

.auth-flow-card label {
  display: block;
  margin-bottom: 1px;
  color: #4f4b47;
  font-size: 11.9px;
  font-weight: 600;
}

.auth-flow-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.auth-flow-card select,
.auth-flow-card textarea {
  width: 100%;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #d7dce3;
  border-radius: 8px;
  background: #fff;
  color: #1d1f21;
  box-shadow: none;
}

.auth-flow-card input:focus,
.auth-flow-card select:focus,
.auth-flow-card textarea:focus {
  border-color: #b6c7e6;
  box-shadow: 0 0 0 0.2rem rgba(80, 121, 199, 0.14);
  outline: 0;
}

.auth-flow-card input[readonly],
.auth-flow-card input[disabled],
.auth-flow-card select[readonly],
.auth-flow-card select[disabled],
.auth-flow-card textarea[readonly],
.auth-flow-card textarea[disabled] {
  background-color: #e3e3e3 !important;
  color: #66615b !important;
  cursor: not-allowed !important;
}

.auth-flow-card__social--top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-flow-card__social-divider {
  position: relative;
  margin: 12px 0;
  text-align: center;
  width: 100%;
}

.auth-flow-card__social-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #eceff3;
}

.auth-flow-card__social-divider span {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  background: #fff;
  color: #8b9199;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-flow-card__social-button,
a.auth-flow-card__social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 8px 16px;
  border: 1px dashed #d4dae3;
  border-radius: 30px;
  background: #f7f9fc;
  color: #8b9199;
  font-size: 0.8571em;
  font-weight: 700;
  line-height: 1.35em;
  text-decoration: none;
  text-transform: none;
  box-shadow: none;
}

.auth-flow-card__social-button {
  cursor: not-allowed;
  opacity: 1;
}

.auth-flow-card__social-button:hover,
.auth-flow-card__social-button:focus,
a.auth-flow-card__social-button:hover,
a.auth-flow-card__social-button:focus {
  background: #eef3f9;
  color: #46505c;
  border-color: #c7d1de;
  text-decoration: none;
  box-shadow: none;
}

.auth-flow-card .button,
.auth-flow-card .btn,
.auth-flow-card .form-actions .button,
.auth-flow-card .form-actions .btn,
.auth-flow-card input.form-submit,
.auth-flow-card button.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  margin-top: 6px;
  margin-bottom: 6px;
  padding: 11px 22px;
  border: none;
  border-radius: 30px;
  background-color: #51bcda;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35em;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: none;
}

.auth-flow-card .button:hover,
.auth-flow-card .button:focus,
.auth-flow-card .btn:hover,
.auth-flow-card .btn:focus,
.auth-flow-card input.form-submit:hover,
.auth-flow-card input.form-submit:focus,
.auth-flow-card button.form-submit:hover,
.auth-flow-card button.form-submit:focus {
  background: #f5b031;
  color: #fff;
  box-shadow: none;
}

.auth-flow-card .form-actions {
  margin-bottom: 0;
}

.auth-flow-card .bloco-field-invalid,
.auth-flow-card .form-control.is-invalid,
.auth-flow-card .error,
.auth-flow-card [aria-invalid="true"] {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.register-form__section + .register-form__section {
  margin-top: 8px;
}

.register-form__section--minimal .form-item:last-child,
.register-form__section--minimal .js-form-item:last-child,
.register-form__section--minimal .form-group:last-child {
  margin-bottom: 0;
}

.register-form__section-title {
  margin: 0 0 8px;
  padding-top: 2px;
  color: #66615b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-form__name-grid,
.register-form__address-grid {
  display: grid;
  gap: 0 12px;
}

.register-form__name-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.register-form__address {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.register-form__address-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 12px;
  width: 100%;
}

.register-form__field {
  display: block;
  min-width: 0;
}

.register-form__field--postal-code {
  flex: 0 0 100px;
  max-width: 100px;
}

.register-form__field--street {
  flex: 1 1 auto;
}

.register-form__field--street-number {
  flex: 0 0 180px;
  max-width: 180px;
}

.register-form__field--state {
  flex: 0 0 180px;
  max-width: 180px;
}

.register-form__field--city {
  flex: 1 1 auto;
}

.register-form__field--full {
  flex: 1 1 100%;
}

.register-form__field > .form-item,
.register-form__field > .js-form-item,
.register-form__field > .form-group {
  width: 100%;
}

.full-page > .auth-page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 0 56px;
}

.auth-page-shell {
  display: flex;
  justify-content: center;
}

.auth-page-shell__content {
  width: 100%;
  max-width: 720px;
}

.auth-page-shell__content--login,
.auth-page-shell__content--password {
  max-width: 460px;
}

.auth-page-shell__content--register {
  max-width: 560px;
}

.auth-page-shell__content > .card,
.auth-page-shell__content > .auth-flow-modal {
  margin-bottom: 0;
}

.button-close {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 5%;
  top: 17px;
  padding-left: 1px;
  padding-right: 1px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.button-close:hover,
.button-close:focus {
  opacity: 1;
}

.google-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: #f1f3f4;
  color: #3c4043;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.google-btn-pill:hover {
  background: #e8eaed;
}

a.google-btn-pill:hover {
  color: #3c4043;
  text-decoration: none;
}

.google-btn-pill:active {
  background: #dadce0;
}

.google-btn-pill:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.google-icon {
  display: flex;
}

.google-text {
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .auth-flow-card__header,
  .auth-flow-card__body,
  .auth-flow-card__footer,
  .auth-flow-card__messages {
    padding-left: 14px;
    padding-right: 14px;
  }

  .register-form__name-grid,
  .register-form__address-grid {
    grid-template-columns: 1fr;
  }

  .register-form__address-row {
    display: block;
  }

  .register-form__field--postal-code,
  .register-form__field--street-number,
  .register-form__field--state,
  .register-form__field--city,
  .register-form__field--street,
  .register-form__field--full {
    flex: none;
    max-width: none;
  }

  .full-page > .auth-page-content {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 40px;
  }
}
