```css
/* ============================================================
   OpenRelasi Auth — Login / Register / Magic Link Styles
   ============================================================
   Extracted from auth/layout.php inline <style> block.
   Uses canonical tokens from openrelasi-public.css (:root vars).
   ============================================================ */


/* ---- Page Shell ---- */
.auth-page {
  min-height: 100vh;
  display: flex;
  background: var(--c-bg);
}


/* ---- Left Showcase Panel (desktop only) ---- */
.auth-showcase {
  display: none;
  position: relative;
  flex: 1.15;
  min-height: 100vh;
  padding: 48px 56px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(13,192,224,.34), transparent 62%),
    radial-gradient(700px 480px at -10% 112%, rgba(13,192,224,.2), transparent 60%),
    linear-gradient(165deg, #06222C 0%, #0B2C38 48%, #07475A 100%);
  flex-direction: column;
  justify-content: space-between;
}

.auth-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125,231,246,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125,231,246,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    700px 480px at 30% 0%,
    #000 5%,
    transparent 70%
  );
  mask-image: radial-gradient(
    700px 480px at 30% 0%,
    #000 5%,
    transparent 70%
  );
  pointer-events: none;
}

.auth-showcase > * {
  position: relative;
  z-index: 1;
}

.auth-showcase__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.auth-showcase__brand img {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}

.auth-showcase__brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: .01em;
}

.auth-showcase__body {
  max-width: 520px;
}

.auth-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .34rem .8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(125,231,246,.32);
  background: rgba(125,231,246,.1);
  color: #9DEFF9;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.auth-showcase__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-primary-light);
  box-shadow: 0 0 0 4px rgba(13,192,224,.22);
}

.auth-showcase__body h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
}

.auth-showcase__body p {
  margin: 0 0 26px;
  color: rgba(255,255,255,.72);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 42em;
}

.auth-showcase__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.auth-showcase__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}

.auth-showcase__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    var(--c-primary-light),
    var(--c-primary-600)
  );
  color: #06222C;
  box-shadow: 0 8px 18px -6px rgba(13,192,224,.55);
}

.auth-showcase__check svg {
  width: 15px;
  height: 15px;
}

.auth-showcase__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}

.auth-showcase__avatars {
  display: flex;
}

.auth-showcase__avatars span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #0B2C38;
  background: linear-gradient(135deg, #7DE7F6, #078CA7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: #06222C;
  margin-left: -8px;
}

.auth-showcase__avatars span:first-child {
  margin-left: 0;
}


/* ---- Right Form Panel ---- */
.auth-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 56px;
  background: var(--c-bg);
  position: relative;
}

.auth-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      640px 420px at 50% -6%,
      rgba(13,192,224,.08),
      transparent 64%
    );
  pointer-events: none;
}

.auth-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 464px;
  margin-bottom: 20px;
}

.auth-mobile-header .brand img {
  height: 32px;
  width: auto;
}

.auth-mobile-header .auth-mobile-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-primary-700);
  text-decoration: none;
}

.auth-mobile-header .auth-mobile-link:hover {
  color: var(--c-primary-deep);
}


/* ---- Auth Card ---- */
.auth-card {
  width: 100%;
  max-width: 464px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -32px rgba(11,32,41,.28);
  padding: 42px 40px;
  position: relative;
}

.auth-card__logo {
  display: flex;
  justify-content: center;
  margin: 0 0 24px;
  text-decoration: none;
}

.auth-card__logo img {
  height: 42px;
  width: auto;
  max-width: 100%;
}

.auth-card__brand {
  text-align: center;
  margin-bottom: 26px;
}

.auth-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--c-dark);
  text-align: center;
  margin: 0 0 6px;
  letter-spacing: 0;
}

.auth-card__subtitle {
  text-align: center;
  color: var(--c-muted);
  font-size: .95rem;
  margin: 0 0 8px;
}


/* ---- Auth Alert ---- */
.auth-alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: .9rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-alert::before {
  font-weight: 800;
  flex: none;
  line-height: 1.4;
}

.auth-alert--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.auth-alert--error::before {
  content: '!';
}

.auth-alert--success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.auth-alert--success::before {
  content: '\2713';
}


/* ---- Auth Field ---- */
.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-weight: 600;
  font-size: .87rem;
  color: var(--c-dark);
  margin-bottom: 7px;
}

.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="text"],
.auth-field input[type="number"] {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--c-line, #D1D9E0);
  border-radius: 12px;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-white);
  transition:
    border-color .2s,
    box-shadow .2s;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(11,32,41,.04);
}

.auth-field input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(13,192,224,.16);
}

.auth-field input::placeholder {
  color: var(--c-muted);
  opacity: .6;
}

.auth-field .auth-field__hint {
  margin-top: 7px;
  font-size: .8rem;
  color: var(--c-muted);
  line-height: 1.5;
}


/* ---- Auth Check (remember / forgot) ---- */
.auth-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 22px;
}

.auth-check .auth-check__left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.auth-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--c-primary);
}

.auth-check label {
  font-size: .88rem;
  color: var(--c-text);
  cursor: pointer;
}

.auth-check .auth-check__forgot {
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-primary-700);
  text-decoration: none;
}

.auth-check .auth-check__forgot:hover {
  color: var(--c-primary-deep);
  text-decoration: underline;
}


/* ---- Auth Button ---- */
.auth-card .button {
  margin-top: 6px;
}

.auth-card .button--lg {
  min-height: 48px;
  border-radius: 12px;
}


/* ---- Auth Divider ---- */
.auth-divider {
  text-align: center;
  margin: 24px 0 18px;
  position: relative;
  color: var(--c-muted);
  font-size: .8rem;
  font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 24px);
  height: 1px;
  background: var(--c-line, #D1D9E0);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}


/* ---- Auth Links ---- */
.auth-links {
  text-align: center;
  margin-top: 22px;
  font-size: .9rem;
  color: var(--c-muted);
}

.auth-links a {
  color: var(--c-primary-700);
  text-decoration: none;
  font-weight: 700;
}

.auth-links a:hover {
  color: var(--c-primary-deep);
  text-decoration: underline;
}

.auth-links p {
  margin: 9px 0;
}

.auth-links p.auth-links__back {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line-soft);
}

.auth-links p.auth-links__back a {
  color: var(--c-muted);
  font-weight: 600;
}

.auth-links p.auth-links__back a:hover {
  color: var(--c-primary-700);
}


/* ---- Token Input (2FA / Magic Link) ---- */
.auth-token-input {
  text-align: center;
  font-size: 1.3rem;
  letter-spacing: .3em;
  font-variant-numeric: tabular-nums;
}

.auth-token-input::-webkit-outer-spin-button,
.auth-token-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.auth-token-input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}


/* ============================================================
   Password Component
   ============================================================ */

/* Field spacing */
.auth-field--password,
.auth-field--confirm {
  margin-bottom: 20px;
}


/*
 * Password wrapper is the actual visual input box.
 * Input and toggle live inside the same bordered container.
 */
.password-field {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1.5px solid var(--c-line, #D1D9E0);
  border-radius: 12px;
  background: var(--c-white);
  box-shadow: inset 0 1px 2px rgba(11,32,41,.04);
  overflow: hidden;
  transition:
    border-color .2s,
    box-shadow .2s;
}


/*
 * Focus belongs to the complete password component,
 * not to a separate input box.
 */
.password-field:focus-within {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(13,192,224,.16);
}


/*
 * Password input has no independent border.
 * It fills the wrapper and leaves room for the toggle.
 */
.password-field input[type="password"],
.password-field input[type="text"] {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 13px 8px 13px 15px;
  border: 0;
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
  background: transparent;
  box-shadow: none;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--c-text);
}


/*
 * Prevent the generic .auth-field input:focus rule
 * from recreating a second border around the input.
 */
.password-field input[type="password"]:focus,
.password-field input[type="text"]:focus {
  outline: none;
  border: 0;
  box-shadow: none;
}


/*
 * Toggle is physically inside the password-field box.
 * It occupies the right-side area of the same component.
 */
.password-field .password-toggle {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 46px;
  min-width: 44px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #6B7C88;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  z-index: 2;
}


/*
 * Keep the hover state contained within the right side
 * of the password input box.
 */
.password-field .password-toggle:hover {
  background: #F1F5F9;
  color: var(--c-dark);
}


/*
 * Keyboard accessibility.
 */
.password-field .password-toggle:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: -4px;
}


/*
 * SVG icon remains centered inside the toggle area.
 */
.password-field .password-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex: none;
  pointer-events: none;
}


/*
 * Default state: Show password icon.
 */
.password-field .password-toggle .icon-hide {
  display: none;
}


/*
 * Active state: Hide password icon.
 */
.password-field .password-toggle[aria-pressed="true"] .icon-show {
  display: none;
}

.password-field .password-toggle[aria-pressed="true"] .icon-hide {
  display: block;
}


/* ---- Password Hint ---- */
.password-hint {
  margin: 8px 0 0;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--c-muted);
}

.password-hint[hidden] {
  display: none;
}


/* ---- Password Strength ---- */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.password-strength[hidden] {
  display: none;
}

.password-strength__bar {
  flex: 1;
  min-width: 0;
  height: 5px;
  border-radius: 999px;
  background: #E7EEF2;
  overflow: hidden;
}

.password-strength__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #DC2626;
  transition:
    width .25s ease,
    background-color .25s ease;
}

.password-strength.is-weak .password-strength__fill {
  width: 33%;
  background: #DC2626;
}

.password-strength.is-medium .password-strength__fill {
  width: 66%;
  background: #D97706;
}

.password-strength.is-strong .password-strength__fill {
  width: 100%;
  background: #16A34A;
}

.password-strength__label {
  flex: none;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-muted);
}

.password-strength.is-weak .password-strength__label {
  color: #B91C1C;
}

.password-strength.is-medium .password-strength__label {
  color: #B45309;
}

.password-strength.is-strong .password-strength__label {
  color: #15803D;
}


/* ---- Password Checklist ---- */
.password-checklist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
}

.password-checklist li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  line-height: 1.4;
  color: var(--c-muted);
}

.password-checklist .check-icon {
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #CBD5DC;
  background: #fff;
  color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
}

.password-checklist li.is-met {
  color: #3F4C55;
}

.password-checklist li.is-met .check-icon {
  border-color: #16A34A;
  background: #16A34A;
  color: #fff;
}

.password-checklist .optional-badge {
  font-size: .66rem;
  font-weight: 700;
  color: #8A9AA5;
  background: #F1F5F9;
  border-radius: 999px;
  padding: 1px 7px;
  margin-left: 2px;
  white-space: nowrap;
}


/* ---- Password Match ---- */
.password-match {
  margin: 8px 0 0;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  display: none;
  align-items: center;
  gap: 6px;
}

.password-match.is-shown {
  display: flex;
}

.password-match.is-success {
  color: #15803D;
}

.password-match.is-error {
  color: #B91C1C;
}


/* ---- Responsive ---- */
@media (min-width: 1024px) {
  .auth-showcase {
    display: flex;
  }

  .auth-mobile-header {
    display: none;
  }
}

@media (max-width: 520px) {
  .auth-panel {
    padding: 28px 16px 44px;
  }

  .auth-card {
    padding: 30px 22px;
    border-radius: 16px;
  }

  .password-field input[type="password"],
  .password-field input[type="text"] {
    height: 46px;
    padding-left: 14px;
    padding-right: 6px;
  }

  .password-field .password-toggle {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 46px;
    min-height: 46px;
  }
}

@media (max-width: 380px) {
  .password-checklist {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
```
