.eas {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
}
.eas *, .eas *::before, .eas *::after {
  box-sizing: border-box;
}
.eas:not(.eas--inline) {
  width: min(100% - 24px, 420px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  overflow: visible;
}
.eas:not(.eas--inline)[open] {
  animation: eas-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.eas:not(.eas--inline)::backdrop {
  background: rgba(15, 12, 22, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@media (max-width: 560px) {
  .eas:not(.eas--inline) {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
  }
  .eas:not(.eas--inline) .eas__card {
    border-radius: 26px 26px 0 0;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
  .eas:not(.eas--inline)[open] {
    animation: eas-up 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
.eas--inline {
  width: min(100%, 420px);
  margin: 0 auto;
}
.eas__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100dvh - 24px);
  padding: 28px 26px 24px;
  overflow-y: auto;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(15, 12, 22, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.04);
  text-align: center;
}
.eas--inline .eas__card {
  box-shadow: 0 20px 60px -24px rgba(15, 12, 22, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.eas__x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f7;
  color: #6e6e73;
  cursor: pointer;
}
.eas__x:hover {
  color: #1d1d1f;
  background: #ebebef;
}
.eas__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 2px;
  border-radius: 16px;
  background: #fff8ec;
  box-shadow: inset 0 0 0 1px rgba(214, 160, 40, 0.2);
}
.eas__title {
  margin: 0;
  font: 700 1.3rem/1.25 "Poppins", sans-serif;
  letter-spacing: -0.02em;
}
.eas__text {
  margin: -4px 0 4px;
  color: #6e6e73;
  font-size: 0.9rem;
  line-height: 1.5;
}
.eas__google {
  margin: 0;
}
.eas__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  font: 600 0.95rem "Inter", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s, opacity 0.2s;
}
.eas__btn:active {
  transform: scale(0.98);
}
.eas__btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.eas__btn--google {
  background: #fff;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.eas__btn--google:hover {
  background: #f5f5f7;
}
.eas__btn--dark {
  margin-top: 4px;
  background: #1d1d1f;
  color: #fff;
}
.eas__btn--dark:hover {
  background: #000;
}
.eas__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  color: #86868b;
  font-size: 0.78rem;
}
.eas__or::before, .eas__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}
.eas__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: 999px;
  background: #f5f5f7;
}
.eas__tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: #6e6e73;
  font: 600 0.86rem "Inter", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.eas__tabs button[aria-selected=true] {
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.eas__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  text-align: left;
}
.eas__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.eas__field[hidden] {
  display: none;
}
.eas__field > span:first-child {
  color: #6e6e73;
  font-size: 0.78rem;
  font-weight: 600;
}
.eas__field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 13px;
  background: #f5f5f7;
  font: 500 0.95rem "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.eas__field input:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #0071e3;
}
.eas__field.is-invalid input {
  background: #fff5f5;
  box-shadow: inset 0 0 0 1.5px #c62828;
}
.eas__pw {
  position: relative;
  display: block;
}
.eas__pw input {
  padding-right: 46px;
}
.eas__eye {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #86868b;
  cursor: pointer;
  transform: translateY(-50%);
}
.eas__eye:hover {
  color: #1d1d1f;
}
.eas__hint {
  color: #86868b;
  font-size: 0.74rem;
}
.eas__hint[hidden] {
  display: none;
}
.eas__error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fdecec;
  color: #c62828;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
}
.eas__error[hidden] {
  display: none;
}
.eas__forgot {
  align-self: center;
  color: #6e6e73;
  font-size: 0.82rem;
  text-decoration: none;
}
.eas__forgot:hover {
  color: #1d1d1f;
  text-decoration: underline;
}
.eas__forgot[hidden] {
  display: none;
}
.eas__fine {
  margin: 0;
  color: #86868b;
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: center;
}
.eas__fine[hidden] {
  display: none;
}
.eas__fine a {
  color: #6e6e73;
}

body.eas-open {
  overflow: hidden;
}

@keyframes eas-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}
@keyframes eas-up {
  from {
    transform: translateY(40px);
    opacity: 0.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eas[open] {
    animation: none !important;
  }
}
