.ponto-auth-modal[hidden] {
  display: none !important;
}

.ponto-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.ponto-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 18, 0.72);
  backdrop-filter: blur(4px);
}

.ponto-auth-modal__dialog {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
}

.ponto-auth-modal__surface {
  position: relative;
  /* width: min(100%, 560px); */
}

.ponto-auth-modal__close-icon {
  width: 16px;
  height: 16px;
  margin-bottom: 7px;
}

.ponto-auth-modal__content .auth-flow-modal {
  margin: 0;
}

.ponto-auth-modal__content .button-close {
  display: none !important;
}

.ponto-auth-modal__content .auth-flow-shell {
  min-height: auto;
  padding: 0;
}

.ponto-auth-modal__content .auth-flow-card {
  margin-bottom: 0;
}

.ponto-auth-modal__content .auth-flow-card__body {
  padding: 15px !important;
}

.ponto-auth-modal__close {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 25px;
  top: 17px;
  padding-left: 1px;
  padding-right: 1px;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 2;
}

.ponto-auth-modal__close:hover,
.ponto-auth-modal__close:focus {
  opacity: 1;
}

.ponto-auth-modal__loading {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  padding: 16px 18px 18px;
}

.ponto-auth-modal__title {
  margin: 0;
  color: #66615b;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.ponto-auth-modal__subtitle {
  margin: 6px 0 0;
  color: #7a7f87;
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: center;
}

body.ponto-auth-modal-open {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .ponto-auth-modal__dialog {
    padding: 12px;
  }

  .ponto-auth-modal__close {
    top: 10px;
    right: 10px;
  }

  .ponto-auth-modal__surface {
    width: 100%;
  }

  .ponto-auth-modal__content .auth-flow-card__title {
    font-size: 2.5rem;
  }
}
