.epa-auth {
  max-width: 480px;
  margin: 1.5rem auto;
}

.epa-auth__card {
  padding: 1.5rem;
  border: 1px solid #d7dde5;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.epa-auth__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.epa-auth__description {
  margin: 0 0 1rem;
  color: #4f5b6a;
}

.epa-auth__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.epa-auth__input {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 0.9rem;
  border: 1px solid #c6d0db;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

.epa-auth__password-wrap {
  position: relative;
  margin-bottom: 0.9rem;
}

.epa-auth__password-wrap .epa-auth__input {
  padding-right: 4.8rem;
  margin-bottom: 0;
}

.epa-auth__password-toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  color: #3E64DE;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.epa-auth__button {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 12px;
  background: #3E64DE;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.epa-auth__button[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.epa-auth__message {
  min-height: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.epa-auth__message.is-success {
  color: #0f8a4b;
}

.epa-auth__message.is-error {
  color: #b42318;
}

.epa-auth__step--verify {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #d7dde5;
}

.epa-auth__footer {
  margin-top: 15px;
  text-align: center;
  font-size: 0.9em;
  color: #4f5b6a;
}

.epa-auth__footer div + div {
  margin-top: 0.35rem;
}

.epa-auth__footer a {
  color: #3E64DE;
  font-weight: 600;
  text-decoration: none;
}
