/* ============================================================
   auth.css — Auth pages (login, confirm code)
   Centered single-panel layout, no split.
   ============================================================ */

/* Page wrapper: full viewport, 20px padding */
.wd-auth {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 375px;
  height: 100%;
  min-height: 800px;
  padding: var(--wd-space-5);
}

/* Single panel: full size, rounded, relative for logo + form */
.wd-auth__panel {
  flex: 1 1 0;
  height: 100%;
  min-height: 0;
  border-radius: var(--wd-radius-md);
  overflow: hidden;
  position: relative;
}

/* Logo: centered at top */
.wd-auth__logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 50px;
}

.wd-auth__logo img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Form container: centered both axes */
.wd-auth__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - var(--wd-space-5) * 2);
  max-width: var(--wd-form-max-w);
  display: flex;
  flex-direction: column;
  gap: var(--wd-space-5);
}

/* Auth header: overline + H1 + optional description */
.wd-auth-header {
  display: flex;
  flex-direction: column;
  gap: var(--wd-space-4);
  text-align: center;
  color: var(--wd-text-primary);
}

/* Legal text */
.wd-auth-legal {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: var(--wd-text-primary);
}

.wd-auth-legal a {
  font-weight: 700;
  text-decoration: underline;
}

/* Form controls inside auth */
.wd-auth__container .form-control {
  height: var(--wd-input-h);
}
