/* =========================================================
   PromoFast — Shared design system (auth + home)
   ========================================================= */

:root {
  --pf-font: "DM Sans", system-ui, sans-serif;
  --pf-display: "Outfit", system-ui, sans-serif;

  --pf-ink: #0b1020;
  --pf-ink-soft: #151d32;
  --pf-ink-muted: #5c6b8a;

  --pf-surface: #ffffff;
  --pf-surface-soft: #f7f9fc;
  --pf-line: #e4eaf4;
  --pf-line-strong: #cdd7e8;

  --pf-teal: #0d9488;
  --pf-teal-dark: #0f766e;
  --pf-teal-glow: rgba(13, 148, 136, 0.18);
  --pf-blue: #2563eb;
  --pf-blue-glow: rgba(37, 99, 235, 0.15);
  --pf-gold: #d97706;
  --pf-gold-soft: #fff7ed;

  --pf-danger: #dc2626;
  --pf-danger-bg: #fef2f2;
  --pf-success: #059669;
  --pf-success-bg: #ecfdf5;

  --pf-gradient-brand: linear-gradient(135deg, #0d9488 0%, #2563eb 100%);
  --pf-gradient-mesh: radial-gradient(circle at 12% 18%, rgba(13, 148, 136, 0.35) 0%, transparent 42%), radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.28) 0%, transparent 40%), radial-gradient(circle at 70% 88%, rgba(217, 119, 6, 0.12) 0%, transparent 35%), linear-gradient(160deg, #0b1020 0%, #121a30 55%, #0f1729 100%);

  --pf-r-sm: 10px;
  --pf-r-md: 14px;
  --pf-r-lg: 20px;
  --pf-r-xl: 28px;

  --pf-shadow-form: 0 24px 64px rgba(11, 16, 32, 0.12), 0 4px 16px rgba(11, 16, 32, 0.06);
  --pf-shadow-soft: 0 8px 32px rgba(11, 16, 32, 0.08);
  --pf-shadow-premium: 0 4px 24px rgba(11, 16, 32, 0.06), 0 1px 3px rgba(11, 16, 32, 0.04);
  --pf-shadow-elevated: 0 12px 40px rgba(11, 16, 32, 0.12), 0 4px 12px rgba(11, 16, 32, 0.06);
  --pf-shadow-glow: 0 0 0 1px rgba(13, 148, 136, 0.08), 0 8px 32px rgba(13, 148, 136, 0.12);

  --pf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pf-dur: 200ms;
  --pf-dur-slow: 320ms;

  --pf-mobile-bp: 639px;
  --pf-mobile-content-width: 93%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 0;
  overflow-x: hidden;
  background: #ffffff;
}

html,
body {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

body.pf-auth-root,
body.pf-home-root {
  font-family: var(--pf-font);
  color: var(--pf-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.pf-auth-root {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

/* Shared brand (auth + home) */

.pf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.pf-brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--pf-gradient-brand);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
  flex-shrink: 0;
}

.pf-brand__name {
  font-family: var(--pf-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pf-link {
  color: var(--pf-teal-dark);
  font-weight: 700;
  text-decoration: none;
}

.pf-link:hover {
  color: var(--pf-blue);
  text-decoration: underline;
}

/* =========================================================
   Auth pages only
   ========================================================= */

body.pf-auth-root {
  background: radial-gradient(circle at 92% 8%, rgba(13, 148, 136, 0.08) 0%, transparent 42%), radial-gradient(circle at 8% 92%, rgba(37, 99, 235, 0.07) 0%, transparent 40%), #ffffff;
}

.pf-app--auth {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background: transparent;
}

.pf-hd--auth {
  background: #ffffff;
}

.pf-hd--auth .pf-hd__inner--auth {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: none;
  padding: 0 1.25rem;
  gap: 1rem;
}

.pf-hd__brand--auth {
  justify-self: start;
}

.pf-hd__brand--auth .pf-brand__name {
  color: var(--pf-ink);
  font-size: 1.1rem;
}

.pf-hd__brand--auth .pf-brand__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.pf-hd__auth-title {
  margin: 0;
  justify-self: center;
  font-family: var(--pf-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pf-ink);
  text-align: center;
  white-space: nowrap;
}

.pf-hd__auth-spacer {
  justify-self: end;
  width: 120px;
}

@media (max-width: 639px) {
  .pf-hd--auth .pf-hd__inner--auth {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .pf-hd__brand--auth .pf-brand__name {
    display: none;
  }

  .pf-hd__auth-spacer {
    width: 34px;
  }

  .pf-hd__auth-title {
    font-size: 1rem;
  }
}

/* Page shell */

.pf-page,
.pf-page__box,
.pf-page__form-area,
.pf-page__showcase {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

.pf-page {
  flex: 1;
  min-height: calc(100vh - var(--pf-hd-height));
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
}

.pf-page__box {
  display: contents;
}

.pf-page__showcase {
  display: none;
}

.pf-page__form-area {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem 2.5rem;
  min-height: calc(100vh - var(--pf-hd-height));
  position: relative;
  background: transparent;
}

.pf-page__form-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  z-index: 1;
}

.pf-mobile-top {
  display: none;
}

/* Auth form (no card) */

.pf-auth-form__head {
  margin-bottom: 1.75rem;
}

.pf-auth-form__line {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 1.15rem;
  background: var(--pf-gradient-brand);
  border-radius: 999px;
}

.pf-auth-form__title {
  margin: 0 0 0.45rem;
  font-family: var(--pf-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--pf-ink);
}

.pf-auth-form__sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--pf-ink-muted);
  line-height: 1.55;
}

.pf-reg-steps {
  display: flex;
  flex-direction: column;
}

.pf-reg-step[hidden] {
  display: none !important;
}

.pf-reg-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pf-reg-progress__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pf-line);
  transition:
    background var(--pf-dur) var(--pf-ease),
    transform var(--pf-dur) var(--pf-ease);
}

.pf-reg-progress__dot.is-active {
  background: var(--pf-teal);
  transform: scale(1.15);
}

.pf-reg-progress__dot.is-done {
  background: var(--pf-blue);
}

.pf-reg-progress__label {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pf-ink-muted);
}

/* Form elements */

.pf-form {
  display: flex;
  flex-direction: column;
}

.pf-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--pf-ink-soft);
}

.pf-auth-root .pf-field {
  margin-top: 0.15rem;
}

.pf-auth-root .pf-field label {
  margin-top: 0.65rem;
  margin-bottom: 0.5rem;
}

.pf-auth-root .pf-form > .pf-field:first-child label,
.pf-auth-root .pf-reg-step > .pf-field:first-child label {
  margin-top: 0;
}

.pf-input {
  width: 100%;
  padding: 0.82rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--pf-ink);
  background: var(--pf-surface-soft);
  border: 1.5px solid var(--pf-line);
  border-radius: var(--pf-r-md);
  outline: none;
  transition:
    border-color var(--pf-dur) var(--pf-ease),
    box-shadow var(--pf-dur) var(--pf-ease),
    background var(--pf-dur) var(--pf-ease);
}

.pf-auth-root .pf-input {
  background: #ffffff;
  border: 1.5px solid var(--pf-line-strong);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(11, 16, 32, 0.06);
  outline: none;
}

.pf-auth-root .pf-input:focus,
.pf-auth-root .pf-input:focus-visible,
.pf-auth-root .pf-input:active {
  outline: none;
  box-shadow: 0 1px 4px rgba(11, 16, 32, 0.06);
  border-color: var(--pf-teal);
}

.pf-auth-root .pf-phone-input {
  display: flex;
  align-items: stretch;
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--pf-line-strong);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(11, 16, 32, 0.06);
  overflow: visible;
  outline: none;
}

.pf-auth-root .pf-phone-input:focus-within {
  border-color: var(--pf-line-strong);
  box-shadow: 0 1px 4px rgba(11, 16, 32, 0.06);
  outline: none;
}

.pf-auth-root .pf-phone-input .pf-input {
  flex: 1;
  min-width: 0;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  background: transparent;
  outline: none !important;
}

.pf-auth-root .pf-phone-input .pf-input:focus,
.pf-auth-root .pf-phone-input .pf-input:focus-visible,
.pf-auth-root .pf-phone-input .pf-input:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent;
}

.pf-auth-root .pf-phone-input input:-webkit-autofill,
.pf-auth-root .pf-phone-input input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  box-shadow: none !important;
  outline: none !important;
  border: none !important;
}

/* Custom country picker */

.pf-country-picker {
  position: relative;
  flex-shrink: 0;
  border-right: 1.5px solid var(--pf-line);
}

.pf-country-picker__trigger {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  height: 100%;
  min-height: 46px;
  padding: 0 0.4rem 0 0.55rem;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pf-ink);
  background: var(--pf-surface-soft);
  border: none;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  transition: background var(--pf-dur) var(--pf-ease);
}

.pf-country-picker__trigger:focus,
.pf-country-picker__trigger:focus-visible,
.pf-country-picker__trigger:active {
  outline: none !important;
  box-shadow: none;
}

.pf-country-picker__trigger:hover {
  background: #eef2f8;
}

.pf-country-picker__flag {
  font-size: 1rem;
  line-height: 1;
}

.pf-country-picker__code {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pf-ink-soft);
  white-space: nowrap;
}

.pf-country-picker__chevron {
  flex-shrink: 0;
  color: var(--pf-ink-muted);
  transition: transform var(--pf-dur) var(--pf-ease);
}

.pf-country-picker.is-open .pf-country-picker__chevron {
  transform: rotate(180deg);
}

.pf-country-picker.is-open .pf-country-picker__trigger {
  background: #eef2f8;
}

.pf-country-picker__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  min-width: 200px;
  padding: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--pf-line);
  border-radius: 10px;
  box-shadow: var(--pf-shadow-elevated);
}

.pf-country-picker__panel[hidden] {
  display: none !important;
}

.pf-country-picker__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.6rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--pf-ink);
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  transition: background var(--pf-dur) var(--pf-ease);
}

.pf-country-picker__option:focus,
.pf-country-picker__option:focus-visible {
  outline: none;
}

.pf-country-picker__option:hover,
.pf-country-picker__option.is-selected {
  background: var(--pf-teal-glow);
}

.pf-country-picker__option-flag {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.pf-country-picker__option-name {
  flex: 1;
  min-width: 0;
}

.pf-country-picker__option-code {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pf-ink-muted);
  flex-shrink: 0;
}

.pf-input::placeholder {
  color: #94a3b8;
}

.pf-input:hover {
  border-color: var(--pf-line-strong);
  background: var(--pf-surface);
}

.pf-auth-root .pf-input:hover {
  background: #ffffff;
  border-color: #b8c5d9;
}

.pf-input:focus {
  border-color: var(--pf-teal);
  background: var(--pf-surface);
  box-shadow: 0 0 0 4px var(--pf-teal-glow);
}

/* Button */

.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  margin-top: 0.7rem;
  font-family: var(--pf-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--pf-gradient-brand);
  border: none;
  border-radius: var(--pf-r-md);
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.32);
  transition:
    transform var(--pf-dur) var(--pf-ease),
    box-shadow var(--pf-dur) var(--pf-ease),
    opacity var(--pf-dur) var(--pf-ease);
}

.pf-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(13, 148, 136, 0.38);
}

.pf-btn:active:not(:disabled) {
  transform: translateY(0);
}

.pf-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.pf-btn--ghost {
  color: var(--pf-ink-soft);
  background: var(--pf-surface-soft);
  border: 1.5px solid var(--pf-line);
  box-shadow: none;
}

.pf-btn--ghost:hover:not(:disabled) {
  color: var(--pf-teal-dark);
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--pf-shadow-glow);
}

.pf-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pf-input--with-toggle {
  padding-right: 2.75rem;
}

.pf-input-toggle {
  position: absolute;
  right: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--pf-ink-muted);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--pf-dur) var(--pf-ease), background var(--pf-dur) var(--pf-ease);
}

.pf-input-toggle__icon {
  display: none;
  flex-shrink: 0;
}

.pf-input-toggle__icon--open {
  display: block;
}

.pf-input-toggle.is-visible .pf-input-toggle__icon--open {
  display: none;
}

.pf-input-toggle.is-visible .pf-input-toggle__icon--closed {
  display: block;
}

.pf-input-toggle:hover {
  color: var(--pf-teal-dark);
  background: rgba(13, 148, 136, 0.08);
}

.pf-btn.is-loading .pf-btn-text {
  visibility: hidden;
}
.pf-btn.is-loading .pf-btn-loader {
  display: block;
}

.pf-btn-loader {
  display: none;
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pf-spin 0.65s linear infinite;
}

@keyframes pf-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Alerts */

.pf-alert {
  padding: 0.8rem 0.95rem;
  margin-bottom: 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  border-radius: var(--pf-r-sm);
  background: var(--pf-danger-bg);
  color: var(--pf-danger);
  border: 1px solid rgba(220, 38, 38, 0.12);
  transition:
    opacity 0.3s var(--pf-ease),
    transform 0.3s var(--pf-ease);
}

.pf-alert--success {
  background: var(--pf-success-bg);
  color: var(--pf-success);
  border-color: rgba(5, 150, 105, 0.12);
}

.pf-alert[hidden] {
  display: none !important;
}

.pf-alert.pf-alert--hiding {
  opacity: 0;
  transform: translateY(-4px);
}

.pf-toast-root {
  position: fixed;
  top: 1rem;
  right: 1rem;
  left: auto;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  width: min(92vw, 360px);
  pointer-events: none;
}

.pf-toast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-left-width: 4px;
  border-radius: 8px;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.16),
    0 2px 8px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateX(16px);
  transition:
    opacity 0.28s var(--pf-ease),
    transform 0.28s var(--pf-ease);
}

.pf-toast__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
}

.pf-toast__icon svg {
  display: block;
}

.pf-toast__text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.pf-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.pf-toast--success {
  border-left-color: #059669;
  background: linear-gradient(90deg, rgba(5, 150, 105, 0.12) 0%, #ffffff 38%);
}

.pf-toast--success .pf-toast__icon {
  color: #fff;
  background: #059669;
}

.pf-toast--error {
  border-left-color: #dc2626;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.12) 0%, #ffffff 38%);
}

.pf-toast--error .pf-toast__icon {
  color: #fff;
  background: #dc2626;
}

.pf-toast--info {
  border-left-color: #2563eb;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12) 0%, #ffffff 38%);
}

.pf-toast--info .pf-toast__icon {
  color: #fff;
  background: #2563eb;
}

/* Footer */

.pf-form-footer {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--pf-ink-muted);
}

/* Mobile chips */

.pf-mobile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.pf-chip {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--pf-ink-soft);
  background: var(--pf-surface);
  border: 1px solid var(--pf-line);
  border-radius: 999px;
}

/* Shared showcase building blocks (desktop) */

.pf-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a7f3d0;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.28);
  border-radius: 999px;
}

.pf-showcase__title {
  margin: 0;
  font-family: var(--pf-display);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.pf-showcase__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94a3b8;
}

.pf-showcase__highlights {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a7f3d0;
  letter-spacing: 0.01em;
}

.pf-showcase__feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.65rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.pf-showcase__feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}

.pf-showcase__feature-icon--teal {
  background: rgba(13, 148, 136, 0.22);
  color: #5eead4;
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.15);
}

.pf-showcase__feature-icon--blue {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.15);
}

.pf-showcase__feature-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.pf-showcase__feature-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.2;
}

.pf-showcase__feature-desc {
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.3;
}

.pf-img-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--pf-r-lg);
  color: #cbd5e1;
}

.pf-img-slot__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

.pf-img-slot__hint {
  font-size: 0.72rem;
  color: #64748b;
}

.pf-img-slot__icon {
  opacity: 0.45;
}

/* Desktop layout — centered card */

@media (min-width: 1024px) {
  body.pf-auth-root {
    background: radial-gradient(circle at 15% 20%, var(--pf-teal-glow) 0%, transparent 40%), radial-gradient(circle at 85% 80%, var(--pf-blue-glow) 0%, transparent 38%), var(--pf-surface-soft);
  }

  body.pf-auth-root .pf-hd--auth {
    display: none;
  }

  body.pf-auth-root .pf-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    grid-template-columns: unset;
  }

  body.pf-auth-root .pf-page__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 65%;
    height: 80vh;
    min-height: 480px;
    max-height: 720px;
    background: var(--pf-surface);
    border: 1px solid var(--pf-line);
    border-radius: var(--pf-r-xl);
    box-shadow: var(--pf-shadow-form);
    overflow: hidden;
  }

  body.pf-auth-root .pf-page__showcase {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 0;
    padding: 2rem 2.25rem;
    background: var(--pf-gradient-mesh);
    position: relative;
    overflow: hidden;
  }

  body.pf-auth-root .pf-page__showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
  }

  body.pf-auth-root .pf-page__showcase-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    height: 100%;
    justify-content: center;
    overflow: hidden;
  }

  body.pf-auth-root .pf-page__showcase .pf-brand__name {
    color: #f8fafc;
  }

  body.pf-auth-root .pf-page__showcase .pf-brand__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  body.pf-auth-root .pf-mobile-chips {
    display: none;
  }

  body.pf-auth-root .pf-page__form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    padding: 2rem 2.25rem;
    background: var(--pf-surface);
    overflow: visible;
  }

  body.pf-auth-root .pf-page__form-wrap {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  body.pf-auth-root .pf-auth-form__line {
    margin-bottom: 1.35rem;
  }

  body.pf-auth-root .pf-country-picker__panel {
    top: auto;
    bottom: calc(100% + 6px);
  }

  body.pf-auth-root .pf-showcase__hero-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  body.pf-auth-root .pf-showcase__title {
    font-size: 1.5rem;
  }

  body.pf-auth-root .pf-showcase__lead {
    font-size: 0.84rem;
  }

  body.pf-auth-root .pf-img-slot {
    padding: 0.85rem;
    gap: 0.35rem;
  }

  body.pf-auth-root .pf-img-slot__label {
    font-size: 0.72rem;
  }

  body.pf-auth-root .pf-img-slot__hint {
    display: none;
  }

  body.pf-auth-root .pf-showcase__visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  body.pf-auth-root .pf-showcase__feature {
    min-height: 0;
    padding: 0.7rem 0.6rem;
  }

  body.pf-auth-root .pf-showcase__feature-title {
    font-size: 0.7rem;
  }

  body.pf-auth-root .pf-showcase__feature-desc {
    font-size: 0.63rem;
  }
}

@media (min-width: 1280px) {
  body.pf-auth-root .pf-page__box {
    width: 65%;
    max-height: 760px;
  }

  body.pf-auth-root .pf-page__showcase {
    padding: 2.25rem 2.5rem;
  }

  body.pf-auth-root .pf-page__form-area {
    padding: 2.25rem 2.5rem;
  }

  body.pf-auth-root .pf-showcase__title {
    font-size: 1.65rem;
  }
}
