:root {
  --sidebar-bg: #0b1534;
  --sidebar-primary: #2f6bff;
  --sidebar-primary-dark: #152b8a;
  --sidebar-text: #0f1d3f;
  --sidebar-muted: #7a88ad;
  --card-shadow: 0 40px 120px rgba(8, 16, 56, 0.32);
  --glass: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(255, 255, 255, 0.18);
  --chip-bg: rgba(255, 255, 255, 0.18);
  --chip-border: rgba(255, 255, 255, 0.28);
}

html {
  height: 100%;
}

.auth-body {
  min-height: 100vh;
  height: auto;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(49, 92, 255, 0.16), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(22, 219, 191, 0.15), transparent 26%),
    #0a183c;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Space Grotesk", "Poppins", sans-serif;
  color: #e8ecf7;
}

.auth-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.auth-stage {
  width: 100%;
  min-height: 100vh;
  height: auto;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 5vw, 36px);
  padding: clamp(24px, 6vw, 60px);
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
}

.auth-shell {
  width: min(1200px, 100%);
  min-height: clamp(600px, 82vh, 760px);
  border-radius: 36px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--card-shadow);
  display: flex;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.auth-shell-single {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 28px);
  width: min(600px, 100%);
  min-height: auto;
  padding: clamp(26px, 6vw, 36px);
  background: #f7f9ff;
  border: 1px solid rgba(49, 92, 255, 0.12);
  box-shadow: 0 28px 90px rgba(10, 24, 68, 0.32);
}

.auth-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 160% at 15% 20%, rgba(31, 88, 213, 0.12), transparent 45%),
    radial-gradient(140% 160% at 85% 80%, rgba(18, 58, 140, 0.14), transparent 48%);
  pointer-events: none;
  z-index: 0;
}


.auth-pane {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  z-index: 1;
  justify-content: center;
  gap: 18px;
}

.auth-pane-single {
  align-items: center;
  text-align: center;
  gap: clamp(18px, 4vw, 28px);
  padding: 0;
}


.auth-left-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.auth-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--sidebar-text);
}

.auth-pill {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(49, 92, 255, 0.2);
  color: rgba(16, 38, 110, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(20, 46, 115, 0.2);
}

.auth-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: rgba(18, 38, 90, 0.62);
}

.auth-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.02em;
}

.auth-lead {
  margin: 4px 0 0;
  color: rgba(18, 38, 90, 0.72);
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
}

.auth-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 88, 213, 0.08);
  border: 1px solid rgba(31, 88, 213, 0.14);
  color: rgba(18, 38, 90, 0.82);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 30px rgba(20, 46, 115, 0.12);
}

.auth-chip.muted {
  background: rgba(10, 20, 50, 0.06);
  border-color: rgba(10, 20, 50, 0.12);
  color: rgba(18, 38, 90, 0.68);
}

.auth-chip i {
  color: var(--sidebar-primary);
}

.auth-brand-block {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(31, 88, 213, 0.08);
  border: 1px solid rgba(31, 88, 213, 0.12);
  box-shadow: 0 20px 36px rgba(20, 46, 115, 0.12);
}

.auth-logo-large {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(49, 92, 255, 0.18);
  border: 1px solid rgba(49, 92, 255, 0.2);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 38px rgba(10, 24, 68, 0.2);
}

.auth-logo-img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(10, 24, 68, 0.2));
}

.auth-brand-block-vertical {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px 22px;
  gap: 12px;
}

.auth-brand-block-vertical .auth-brand-block-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.auth-form-card-inline {
  width: 100%;
  max-width: 640px;
}

.auth-brand-block-text h3 {
  margin: 0;
  font-size: 18px;
  color: rgba(16, 38, 110, 0.95);
}

.auth-brand-block-text p {
  margin: 4px 0 0;
  color: rgba(18, 38, 90, 0.7);
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.auth-metric-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 88, 213, 0.12);
  box-shadow: 0 22px 40px rgba(20, 46, 115, 0.18);
}

.auth-metric-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(18, 38, 90, 0.6);
}

.auth-metric-value {
  margin: 6px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: rgba(16, 38, 110, 0.96);
}

.auth-metric-note {
  font-size: 12px;
  color: rgba(18, 38, 90, 0.62);
}

.auth-progress {
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(31, 88, 213, 0.08);
  border: 1px solid rgba(31, 88, 213, 0.12);
  box-shadow: 0 20px 36px rgba(20, 46, 115, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auth-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(18, 38, 90, 0.82);
  font-weight: 700;
}

.auth-progress-label {
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(31, 88, 213, 0.12);
  font-size: 12px;
  color: rgba(18, 38, 90, 0.7);
}

.auth-progress-bar {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(31, 88, 213, 0.14);
  overflow: hidden;
}

.auth-progress-fill {
  position: absolute;
  inset: 0;
  width: var(--progress, 68%);
  background: var(--sidebar-primary);
  border-radius: inherit;
  box-shadow: 0 10px 22px rgba(31, 88, 213, 0.25);
  transition: width 0.5s ease;
}

.auth-progress-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(18, 38, 90, 0.68);
}

.auth-progress-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-progress-meta i,
.auth-form-foot-item i {
  color: var(--sidebar-primary);
}

.auth-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

.auth-highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(31, 88, 213, 0.08);
  border: 1px solid rgba(31, 88, 213, 0.12);
  box-shadow: 0 16px 26px rgba(20, 46, 115, 0.15);
  backdrop-filter: blur(10px);
}

.auth-highlight-card i {
  font-size: 20px;
  color: rgba(31, 88, 213, 0.8);
}

.auth-highlight-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(18, 38, 90, 0.85);
}

.auth-highlight-text {
  margin: 2px 0 0;
  font-size: 12px;
  color: rgba(18, 38, 90, 0.65);
}

.auth-pane-right {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-pane-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.28), transparent 58%),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.24), transparent 60%);
  pointer-events: none;
}

.auth-header {
  width: 100%;
  display: flex;
  align-items: center;
  border-radius: 32px;
  padding: 26px 32px;
  border: 1px solid rgba(48, 92, 210, 0.12);
  box-shadow: 0 28px 48px rgba(20, 46, 115, 0.18);
}

.auth-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}

.auth-heading-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #1a3088;
  display: grid;
  place-items: center;
  font-size: 24px;
}

.auth-heading-text h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(16, 38, 110, 0.96);
  text-wrap: balance;
}

.auth-heading-text p {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(30, 60, 140, 0.62);
  text-wrap: pretty;
}

@media (max-width: 768px) {
  .auth-header {
    padding: 22px 24px;
    border-radius: 22px;
  }

  .auth-heading {
    align-items: flex-start;
    gap: 16px;
  }

  .auth-heading-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field label {
  font-weight: 600;
  font-size: 16px;
  color: var(--sidebar-text);
}

.auth-input {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  border: 1px solid rgba(49, 92, 255, 0.18);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 14px 32px rgba(20, 46, 115, 0.16);
  transition: border 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(8px);
  cursor: text;
  overflow: hidden;
}

.auth-input::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.4;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.auth-input::after {
  content: "";
  position: absolute;
  inset: 4px auto 4px 4px;
  width: 8px;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.auth-input:focus-within {
  border-color: rgba(31, 88, 213, 0.4);
  box-shadow: 0 18px 38px rgba(31, 88, 213, 0.18);
}

.auth-input:focus-within::before {
  opacity: 1;
}

.auth-input:focus-within::after {
  opacity: 1;
}

.auth-input i {
  color: var(--sidebar-primary);
  font-size: 20px;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.auth-input input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: var(--sidebar-text);
  position: relative;
  z-index: 1;
}

.auth-input input::placeholder {
  color: rgba(20, 46, 115, 0.45);
}

.auth-eye-btn {
  margin-left: auto;
  border: none;
  background: rgba(49, 92, 255, 0.08);
  color: var(--sidebar-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.auth-eye-btn:hover {
  background: rgba(49, 92, 255, 0.16);
  transform: translateY(-1px);
}

.auth-eye-btn:focus-visible {
  outline: 2px solid rgba(49, 92, 255, 0.35);
  outline-offset: 2px;
}

.auth-location-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 88, 213, 0.08), rgba(31, 88, 213, 0.02));
  border: 1px solid rgba(31, 88, 213, 0.16);
  position: relative;
  overflow: hidden;
}

.auth-location-inline::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(31, 88, 213, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.auth-location-inline:hover::after {
  opacity: 0.6;
}

.auth-location-info {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--sidebar-primary);
  min-width: 0;
  position: relative;
  z-index: 1;
}

.auth-location-info i {
  margin-top: 2px;
}

.auth-location-link {
  color: inherit;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.auth-refresh {
  background: linear-gradient(135deg, var(--sidebar-primary), #2845d7);
  border: none;
  color: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.auth-refresh:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(31, 88, 213, 0.25);
}

.auth-body .auth-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(220, 70, 80, 0.24);
  background: linear-gradient(135deg, rgba(255, 240, 242, 0.95), rgba(255, 255, 255, 0.92));
  color: #8c1f2c;
  box-shadow: 0 16px 32px rgba(220, 70, 80, 0.16);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.auth-body .auth-alert.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-body .auth-alert-icon {
  font-size: 22px;
}

.auth-body .auth-alert-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.003em;
}

.auth-body .auth-alert-close {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.5);
  color: inherit;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.auth-body .auth-alert-close:hover {
  background: rgba(255, 255, 255, 0.65);
  transform: scale(1.05);
}

.auth-body .auth-alert-info {
  border-color: rgba(39, 88, 212, 0.28);
  background: linear-gradient(135deg, rgba(235, 243, 255, 0.95), rgba(255, 255, 255, 0.92));
  color: #1f3f8f;
  box-shadow: 0 16px 32px rgba(35, 77, 202, 0.18);
}

.auth-body .auth-alert-warn {
  border-color: rgba(234, 160, 37, 0.32);
  background: linear-gradient(135deg, rgba(255, 247, 228, 0.95), rgba(255, 255, 255, 0.92));
  color: #8a5304;
  box-shadow: 0 16px 32px rgba(177, 120, 24, 0.16);
}

.auth-body .auth-alert-error {
  border-color: rgba(220, 70, 80, 0.3);
  background: linear-gradient(135deg, rgba(255, 240, 242, 0.95), rgba(255, 255, 255, 0.92));
  color: #8c1f2c;
  box-shadow: 0 16px 32px rgba(173, 40, 48, 0.2);
}

.auth-body .auth-alert-ok {
  border-color: rgba(41, 167, 117, 0.28);
  background: linear-gradient(135deg, rgba(233, 255, 246, 0.96), rgba(255, 255, 255, 0.92));
  color: #0f6645;
  box-shadow: 0 16px 32px rgba(24, 125, 86, 0.18);
}

.auth-body .auth-alert-ok .auth-alert-close,
.auth-body .auth-alert-warn .auth-alert-close,
.auth-body .auth-alert-error .auth-alert-close,
.auth-body .auth-alert-info .auth-alert-close {
  color: inherit;
}

.auth-spin {
  display: inline-block;
  animation: authSpin 0.8s linear infinite;
}

@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}

.auth-input.auth-input-error {
  border-radius: 18px;
  border-color: rgba(255, 90, 120, 0.6);
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 105, 135, 0.2), 0 16px 30px rgba(220, 49, 79, 0.18);
}

.auth-input.auth-input-error::before {
  background: none;
  opacity: 0;
}

.auth-input input.input-validation-error {
  color: #c81e4a;
}

.auth-input input.input-validation-error::placeholder {
  color: rgba(200, 30, 74, 0.32);
}

.auth-input.auth-input-error i {
  color: #c81e4a;
}

.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus,
.auth-input input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  box-shadow: 0 0 0 1000px transparent inset;
  background: transparent !important;
  transition: background-color 5000s ease-in-out 0s;
}

.auth-input input:autofill,
.auth-input input:autofill:hover,
.auth-input input:autofill:focus {
  box-shadow: 0 0 0 1000px transparent inset;
  background: transparent !important;
}

.auth-field.auth-field-error label {
  color: #c81e4a;
}

.auth-location-inline.auth-location-error {
  border-radius: 18px;
  border: 1px solid rgba(220, 70, 80, 0.45);
  box-shadow: 0 12px 24px rgba(220, 49, 79, 0.18);
  background: linear-gradient(135deg, rgba(255, 240, 243, 0.88), rgba(255, 255, 255, 0.92));
}

.auth-location-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(233, 240, 255, 0.9));
  color: rgba(16, 38, 110, 0.9);
  border: 1px solid rgba(31, 88, 213, 0.16);
  box-shadow: 0 14px 32px rgba(20, 46, 115, 0.16);
}

.auth-location-banner.ok {
  background: linear-gradient(135deg, rgba(12, 122, 92, 0.12), rgba(233, 255, 246, 0.9));
  color: #0f6645;
  border-color: rgba(24, 125, 86, 0.3);
}

.auth-location-banner.warn {
  background: linear-gradient(135deg, rgba(255, 247, 228, 0.95), rgba(255, 255, 255, 0.9));
  color: #8a5304;
  border-color: rgba(234, 160, 37, 0.3);
}

.auth-location-banner.error {
  background: linear-gradient(135deg, rgba(255, 240, 242, 0.95), rgba(255, 255, 255, 0.9));
  color: #8c1f2c;
  border-color: rgba(220, 70, 80, 0.32);
}

.auth-submit {
  border: none;
  border-radius: 18px;
  padding: 18px 26px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.01em;
  background: #0C1E3F;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 30px 52px rgba(31, 88, 213, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 32px 54px rgba(31, 88, 213, 0.32);
  filter: saturate(1.04);
}

.auth-form-card {
  width: min(640px, 100%);
  background: linear-gradient(185deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 255, 0.95));
  border-radius: 32px;
  border: 1px solid rgba(46, 105, 255, 0.16);
  box-shadow: 0 34px 86px rgba(10, 24, 68, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.auth-form-card::before {
  content: "";
  position: absolute;
  inset: -18% auto auto 32%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 50% 50%, rgba(47, 107, 255, 0.22), rgba(47, 107, 255, 0));
  filter: blur(18px);
  opacity: 0.9;
  z-index: 0;
}

.auth-form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.7), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.auth-form-card > * {
  position: relative;
  z-index: 1;
}

.auth-form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 88, 213, 0.12);
}

.auth-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(49, 92, 255, 0.08), rgba(31, 88, 213, 0.02));
  border: 1px solid rgba(49, 92, 255, 0.12);
}

.auth-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(10, 24, 68, 0.18));
}

.auth-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(49, 92, 255, 0.24), rgba(14, 24, 60, 0.14));
  border: 1px solid rgba(49, 92, 255, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: rgba(16, 38, 110, 0.9);
  letter-spacing: 0.06em;
  box-shadow: 0 14px 24px rgba(10, 24, 68, 0.2);
  overflow: hidden;
}

.auth-logo-circle-img {
  width: 74%;
  height: 74%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(10, 24, 68, 0.2));
}

.auth-brand-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-brand-mini-label {
  font-size: 13px;
  color: rgba(18, 38, 90, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-brand-mini-title {
  font-size: 18px;
  color: rgba(16, 38, 110, 0.9);
  letter-spacing: -0.01em;
}

.auth-form-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 44px);
  color: rgba(16, 38, 110, 0.98);
  letter-spacing: -0.01em;
}

.auth-form-head p {
  margin: 10px 0 0;
  color: rgba(18, 38, 90, 0.72);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
}

.auth-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.auth-text-btn {
  border: none;
  background: none;
  color: var(--sidebar-primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.auth-form-foot {
  margin-top: 6px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  color: rgba(18, 38, 90, 0.7);
  font-size: 13px;
}

.auth-form-foot-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 88, 213, 0.06);
  border: 1px solid rgba(31, 88, 213, 0.14);
  box-shadow: 0 14px 28px rgba(20, 46, 115, 0.12);
}

.auth-footer-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--sidebar-muted);
  text-align: center;
}

.auth-pane-right .auth-footer-note {
  color: rgba(255, 255, 255, 0.7);
}

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  flex: 1;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 28px 28px auto 60%;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent);
  pointer-events: none;
  mix-blend-mode: screen;
}

.auth-visual-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-visual-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(18, 58, 140, 0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.auth-visual-header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  color: rgba(18, 38, 90, 0.94);
}

.auth-visual-header p {
  margin: 0;
  font-size: 13px;
  color: rgba(18, 38, 90, 0.68);
  line-height: 1.55;
}

.auth-map-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 320px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 55px rgba(20, 46, 115, 0.2);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
}

.auth-map {
  width: 100%;
  height: 100%;
}

.auth-map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), transparent 70%);
}

.auth-visual-hints {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: rgba(18, 38, 90, 0.72);
  font-size: 13px;
}

.auth-visual-hints li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-visual-hints i {
  color: var(--sidebar-primary);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(18, 58, 140, 0.12);
}

.auth-right-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.auth-right-card {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 88, 213, 0.12);
  box-shadow: 0 22px 40px rgba(31, 88, 213, 0.18);
  backdrop-filter: blur(14px);
}

.auth-right-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #1f3f8f;
  background: rgba(31, 88, 213, 0.16);
}

.auth-right-card-label {
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(25, 55, 128, 0.58);
}

.auth-right-card-value {
  margin: 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(16, 38, 110, 0.96);
}

.auth-right-card-desc {
  margin: 0;
  font-size: 12px;
  color: rgba(25, 55, 128, 0.64);
}

@media (max-width: 1100px) {
  .auth-shell {
    width: min(700px, 100%);
    flex-direction: column;
    align-items: stretch;
  }

  .auth-shell-single {
    width: min(560px, 100%);
    padding: clamp(22px, 7vw, 32px);
  }

  .auth-pane {
    padding: clamp(24px, 8vw, 38px);
    align-items: stretch;
    text-align: left;
  }

  .auth-pane-single {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .auth-pane-right {
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .auth-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-right-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-map-wrapper {
    min-height: 260px;
  }
}

@media (max-width: 820px) {
  .auth-stage {
    min-height: 100vh;
    gap: clamp(18px, 6vw, 30px);
    padding: clamp(20px, 8vw, 36px);
    justify-content: center;
  }

  .auth-shell {
    border-radius: 28px;
    min-height: auto;
    width: min(620px, 100%);
  }

  .auth-shell-single {
    width: min(540px, 100%);
    gap: clamp(16px, 4vw, 24px);
  }

  .auth-pane {
    padding: clamp(20px, 8vw, 30px);
    align-items: stretch;
    text-align: left;
  }

  .auth-pane-single {
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .auth-left-body {
    gap: 18px;
  }

  .auth-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-pane-right {
    display: flex;
    order: -1;
  }

  .auth-form-card {
    width: 100%;
    padding: clamp(26px, 7vw, 38px);
    border-radius: 28px;
  }

  .auth-form-head h2 {
    font-size: clamp(26px, 6vw, 36px);
  }

  .auth-input {
    padding: 16px 20px;
    gap: 12px;
    border-radius: 18px;
  }

  .auth-input input {
    font-size: 16px;
  }

  .auth-submit {
    padding: 16px 22px;
    font-size: 16px;
  }

  .auth-metrics {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .auth-chip-row {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .auth-stage {
    gap: clamp(16px, 6vw, 24px);
    padding: clamp(18px, 8vw, 28px);
  }

  .auth-shell {
    border-radius: 22px;
    min-height: auto;
    box-shadow: 0 26px 50px rgba(20, 46, 115, 0.18);
  }

  .auth-shell-single {
    width: 100%;
    padding: clamp(20px, 10vw, 30px);
    gap: 18px;
  }

  .auth-pane {
    padding: clamp(18px, 10vw, 26px);
    gap: 18px;
  }

  .auth-header {
    padding: 20px 22px;
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .auth-heading-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .auth-form-card {
    padding: clamp(22px, 9vw, 30px);
    border-radius: 26px;
  }

  .auth-form-head h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .auth-input {
    padding: 15px 18px;
    gap: 10px;
    border-radius: 16px;
  }

  .auth-input input {
    font-size: 16px;
  }

  .auth-submit {
    padding: 15px 20px;
    font-size: 16px;
    gap: 10px;
  }

  .auth-highlight-grid {
    grid-template-columns: 1fr;
  }

  .auth-right-cards {
    grid-template-columns: 1fr;
  }

  .auth-map-wrapper {
    min-height: 220px;
  }
}

@media (max-width: 420px) {
  .auth-stage {
    padding: clamp(14px, 7vw, 24px);
    gap: clamp(14px, 6vw, 22px);
  }

  .auth-form-card {
    width: 100%;
    max-width: 94vw;
    padding: clamp(22px, 8vw, 30px);
  }

  .auth-form-head h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .auth-form-head p {
    font-size: clamp(14px, 4vw, 16px);
  }

  .auth-input {
    padding: 14px 16px;
    gap: 10px;
  }

  .auth-submit {
    padding: 14px 18px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .auth-stage {
    padding: clamp(12px, 8vw, 20px);
    gap: clamp(12px, 5vw, 18px);
  }

  .auth-form-card {
    padding: clamp(18px, 7vw, 26px);
    border-radius: 22px;
  }

  .auth-form {
    gap: 14px;
  }

  .auth-input {
    padding: 12px 14px;
    gap: 9px;
  }

  .auth-input input {
    font-size: 15px;
  }

  .auth-submit {
    padding: 13px 16px;
    font-size: 15px;
  }
}

@media (max-height: 760px) {
  .auth-stage {
    gap: clamp(14px, 4vh, 22px);
    padding: clamp(12px, 6vh, 28px);
  }

  .auth-form-card {
    padding: clamp(22px, 5vh, 34px);
    border-radius: 26px;
  }

  .auth-form-head h2 {
    font-size: clamp(22px, 4vh, 30px);
  }

  .auth-form-head p {
    font-size: clamp(14px, 2vh, 16px);
  }

  .auth-form {
    gap: 18px;
  }

  .auth-input {
    padding: 14px 18px;
    gap: 12px;
    border-radius: 16px;
  }

  .auth-input input {
    font-size: 15px;
  }

  .auth-submit {
    padding: 14px 18px;
    font-size: 15px;
    gap: 10px;
  }

  .auth-logo-circle {
    width: 54px;
    height: 54px;
  }

  .auth-logo-circle-img {
    width: 70%;
    height: 70%;
  }

  .auth-brand-mini-title {
    font-size: 17px;
  }
}

@media (max-height: 640px) {
  .auth-stage {
    padding: clamp(10px, 5vh, 22px);
    gap: clamp(12px, 4vh, 18px);
  }

  .auth-form-card {
    padding: clamp(18px, 4vh, 28px);
    border-radius: 24px;
  }

  .auth-form {
    gap: 16px;
  }

  .auth-input {
    padding: 12px 16px;
    gap: 10px;
  }

  .auth-input input {
    font-size: 15px;
  }

  .auth-submit {
    padding: 13px 16px;
    font-size: 15px;
    gap: 10px;
  }

  .auth-footer-note {
    margin-top: 4px;
  }
}
