.auth-modal-box {
  width: min(100%, 430px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.auth-modal-subtitle {
  margin: -4px 0 4px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-modal-actions button:disabled,
.auth-modal-switch button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.auth-modal-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.auth-modal-switch button {
  border: 0;
  padding: 3px 4px;
  color: var(--accent-hover);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-modal-switch button:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 560px) {
  .auth-modal-overlay {
    padding: 14px;
  }

  .auth-modal-box {
    padding: 22px 18px;
  }

  .top-login-area {
    gap: 5px;
  }

  .top-login-area .top-ghost-btn,
  .top-login-area .top-primary-btn {
    min-height: 34px;
    padding: 0 11px;
  }
}
