.auth-login-page {
  margin: 0;
}

.auth-login-page .auth-studio-auth-column {
  isolation: isolate;
}

.auth-login-page .auth-card,
.auth-login-page .auth-studio-card,
.auth-login-page .auth-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-login-page .auth-form-intro .plm-account-eyebrow {
  margin-bottom: 19px;
}

.auth-login-page .auth-form-intro > p:last-child {
  max-width: 420px;
}

.auth-login-page .auth-state-panel {
  animation: plm-account-resolve 280ms var(--plm-account-ease) both;
}

.auth-login-page .account-status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 22px;
  padding: 0 9px;
  border: 1px solid rgba(27, 188, 255, 0.2);
  border-radius: 6px;
  background: rgba(27, 188, 255, 0.07);
  color: #b8e9fb;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-login-page .auth-account-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  margin-top: 28px;
  padding: 13px;
  border: 1px solid var(--plm-account-line);
  border-radius: var(--plm-account-radius);
  background: rgba(255, 255, 255, 0.025);
  gap: 13px;
}

.auth-login-page .auth-account-monogram {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(27, 188, 255, 0.2);
  border-radius: 50%;
  background: rgba(27, 188, 255, 0.08);
  color: #dff6ff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.auth-login-page .auth-account-card strong,
.auth-login-page .auth-account-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-login-page .auth-account-card strong {
  color: #f2f6f7;
  font-size: 0.91rem;
  font-weight: 680;
}

.auth-login-page .auth-account-card small {
  margin-top: 3px;
  color: #89959b;
  font-size: 0.76rem;
}

.auth-login-page .auth-action-grid {
  display: grid;
  margin-top: 24px;
  gap: 9px;
}

.auth-login-page .auth-action-grid .btn {
  width: 100%;
}

.auth-login-page .auth-switch-account {
  justify-self: center;
  margin-top: 8px;
}

.auth-login-page[data-desktop-authorization-return="true"] .plm-account-product-row:last-child {
  border-color: rgba(27, 188, 255, 0.2);
  background: linear-gradient(90deg, rgba(27, 188, 255, 0.075), rgba(255, 255, 255, 0.025));
  color: #f5f8f9;
}

.auth-login-page[data-desktop-authorization-return="true"] .plm-account-product-row:nth-child(2) {
  border-color: rgba(226, 237, 242, 0.08);
  background: rgba(255, 255, 255, 0.022);
  color: #cbd3d7;
}

.auth-login-page[data-desktop-authorization-return="true"] .plm-account-product-row:last-child .plm-account-product-state {
  color: #c8ecfa;
}

.auth-login-page[data-desktop-authorization-return="true"] .plm-account-product-row:last-child .plm-account-product-state::before {
  background: var(--plm-account-blue);
  box-shadow: 0 0 12px rgba(27, 188, 255, 0.5);
}

.auth-login-page .auth-modal-backdrop {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(0, 2, 3, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.auth-login-page .auth-modal {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(222, 233, 238, 0.15);
  border-radius: 12px;
  background: #090d10;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  animation: plm-account-modal-in 220ms var(--plm-account-ease) both;
}

.auth-login-page .auth-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 24px;
}

.auth-login-page .auth-modal .auth-eyebrow {
  margin: 0 0 10px;
  color: var(--plm-account-blue);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-login-page .auth-modal h2 {
  max-width: 390px;
  margin: 0;
  color: #f5f8f9;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1;
}

.auth-login-page .auth-modal .auth-subtitle {
  margin: -5px 0 22px;
  color: var(--plm-account-muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.auth-login-page .auth-modal-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--plm-account-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: #bbc4c8;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.auth-login-page .auth-modal-close:hover {
  border-color: var(--plm-account-line-strong);
  color: #fff;
}

.auth-login-page .auth-modal .auth-form {
  display: grid;
  gap: 11px;
}

.auth-login-page .auth-modal .auth-form .btn {
  margin-top: 5px;
}

@keyframes plm-account-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 820px) {
  .auth-login-page .auth-studio-auth-column {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .auth-login-page .auth-modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .auth-login-page .auth-modal {
    width: 100%;
    max-height: calc(100svh - 24px);
    padding: 24px 18px;
    border-radius: 12px;
  }

  .auth-login-page .auth-account-card {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-login-page .auth-modal,
  .auth-login-page .auth-state-panel {
    animation: none;
  }
}
