html.premium-os-auth-page {
  --po-auth-bg: #e8eef8;
  --po-auth-bg-deep: #dbe6f7;
  --po-auth-card: rgba(255, 255, 255, 0.88);
  --po-auth-surface: rgba(255, 255, 255, 0.96);
  --po-auth-panel: #ffffff;
  --po-auth-text: #0f172a;
  --po-auth-text-muted: #5c6b85;
  --po-auth-text-soft: #7f8da6;
  --po-auth-border: rgba(148, 163, 184, 0.22);
  --po-auth-border-strong: rgba(59, 130, 246, 0.34);
  --po-auth-accent: #2563eb;
  --po-auth-accent-strong: #1d4ed8;
  --po-auth-accent-soft: rgba(37, 99, 235, 0.14);
  --po-auth-shadow: 0 38px 100px rgba(15, 23, 42, 0.14);
  --po-auth-shadow-soft: 0 22px 54px rgba(15, 23, 42, 0.08);
  --po-auth-radius-shell: 34px;
  --po-auth-radius-card: 28px;
  --po-auth-radius-input: 18px;
  --po-auth-font-body: 15px;
  --po-auth-font-meta: 12px;
  --po-auth-font-heading: clamp(2rem, 3vw, 3.15rem);
  --po-auth-font-display: clamp(2.2rem, 3.35vw, 4rem);
}

html.premium-os-auth-page body.login_admin,
html.premium-os-auth-page body.authentication,
html.premium-os-auth-page body.customers,
html.premium-os-auth-page body.reset-password,
html.premium-os-auth-page body.set-password,
html.premium-os-auth-page body.two-factor-authentication-code {
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.24), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(59, 130, 246, 0.18), transparent 26%),
    radial-gradient(circle at 25% 100%, rgba(148, 163, 184, 0.18), transparent 24%),
    linear-gradient(180deg, var(--po-auth-bg) 0%, var(--po-auth-bg-deep) 100%);
  color: var(--po-auth-text-muted);
  font-family: "Inter", sans-serif;
  margin: 0;
  min-height: 100dvh;
}

html.premium-os-auth-page body.login_admin,
html.premium-os-auth-page body.customers {
  overflow-x: hidden;
}

html.premium-os-auth-page body.customers #wrapper,
html.premium-os-auth-page body.customers #content {
  min-height: 100dvh;
}

.premium-os-auth-screen {
  align-items: stretch;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  min-height: 100dvh;
  padding: 18px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.premium-os-auth-screen::before,
.premium-os-auth-screen::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.premium-os-auth-screen::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  border-radius: 999px;
  filter: blur(2px);
  height: 420px;
  left: -140px;
  top: -140px;
  width: 420px;
}

.premium-os-auth-screen::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34), transparent 60%);
  bottom: -180px;
  height: 440px;
  right: -120px;
  width: 440px;
}

.premium-os-auth-shell {
  backdrop-filter: blur(18px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--po-auth-radius-shell);
  box-shadow: var(--po-auth-shadow);
  display: grid;
  grid-template-columns: minmax(480px, 1.2fr) minmax(420px, 0.88fr);
  max-width: 1440px;
  overflow: hidden;
  position: relative;
  width: min(1440px, 100%);
}

.premium-os-auth-showcase {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 78% 26%, rgba(80, 137, 255, 0.22), transparent 18%),
    radial-gradient(circle at 62% 84%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(160deg, #0c1730 0%, #12224a 24%, #16326b 56%, #1d4ed8 84%, #2563eb 100%);
  color: #f8fbff;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.premium-os-auth-showcase::before,
.premium-os-auth-showcase::after {
  content: "";
  position: absolute;
}

.premium-os-auth-showcase::before {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.14) 0, rgba(255, 255, 255, 0) 62%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 34px);
  border-radius: 50%;
  height: 680px;
  opacity: 0.42;
  right: -120px;
  top: -10px;
  width: 680px;
}

.premium-os-auth-showcase::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(15, 23, 42, 0.22));
  inset: 0;
}

.premium-os-auth-showcase__backdrop {
  display: none;
}

.premium-os-auth-showcase__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  min-height: 100%;
  padding: 42px 42px 38px;
  position: relative;
  z-index: 1;
}

.premium-os-auth-showcase__brand {
  align-items: center;
  display: flex;
}

.premium-os-auth-showcase__brand-logo {
  max-height: 52px;
  max-width: 220px;
}

.premium-os-auth-showcase__copy {
  max-width: 520px;
}

.premium-os-auth-showcase__eyebrow {
  color: rgba(226, 238, 255, 0.76);
  display: inline-flex;
  font-size: var(--po-auth-font-meta);
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.premium-os-auth-showcase__copy h2,
.premium-os-auth-showcase__headline {
  color: #ffffff !important;
  font-size: var(--po-auth-font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.97;
  margin: 0 0 18px;
  max-width: 540px;
}

.premium-os-auth-showcase__copy p {
  color: rgba(232, 242, 255, 0.88);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}

.premium-os-auth-showcase__stage {
  display: grid;
  gap: 18px;
}

.premium-os-auth-dashboard-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 28px;
  box-shadow: 0 30px 72px rgba(9, 17, 40, 0.28);
  display: grid;
  gap: 18px;
  grid-template-columns: 122px 1fr;
  padding: 22px;
}

.premium-os-auth-dashboard-card__ring {
  align-items: center;
  background:
    radial-gradient(circle closest-side, #ffffff 64%, transparent 65% 100%),
    conic-gradient(#2563eb 0 52%, #6ea8ff 52% 78%, #dbeafe 78% 100%);
  border-radius: 50%;
  color: #0f172a;
  display: inline-flex;
  font-size: 1.5rem;
  font-weight: 700;
  height: 108px;
  justify-content: center;
  width: 108px;
}

.premium-os-auth-dashboard-card__legend {
  display: grid;
  gap: 12px;
}

.premium-os-auth-dashboard-card__legend-item {
  align-items: flex-start;
  color: #334155;
  display: flex;
  gap: 12px;
}

.premium-os-auth-dashboard-card__legend-item strong {
  color: #0f172a;
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.premium-os-auth-dashboard-card__legend-item span {
  color: #64748b;
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.premium-os-auth-dot {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
  flex: 0 0 10px;
  height: 10px;
  margin-top: 6px;
  width: 10px;
}

.premium-os-auth-floating-card {
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 22px 54px rgba(10, 18, 42, 0.24);
  color: #ffffff;
  max-width: 250px;
  padding: 15px 16px;
}

.premium-os-auth-floating-card--primary {
  justify-self: start;
}

.premium-os-auth-floating-card--secondary {
  justify-self: end;
}

.premium-os-auth-floating-card__label {
  color: rgba(238, 245, 255, 0.72);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.premium-os-auth-floating-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.premium-os-auth-main {
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
  display: flex;
  justify-content: center;
  padding: 34px 30px;
  position: relative;
}

.premium-os-auth-card {
  max-width: 430px;
  width: 100%;
}

.premium-os-auth-card__brand {
  margin-bottom: 18px;
}

.premium-os-auth-card__brand img {
  display: block;
  max-height: 48px;
  max-width: 220px;
}

.premium-os-auth-card__header {
  margin-bottom: 20px;
}

.premium-os-auth-card__eyebrow {
  color: var(--po-auth-text-soft);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.premium-os-auth-card__header h1 {
  color: var(--po-auth-text);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 0 0 12px;
}

.premium-os-auth-card__header p {
  color: var(--po-auth-text-muted);
  font-size: var(--po-auth-font-body);
  line-height: 1.7;
  margin: 0;
}

.premium-os-auth-card__surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  border: 1px solid var(--po-auth-border);
  border-radius: var(--po-auth-radius-card);
  box-shadow: var(--po-auth-shadow-soft);
  padding: 24px;
}

.premium-os-auth-card__surface .alert,
.premium-os-auth-alert {
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
  margin-bottom: 18px;
}

.premium-os-auth-card__surface .alert h4,
.premium-os-auth-card__surface .alert p {
  margin-top: 0;
}

.premium-os-auth-form,
.premium-os-auth-form .form-group {
  margin-bottom: 0;
}

.premium-os-auth-field {
  margin-bottom: 16px;
}

.premium-os-auth-field__row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.premium-os-auth-field__row label,
.premium-os-auth-field label,
.premium-os-auth-form label.control-label,
.premium-os-auth-form .control-label {
  color: #334155;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.premium-os-auth-input {
  position: relative;
}

.premium-os-auth-input > i {
  color: #7a8aa4;
  font-size: 15px;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.premium-os-auth-input .form-control,
.premium-os-auth-language .bootstrap-select > .dropdown-toggle,
.premium-os-auth-language select.form-control,
.premium-os-auth-form .form-control {
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--po-auth-radius-input);
  box-shadow: none;
  color: var(--po-auth-text);
  font-size: 15px;
  height: 50px;
  padding: 0 18px 0 50px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.premium-os-auth-form textarea.form-control {
  height: auto;
  min-height: 124px;
  padding-top: 16px;
}

.premium-os-auth-form .form-control:focus,
.premium-os-auth-input .form-control:focus,
.premium-os-auth-language .bootstrap-select > .dropdown-toggle:focus,
.premium-os-auth-language select.form-control:focus {
  background: #ffffff;
  border-color: var(--po-auth-border-strong);
  box-shadow: 0 0 0 5px var(--po-auth-accent-soft);
  transform: translateY(-1px);
}

.premium-os-auth-input .form-control[type="password"],
.premium-os-auth-input .form-control[name*="password"] {
  padding-right: 52px;
}

.premium-os-auth-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #7a8aa4;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  z-index: 3;
}

.premium-os-auth-toggle:hover,
.premium-os-auth-toggle:focus {
  color: var(--po-auth-accent);
  outline: none;
}

.premium-os-auth-meta {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 2px 0 18px;
}

.premium-os-auth-meta .checkbox,
.premium-os-auth-checkbox {
  margin: 0;
}

.premium-os-auth-meta .checkbox label,
.premium-os-auth-checkbox label {
  color: #475569;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin: 0;
}

.premium-os-auth-meta input[type="checkbox"],
.premium-os-auth-checkbox input[type="checkbox"] {
  accent-color: var(--po-auth-accent);
}

.premium-os-auth-link,
.premium-os-auth-field__row a,
.premium-os-auth-card__footer a,
.premium-os-auth-meta a {
  color: var(--po-auth-accent);
  font-weight: 600;
  text-decoration: none;
}

.premium-os-auth-link:hover,
.premium-os-auth-card__footer a:hover,
.premium-os-auth-meta a:hover {
  color: var(--po-auth-accent-strong);
}

.premium-os-auth-submit.btn,
.premium-os-auth-card__surface .btn.btn-primary {
  align-items: center;
  background: linear-gradient(135deg, var(--po-auth-accent) 0%, var(--po-auth-accent-strong) 100%);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  width: 100%;
}

.premium-os-auth-submit.btn:hover,
.premium-os-auth-card__surface .btn.btn-primary:hover {
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.premium-os-auth-submit.is-loading,
.premium-os-auth-submit[disabled] {
  cursor: wait;
  opacity: 0.88;
}

.premium-os-auth-submit.is-loading::after {
  animation: premium-os-auth-pulse 1.2s ease-in-out infinite;
  content: "";
  display: inline-flex;
  height: 8px;
  margin-left: 10px;
  width: 8px;
}

@keyframes premium-os-auth-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9); opacity: 0.45; }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); opacity: 1; }
}

.premium-os-auth-secondary.btn {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--po-auth-border);
  border-radius: 18px;
  color: var(--po-auth-text);
  min-height: 52px;
}

.premium-os-auth-card__footer {
  color: var(--po-auth-text-soft);
  font-size: 13px;
  margin-top: 16px;
  text-align: center;
}

.premium-os-auth-card__footer > * + * {
  margin-top: 10px;
}

.premium-os-auth-card__footer--utility {
  margin-top: 12px;
  text-align: left;
}

.premium-os-auth-language {
  margin-bottom: 16px;
}

.premium-os-auth-language--compact {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 0;
}

.premium-os-auth-language--compact label {
  color: var(--po-auth-text-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.premium-os-auth-language--compact .bootstrap-select,
.premium-os-auth-language--compact select.form-control {
  margin-left: 0;
  max-width: 190px;
}

.premium-os-auth-card--verification .premium-os-auth-card__surface {
  padding: 26px;
}

.premium-os-auth-surface--verification .verification-required-alert {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 255, 0.96));
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 24px 56px rgba(245, 158, 11, 0.08);
  margin: 0;
}

.premium-os-auth-surface--verification .verification-required-heading {
  color: var(--po-auth-text);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.premium-os-auth-surface--verification .verification-required-message {
  color: var(--po-auth-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

html[data-premium-os-theme="dark"].premium-os-auth-page {
  --po-auth-bg: #08101f;
  --po-auth-bg-deep: #0b1426;
  --po-auth-card: rgba(15, 23, 42, 0.78);
  --po-auth-surface: rgba(15, 23, 42, 0.92);
  --po-auth-panel: #0f172a;
  --po-auth-text: #f8fafc;
  --po-auth-text-muted: #c3d0e5;
  --po-auth-text-soft: #8ca0c0;
  --po-auth-border: rgba(100, 116, 139, 0.34);
  --po-auth-border-strong: rgba(96, 165, 250, 0.42);
  --po-auth-accent: #60a5fa;
  --po-auth-accent-strong: #3b82f6;
  --po-auth-accent-soft: rgba(96, 165, 250, 0.16);
  --po-auth-shadow: 0 42px 110px rgba(2, 6, 23, 0.52);
  --po-auth-shadow-soft: 0 24px 64px rgba(2, 6, 23, 0.38);
}

html[data-premium-os-theme="dark"].premium-os-auth-page body.login_admin,
html[data-premium-os-theme="dark"].premium-os-auth-page body.authentication,
html[data-premium-os-theme="dark"].premium-os-auth-page body.customers,
html[data-premium-os-theme="dark"].premium-os-auth-page body.reset-password,
html[data-premium-os-theme="dark"].premium-os-auth-page body.set-password,
html[data-premium-os-theme="dark"].premium-os-auth-page body.two-factor-authentication-code {
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.16), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.16), transparent 24%),
    linear-gradient(180deg, #08101f 0%, #0b1426 100%);
  color: var(--po-auth-text-muted);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-shell {
  background: linear-gradient(135deg, rgba(8, 15, 30, 0.84), rgba(11, 20, 38, 0.72));
  border-color: rgba(148, 163, 184, 0.12);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-main {
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(9, 14, 27, 0.94), rgba(11, 20, 38, 0.96));
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-card__surface,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-surface--verification .verification-required-alert {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.96));
  border-color: var(--po-auth-border);
  box-shadow: var(--po-auth-shadow-soft);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-dashboard-card {
  background: rgba(248, 250, 252, 0.98);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-form .form-control,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-input .form-control,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-language .bootstrap-select > .dropdown-toggle,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-language select.form-control {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(100, 116, 139, 0.3);
  color: #eff6ff;
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-input > i,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-input-icon,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-toggle,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-card__footer,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-meta .checkbox label,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-card__header p,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-card__eyebrow {
  color: var(--po-auth-text-soft);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-card__header h1,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-form label.control-label,
html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-field label {
  color: var(--po-auth-text);
}

@media (max-height: 900px) and (min-width: 992px) {
  .premium-os-auth-showcase__content {
    gap: 16px;
    padding: 24px 26px 20px;
  }

  .premium-os-auth-showcase::before {
    height: 560px;
    right: -110px;
    top: -40px;
    width: 560px;
  }

  .premium-os-auth-dashboard-card {
    gap: 12px;
    grid-template-columns: 88px 1fr;
    padding: 15px;
  }

  .premium-os-auth-dashboard-card__ring {
    font-size: 1.18rem;
    height: 78px;
    width: 78px;
  }

  .premium-os-auth-main {
    padding: 20px 20px;
  }

  .premium-os-auth-card__surface {
    padding: 18px 18px 16px;
  }

  .premium-os-auth-field {
    margin-bottom: 10px;
  }
}

@media (max-height: 820px) and (min-width: 992px) {
  .premium-os-auth-showcase__copy p {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .premium-os-auth-floating-card--secondary {
    display: none;
  }

  .premium-os-auth-card__header {
    margin-bottom: 12px;
  }

  .premium-os-auth-card__header p {
    font-size: 13px;
    line-height: 1.38;
  }
}
@media (max-width: 1240px) {
  .premium-os-auth-shell {
    grid-template-columns: minmax(380px, 1fr) minmax(380px, 0.92fr);
  }

  .premium-os-auth-showcase__content {
    padding: 34px 32px;
  }

  .premium-os-auth-dashboard-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .premium-os-auth-screen {
    padding: 0;
  }

  .premium-os-auth-shell {
    border-radius: 0;
    grid-template-columns: 1fr;
    min-height: 100dvh;
    width: 100%;
  }

  .premium-os-auth-showcase {
    min-height: 360px;
  }

  .premium-os-auth-showcase__content,
  .premium-os-auth-main {
    padding: 28px 22px;
  }

  .premium-os-auth-main {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .premium-os-auth-showcase__content,
  .premium-os-auth-main {
    padding: 24px 18px;
  }

  .premium-os-auth-showcase__copy h2,
  .premium-os-auth-showcase__headline {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .premium-os-auth-card__header h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .premium-os-auth-card__surface {
    border-radius: 24px;
    padding: 20px 18px;
  }

  .premium-os-auth-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-os-auth-language--compact {
    align-items: stretch;
    flex-direction: column;
  }

  .premium-os-auth-language--compact .bootstrap-select,
  .premium-os-auth-language--compact select.form-control {
    max-width: none;
  }
}

html.premium-os-auth-page body.login_admin,
html.premium-os-auth-page body.customers {
  overflow-y: hidden;
}

html.premium-os-auth-page body.customers #wrapper,
html.premium-os-auth-page body.customers #content {
  height: auto;
  min-height: 0;
}

.premium-os-auth-screen {
  padding: 12px;
}

.premium-os-auth-shell {
  grid-template-columns: minmax(430px, 1.08fr) minmax(360px, 0.92fr);
  height: calc(100dvh - 24px);
  max-width: 1380px;
  width: min(1380px, 100%);
}

.premium-os-auth-showcase__content {
  gap: 22px;
  padding: 30px 32px 26px;
}

.premium-os-auth-showcase__brand-logo {
  max-height: 44px;
  max-width: 210px;
}

.premium-os-auth-showcase__eyebrow {
  margin-bottom: 10px;
}

.premium-os-auth-showcase__copy h2,
.premium-os-auth-showcase__headline {
  line-height: 0.93;
  margin: 0 0 12px;
  max-width: 520px;
}

.premium-os-auth-showcase__copy p {
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  line-height: 1.52;
  max-width: 470px;
}

.premium-os-auth-showcase__stage {
  gap: 14px;
}

.premium-os-auth-dashboard-card {
  border-radius: 24px;
  box-shadow: 0 24px 58px rgba(9, 17, 40, 0.24);
  gap: 16px;
  grid-template-columns: 104px 1fr;
  padding: 18px;
}

.premium-os-auth-dashboard-card__ring {
  font-size: 1.32rem;
  height: 92px;
  width: 92px;
}

.premium-os-auth-dashboard-card__legend {
  gap: 10px;
}

.premium-os-auth-dashboard-card__legend-item strong {
  font-size: 14px;
  margin-bottom: 2px;
}

.premium-os-auth-dashboard-card__legend-item span {
  font-size: 12px;
  line-height: 1.35;
}

.premium-os-auth-floating-card {
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(10, 18, 42, 0.22);
  max-width: 220px;
  padding: 12px 14px;
}

.premium-os-auth-main {
  padding: 24px 24px;
}

.premium-os-auth-card {
  max-width: 408px;
}

.premium-os-auth-card__utility {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.premium-os-auth-card__brand {
  margin-bottom: 12px;
}

.premium-os-auth-card__brand img {
  max-height: 40px;
  max-width: 200px;
}

.premium-os-auth-card__header {
  margin-bottom: 16px;
}

.premium-os-auth-card__eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}

.premium-os-auth-card__header h1 {
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1;
  margin: 0 0 10px;
}

.premium-os-auth-card__header p {
  font-size: 14px;
  line-height: 1.5;
}

.premium-os-auth-card__surface {
  padding: 20px 20px 18px;
}

.premium-os-auth-card__surface .alert,
.premium-os-auth-alert {
  margin-bottom: 14px;
}

.premium-os-auth-field {
  margin-bottom: 12px;
}

.premium-os-auth-field__row {
  margin-bottom: 6px;
}

.premium-os-auth-field__row label,
.premium-os-auth-field label,
.premium-os-auth-form label.control-label,
.premium-os-auth-form .control-label {
  margin-bottom: 6px;
}

.premium-os-auth-meta {
  gap: 14px;
  margin: 2px 0 14px;
}

.premium-os-auth-card__footer {
  margin-top: 12px;
}

.premium-os-auth-language-menu {
  position: relative;
}

.premium-os-auth-language-menu[open] {
  z-index: 4;
}

.premium-os-auth-language-menu__toggle {
  align-items: center;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 10px 14px;
}

.premium-os-auth-language-menu__toggle::-webkit-details-marker {
  display: none;
}

.premium-os-auth-language-menu__label {
  color: var(--po-auth-text-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.premium-os-auth-language-menu__value {
  color: var(--po-auth-text);
  font-size: 13px;
  font-weight: 700;
}

.premium-os-auth-language-menu__toggle > i {
  color: var(--po-auth-text-soft);
  font-size: 14px;
}

.premium-os-auth-language-menu__list {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 4px;
  margin-top: 10px;
  min-width: 180px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 100%;
}

.premium-os-auth-language-menu__item {
  border-radius: 12px;
  color: var(--po-auth-text-muted);
  display: block;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 12px;
  text-decoration: none;
}

.premium-os-auth-language-menu__item:hover,
.premium-os-auth-language-menu__item.is-active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--po-auth-accent-strong);
}

@media (max-height: 900px) and (min-width: 992px) {
  .premium-os-auth-showcase__content {
    gap: 16px;
    padding: 24px 26px 20px;
  }

  .premium-os-auth-showcase::before {
    height: 560px;
    right: -110px;
    top: -40px;
    width: 560px;
  }

  .premium-os-auth-dashboard-card {
    gap: 12px;
    grid-template-columns: 88px 1fr;
    padding: 15px;
  }

  .premium-os-auth-dashboard-card__ring {
    font-size: 1.18rem;
    height: 78px;
    width: 78px;
  }

  .premium-os-auth-main {
    padding: 20px 20px;
  }

  .premium-os-auth-card__surface {
    padding: 18px 18px 16px;
  }

  .premium-os-auth-field {
    margin-bottom: 10px;
  }
}

@media (max-height: 820px) and (min-width: 992px) {
  .premium-os-auth-showcase__copy p {
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .premium-os-auth-floating-card--secondary {
    display: none;
  }

  .premium-os-auth-card__header {
    margin-bottom: 12px;
  }

  .premium-os-auth-card__header p {
    font-size: 13px;
    line-height: 1.38;
  }
}

@media (max-width: 991px) {
  html.premium-os-auth-page body.login_admin,
  html.premium-os-auth-page body.customers {
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  .premium-os-auth-card__utility {
    justify-content: stretch;
  }

  .premium-os-auth-language-menu,
  .premium-os-auth-language-menu__toggle {
    width: 100%;
  }

  .premium-os-auth-language-menu__list {
    left: 0;
    min-width: 0;
    right: 0;
  }
}

.premium-os-auth-input > .premium-os-auth-input-icon {
  display: none;
}

.premium-os-auth-input::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  content: "";
  height: 16px;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  z-index: 2;
}

.premium-os-auth-input--email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237a8aa4' d='M20 6H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2Zm0 2v.01L12 13 4 8.01V8h16ZM4 16V10.3l7.45 4.66a1 1 0 0 0 1.1 0L20 10.3V16H4Z'/%3E%3C/svg%3E");
}

.premium-os-auth-input--password::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237a8aa4' d='M17 9h-1V7a4 4 0 1 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm7 12H7v-8h10v8Z'/%3E%3C/svg%3E");
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-input--email::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238ca0c0' d='M20 6H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2Zm0 2v.01L12 13 4 8.01V8h16ZM4 16V10.3l7.45 4.66a1 1 0 0 0 1.1 0L20 10.3V16H4Z'/%3E%3C/svg%3E");
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-input--password::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238ca0c0' d='M17 9h-1V7a4 4 0 1 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2Zm-7-2a2 2 0 1 1 4 0v2h-4V7Zm7 12H7v-8h10v8Z'/%3E%3C/svg%3E");
}

.premium-os-auth-input::before {
  content: none !important;
}

.premium-os-auth-input > .premium-os-auth-input-icon {
  align-items: center;
  color: #7a8aa4;
  display: inline-flex !important;
  height: 16px;
  justify-content: center;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  z-index: 2;
}

.premium-os-auth-input > .premium-os-auth-input-icon svg {
  display: block;
  fill: currentColor;
  height: 16px;
  width: 16px;
}

html[data-premium-os-theme="dark"].premium-os-auth-page .premium-os-auth-input > .premium-os-auth-input-icon {
  color: var(--po-auth-text-soft);
}

.premium-os-auth-language-menu__list {
  max-height: min(360px, calc(100dvh - 180px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

/* Xodox OS v1.5.2 native auth first paint */
html.premium-os-auth-page body.login_admin,
html.premium-os-auth-page body.customers {
  display: block;
  min-height: 100dvh;
  overflow-x: hidden;
}

html.premium-os-auth-page body.login_admin > .container,
html.premium-os-auth-page body.customers > .container {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 18px;
  width: 100%;
}

html.premium-os-auth-page body.login_admin > .container > .row,
html.premium-os-auth-page body.customers > .container > .row {
  margin: 0;
  width: 100%;
}

html.premium-os-auth-page .authentication-form-wrapper {
  float: none;
  margin: 0 auto;
  max-width: 430px;
  padding: 0;
  width: 100%;
}

html.premium-os-auth-page .authentication-form-wrapper .company-logo {
  margin-bottom: 14px;
  padding: 0;
}

html.premium-os-auth-page .authentication-form-wrapper .company-logo img {
  margin: 0 auto;
  max-height: 42px;
}

html.premium-os-auth-page .authentication-form-wrapper .panel_s,
html.premium-os-auth-page .authentication-form-wrapper .tw-bg-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94));
  border: 1px solid var(--po-auth-border);
  border-radius: 24px;
  box-shadow: var(--po-auth-shadow-soft);
}

html.premium-os-auth-page .authentication-form-wrapper .panel-body,
html.premium-os-auth-page .authentication-form-wrapper .tw-bg-white {
  padding: 22px 20px 18px;
}

html.premium-os-auth-page .authentication-form-wrapper h1,
html.premium-os-auth-page .authentication-form-wrapper h4 {
  color: var(--po-auth-text);
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 0 12px;
  text-align: center;
}

html.premium-os-auth-page .authentication-form-wrapper hr {
  border-color: rgba(148, 163, 184, 0.18);
  margin: 0 0 16px;
}

html.premium-os-auth-page .authentication-form-wrapper .form-control {
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  box-shadow: none;
  color: var(--po-auth-text);
  font-size: 15px;
  height: 46px;
}

html.premium-os-auth-page .authentication-form-wrapper textarea.form-control {
  height: auto;
  min-height: 112px;
}

html.premium-os-auth-page .authentication-form-wrapper .form-control:focus {
  background: #ffffff;
  border-color: var(--po-auth-border-strong);
  box-shadow: 0 0 0 5px var(--po-auth-accent-soft);
}

html.premium-os-auth-page .authentication-form-wrapper .checkbox {
  margin: 0 0 14px;
}

html.premium-os-auth-page .authentication-form-wrapper .checkbox label {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

html.premium-os-auth-page .authentication-form-wrapper .btn.btn-primary {
  align-items: center;
  background: linear-gradient(135deg, var(--po-auth-accent) 0%, var(--po-auth-accent-strong) 100%);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
  color: #ffffff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  width: 100%;
}

html.premium-os-auth-page .authentication-form-wrapper .text-center a,
html.premium-os-auth-page .authentication-form-wrapper a.text-muted {
  color: var(--po-auth-accent);
  font-weight: 600;
  text-decoration: none;
}

html[data-premium-os-theme="dark"].premium-os-auth-page .authentication-form-wrapper .panel_s,
html[data-premium-os-theme="dark"].premium-os-auth-page .authentication-form-wrapper .tw-bg-white {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.96));
  border-color: var(--po-auth-border);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .authentication-form-wrapper h1,
html[data-premium-os-theme="dark"].premium-os-auth-page .authentication-form-wrapper h4,
html[data-premium-os-theme="dark"].premium-os-auth-page .authentication-form-wrapper label {
  color: var(--po-auth-text);
}

html[data-premium-os-theme="dark"].premium-os-auth-page .authentication-form-wrapper .form-control {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(100, 116, 139, 0.3);
  color: #eff6ff;
}

@media (max-width: 640px) {
  html.premium-os-auth-page body.login_admin > .container,
  html.premium-os-auth-page body.customers > .container {
    padding: 18px 14px;
  }

  html.premium-os-auth-page .authentication-form-wrapper .panel-body,
  html.premium-os-auth-page .authentication-form-wrapper .tw-bg-white {
    padding: 18px 16px 16px;
  }
}

/* Xodox OS v1.5.2 minimal native login shell */
html.premium-os-auth-page body.login_admin > .container,
html.premium-os-auth-page body.customers.authentication > .container {
  position: relative;
}

html.premium-os-auth-page body.login_admin > .container::before,
html.premium-os-auth-page body.customers.authentication > .container::before {
  background:
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.12), transparent 0 19%),
    radial-gradient(circle at 75% 55%, rgba(255, 255, 255, 0.08), transparent 0 27%),
    linear-gradient(160deg, #0c1730 0%, #12224a 28%, #16326b 60%, #1d4ed8 88%, #2563eb 100%);
  border-radius: 30px 0 0 30px;
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: min(58%, 760px);
}

html.premium-os-auth-page body.login_admin > .container::after,
html.premium-os-auth-page body.customers.authentication > .container::after {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 58%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 36px);
  border-radius: 50%;
  content: "";
  height: min(48vw, 620px);
  opacity: 0.45;
  pointer-events: none;
  position: absolute;
  right: 43%;
  top: 50%;
  transform: translate(50%, -50%);
  width: min(48vw, 620px);
}

html.premium-os-auth-page body.login_admin > .container > .row,
html.premium-os-auth-page body.customers.authentication > .container > .row {
  align-items: stretch;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 30px;
  box-shadow: var(--po-auth-shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 430px);
  min-height: min(920px, calc(100dvh - 48px));
  overflow: hidden;
  position: relative;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper {
  align-self: center;
  grid-column: 2;
  margin: 0 42px 0 0 !important;
  max-width: 430px;
  position: relative;
  width: min(100%, 430px);
  z-index: 2;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper::before,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::before {
  color: rgba(226, 238, 255, 0.88);
  content: var(--po-auth-shell-heading, "Workspace access");
  font-size: clamp(2.4rem, 4.4vw, 4.3rem);
  font-weight: 700;
  left: calc(-100% - 370px);
  letter-spacing: -0.05em;
  line-height: 0.96;
  max-width: 520px;
  position: absolute;
  top: 138px;
  white-space: pre-line;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper::after,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::after {
  color: rgba(232, 242, 255, 0.86);
  content: var(--po-auth-shell-copy, "Secure premium access with native Perfex authentication.");
  font-size: 1.05rem;
  left: calc(-100% - 370px);
  line-height: 1.7;
  max-width: 470px;
  position: absolute;
  top: 400px;
  white-space: pre-line;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .company-logo,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .company-logo {
  left: calc(-100% - 370px);
  margin: 0;
  max-width: 260px;
  position: absolute;
  top: -120px;
  z-index: 2;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .company-logo img,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .company-logo img {
  margin: 0;
  max-height: 68px;
  max-width: 100%;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .panel_s,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .panel_s {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  border: 1px solid rgba(208, 220, 239, 0.9);
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.10);
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .panel-body,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .panel-body {
  padding: 34px 28px 26px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper h4,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper h4 {
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 14px;
  text-align: left;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper hr,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper hr {
  margin-bottom: 18px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .form-group,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .form-group {
  margin-bottom: 14px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .control-label,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .control-label {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .checkbox,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .checkbox {
  margin: 2px 0 16px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .text-center,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .text-center {
  text-align: left;
}

html.premium-os-auth-page body.login_admin {
  --po-auth-shell-heading: "Run operations from\A one calm, secure\A control layer.";
  --po-auth-shell-copy: "Sign in to continue with secure staff access and a minimal premium operational workspace.";
}

html.premium-os-auth-page body.customers.authentication {
  --po-auth-shell-heading: "Everything your clients\A need, in one calm,\A premium portal.";
  --po-auth-shell-copy: "Sign in to continue with secure client access, billing visibility, files, and support updates.";
}

html[data-premium-os-theme="dark"].premium-os-auth-page body.login_admin > .container > .row,
html[data-premium-os-theme="dark"].premium-os-auth-page body.customers.authentication > .container > .row {
  background: linear-gradient(135deg, rgba(8, 15, 30, 0.9), rgba(12, 22, 40, 0.78));
  border-color: rgba(100, 116, 139, 0.18);
}

html[data-premium-os-theme="dark"].premium-os-auth-page body.login_admin .authentication-form-wrapper .panel_s,
html[data-premium-os-theme="dark"].premium-os-auth-page body.customers.authentication .authentication-form-wrapper .panel_s {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.96));
}

@media (max-width: 991px) {
  html.premium-os-auth-page body.login_admin > .container::before,
  html.premium-os-auth-page body.login_admin > .container::after,
  html.premium-os-auth-page body.customers.authentication > .container::before,
  html.premium-os-auth-page body.customers.authentication > .container::after,
  html.premium-os-auth-page body.login_admin .authentication-form-wrapper::before,
  html.premium-os-auth-page body.login_admin .authentication-form-wrapper::after,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::before,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::after {
    display: none;
  }

  html.premium-os-auth-page body.login_admin > .container > .row,
  html.premium-os-auth-page body.customers.authentication > .container > .row {
    display: block;
    min-height: auto;
  }

  html.premium-os-auth-page body.login_admin .authentication-form-wrapper,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper {
    margin: 0 auto !important;
    padding: 24px 0;
  }

  html.premium-os-auth-page body.login_admin .authentication-form-wrapper .company-logo,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .company-logo {
    left: auto;
    margin: 0 0 18px;
    max-width: none;
    position: static;
    top: auto;
  }
}

/* Xodox OS v1.5.2 auth finalization */
html.premium-os-auth-page body.login_admin,
html.premium-os-auth-page body.customers.customers_login {
  color: #0f172a;
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
}

html.premium-os-auth-page body.login_admin {
  background: #d4dff3;
  --po-auth-shell-heading: "Secure work.\A Without friction.";
  --po-auth-shell-copy: "Access the operational workspace built for speed, control, and protected execution.";
  --po-auth-form-title: "Staff sign in";
  --po-auth-form-copy: "Continue with your secure workspace account.";
}

html.premium-os-auth-page body.customers.authentication,
html.premium-os-auth-page body.customers.customers_login {
  background: #eaf1ff;
  --po-auth-shell-heading: "Trusted access.\A Made simple.";
  --po-auth-shell-copy: "Enter your premium client workspace for billing, files, and support updates.";
  --po-auth-form-title: "Client sign in";
  --po-auth-form-copy: "Use your account to continue securely.";
}

html.premium-os-auth-page body.login_admin::before,
html.premium-os-auth-page body.customers.authentication::before,
html.premium-os-auth-page body.customers.customers_login::before {
  border-radius: 34px;
  content: "";
  inset: 24px 46% 24px 24px;
  position: fixed;
  z-index: 0;
}

html.premium-os-auth-page body.login_admin::before {
  background: linear-gradient(180deg, #08152e 0%, #10275a 40%, #1a3f96 76%, #2563eb 100%);
  box-shadow: 0 34px 90px rgba(8, 21, 46, 0.36);
}

html.premium-os-auth-page body.customers.authentication::before,
html.premium-os-auth-page body.customers.customers_login::before {
  background: linear-gradient(180deg, #11214b 0%, #183574 56%, #2452dd 100%);
}

html.premium-os-auth-page body.login_admin::after,
html.premium-os-auth-page body.customers.authentication::after,
html.premium-os-auth-page body.customers.customers_login::after {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.11) 0, rgba(255, 255, 255, 0) 58%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 34px);
  border-radius: 50%;
  content: "";
  height: min(38vw, 560px);
  left: 12%;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 560px);
  z-index: 0;
}

html.premium-os-auth-page body.login_admin::after {
  opacity: 0.24;
}

html.premium-os-auth-page body.customers.authentication::after,
html.premium-os-auth-page body.customers.customers_login::after {
  opacity: 0.34;
}

html.premium-os-auth-page body.login_admin > .container {
  max-width: none;
  padding: 24px;
  position: relative;
  width: 100%;
  z-index: 1;
}

html.premium-os-auth-page body.login_admin > .container > .row {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  min-height: calc(100dvh - 48px);
  position: relative;
}

html.premium-os-auth-page body.customers.authentication > .container {
  max-width: none;
  padding: 24px;
  position: relative;
  width: 100%;
  z-index: 1;
}

html.premium-os-auth-page body.customers.authentication > .container > .row {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  min-height: calc(100dvh - 48px);
  position: relative;
}

html.premium-os-auth-page body.customers.customers_login #wrapper,
html.premium-os-auth-page body.customers.customers_login #content,
html.premium-os-auth-page body.customers.customers_login #content > .container,
html.premium-os-auth-page body.customers.customers_login #wrapper .container {
  background: transparent;
  box-shadow: none;
  max-width: none;
  min-height: 100dvh;
  width: 100%;
}

html.premium-os-auth-page body.customers.customers_login #content > .container,
html.premium-os-auth-page body.customers.customers_login #wrapper .container {
  padding: 24px;
  position: relative;
  z-index: 1;
}

html.premium-os-auth-page body.customers.customers_login #content > .container > .row,
html.premium-os-auth-page body.customers.customers_login #wrapper .container > .row {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  min-height: calc(100dvh - 48px);
  position: relative;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper {
  align-self: center;
  display: flex;
  flex-direction: column;
  float: none;
  gap: 12px;
  justify-content: center;
  left: auto;
  margin: 0 clamp(24px, 4vw, 48px) 0 auto !important;
  max-width: 440px !important;
  min-height: calc(100dvh - 48px);
  padding: 0;
  position: relative;
  right: auto;
  width: min(100%, 440px) !important;
  z-index: 2;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper::before,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::before,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper::before {
  color: #f8fbff;
  content: var(--po-auth-shell-heading);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 700;
  left: clamp(56px, 7vw, 112px);
  line-height: 0.96;
  max-width: min(34vw, 500px);
  position: fixed;
  top: 50%;
  transform: translateY(-24%);
  white-space: pre-line;
  z-index: 1;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper::after,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::after,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper::after {
  color: rgba(232, 242, 255, 0.88);
  content: var(--po-auth-shell-copy);
  font-size: 1rem;
  left: clamp(56px, 7vw, 112px);
  line-height: 1.66;
  max-width: min(29vw, 420px);
  position: fixed;
  top: calc(50% + 166px);
  transform: translateY(-24%);
  white-space: pre-line;
  z-index: 1;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .company-logo,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .company-logo,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .company-logo {
  margin: 0 0 6px;
  max-width: 172px;
  padding: 0 !important;
  position: static;
  text-align: left;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .company-logo img,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .company-logo img,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .company-logo img {
  margin: 0;
  max-height: 54px;
  max-width: 100%;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .panel_s,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .panel_s,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .panel_s {
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 250, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.10);
  margin: 0;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .panel-body,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .panel-body,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .panel-body {
  padding: 24px 24px 20px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper h4,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper h4,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper h4 {
  color: transparent;
  font-size: 0;
  line-height: 0;
  margin: 0 0 14px;
  text-align: left;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper h4::before,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper h4::before,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper h4::before {
  color: #0f172a;
  content: var(--po-auth-form-title);
  display: block;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper h4::after,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper h4::after,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper h4::after {
  color: #64748b;
  content: var(--po-auth-form-copy);
  display: block;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 8px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper hr,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper hr,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper hr {
  margin: 0 0 14px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .control-label,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .control-label,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .control-label {
  font-size: 13px;
  margin-bottom: 6px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .form-control,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .form-control,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .form-control {
  font-size: 14px;
  height: 48px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .form-group,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .form-group,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .form-group {
  margin-bottom: 12px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .checkbox,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .checkbox,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .checkbox {
  margin: 0 0 14px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .checkbox label,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .checkbox label,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .checkbox label {
  font-size: 13px;
  font-weight: 600;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .btn.btn-primary,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .btn.btn-primary,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .btn.btn-primary {
  font-size: 15px;
  min-height: 50px;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .text-center,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .text-center,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .text-center {
  text-align: left;
}

html.premium-os-auth-page body.login_admin .authentication-form-wrapper .text-center a,
html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper .text-center a,
html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper .text-center a {
  font-size: 13px;
  font-weight: 600;
}

html.premium-os-auth-page body.customers.authentication .premium-os-auth-client-utility,
html.premium-os-auth-page body.customers.customers_login .premium-os-auth-client-utility {
  align-self: flex-end;
  position: relative;
  z-index: 3;
}

html.premium-os-auth-page body.customers.authentication .premium-os-auth-client-utility .premium-os-auth-language-menu__toggle,
html.premium-os-auth-page body.customers.customers_login .premium-os-auth-client-utility .premium-os-auth-language-menu__toggle {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(148, 163, 184, 0.26);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 9px 13px;
}

html.premium-os-auth-page body.customers.authentication .premium-os-auth-client-utility .premium-os-auth-language-menu__list,
html.premium-os-auth-page body.customers.customers_login .premium-os-auth-client-utility .premium-os-auth-language-menu__list {
  min-width: 196px;
}

@media (max-width: 991px) {
  html.premium-os-auth-page body.login_admin,
  html.premium-os-auth-page body.customers.authentication,
  html.premium-os-auth-page body.customers.customers_login {
    display: block;
    overflow: auto;
  }

  html.premium-os-auth-page body.login_admin::before,
  html.premium-os-auth-page body.login_admin::after,
  html.premium-os-auth-page body.customers.authentication::before,
  html.premium-os-auth-page body.customers.authentication::after,
  html.premium-os-auth-page body.customers.customers_login::before,
  html.premium-os-auth-page body.customers.customers_login::after,
  html.premium-os-auth-page body.login_admin .authentication-form-wrapper::before,
  html.premium-os-auth-page body.login_admin .authentication-form-wrapper::after,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::before,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper::after,
  html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper::before,
  html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper::after {
    display: none;
  }

  html.premium-os-auth-page body.login_admin > .container,
  html.premium-os-auth-page body.customers.authentication > .container,
  html.premium-os-auth-page body.customers.customers_login #content > .container,
  html.premium-os-auth-page body.customers.customers_login #wrapper .container {
    padding: 18px 14px;
  }

  html.premium-os-auth-page body.login_admin > .container > .row,
  html.premium-os-auth-page body.customers.authentication > .container > .row,
  html.premium-os-auth-page body.customers.customers_login #content > .container > .row,
  html.premium-os-auth-page body.customers.customers_login #wrapper .container > .row {
    display: block;
    min-height: auto;
  }

  html.premium-os-auth-page body.login_admin .authentication-form-wrapper,
  html.premium-os-auth-page body.customers.authentication .authentication-form-wrapper,
  html.premium-os-auth-page body.customers.customers_login .authentication-form-wrapper {
    margin: 0 auto !important;
    max-width: 520px;
    min-height: auto;
    width: 100%;
  }

  html.premium-os-auth-page body.customers.authentication,
  html.premium-os-auth-page body.customers.customers_login {
    padding: 18px 14px;
  }

  html.premium-os-auth-page body.customers.authentication .premium-os-auth-client-utility,
  html.premium-os-auth-page body.customers.customers_login .premium-os-auth-client-utility {
    margin: 0 0 10px;
    position: static;
  }
}
