.auth-page {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: #f4f5f7;
  font-family: Inter, sans-serif;
  color: #1f2430;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(31, 36, 48, 0.08);
  padding: 36px 32px 32px;
}

.auth-logo {
  display: block;
  width: 168px;
  height: auto;
  margin: 0 auto 28px;
}

.auth-card h1 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  text-align: center;
  color: #1f2430;
}

.auth-lead {
  margin: 0 0 24px;
  text-align: center;
  color: #6b7289;
  font-size: 14px;
  line-height: 1.5;
}

.auth-alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.auth-alert-danger {
  background: #fff1f1;
  color: #b42318;
}

.auth-alert-success {
  background: #edfdf2;
  color: #067647;
}

.auth-alert-notice {
  background: #e7f6fd;
  color: #0878a8;
  border: 1px solid rgba(0, 168, 232, 0.28);
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3a4152;
}

.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e4e7ee;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #1f2430;
  outline: none;
  box-sizing: border-box;
}

.auth-field input:focus {
  border-color: var(--dhapat-button);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.18);
}

.auth-password {
  position: relative;
}

.auth-password input {
  padding-right: 46px;
}

.auth-eye {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #8b93a7;
  cursor: pointer;
}

.auth-error {
  margin: 6px 0 0;
  color: #b42318;
  font-size: 12px;
}

.auth-submit {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: #00a8e8;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auth-submit:hover {
  background: #0096cf;
}

.auth-submit-secondary {
  background: #fff;
  color: #00a8e8;
  border: 1px solid #00a8e8;
  margin-top: 10px;
}

.auth-submit-secondary:hover {
  background: #e7f6fd;
}

.auth-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.otp-boxes {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.otp-digit {
  width: 100%;
  height: 56px;
  border: 1px solid #e4e7ee;
  border-radius: 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #1f2430;
  outline: none;
  box-sizing: border-box;
}

.otp-digit:focus,
.otp-digit:not(:placeholder-shown) {
  border-color: #00a8e8;
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.18);
}

.auth-note {
  min-height: 18px;
  margin: 8px 0 0;
  text-align: center;
  color: #6b7289;
  font-size: 13px;
}

.auth-qr {
  display: flex;
  justify-content: center;
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid #e4e7ee;
  border-radius: 12px;
  background: #fff;
}

.auth-qr svg {
  display: block;
  width: 200px;
  height: 200px;
}

.auth-secret {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e4e7ee;
  border-radius: 10px;
  background: #f7f8fa;
  color: #1f2430;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  word-break: break-all;
}

.auth-link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

@media (max-width: 420px) {
  .auth-card {
    padding: 28px 18px 24px;
  }

  .otp-digit {
    height: 48px;
    font-size: 20px;
  }
}
