/* ==========================================================================
   StyleShop — Login Premium Design System
   Matches exact brand aesthetic: Purple / Indigo (#5b37f2) + White + Boutique Showroom
   ========================================================================== */

:root {
  --primary: #5b37f2;
  --primary-hover: #4b26e0;
  --primary-light: #7c5cf8;
  --primary-soft: #f0edff;
  --primary-glow: rgba(91, 55, 242, 0.35);

  --text-main: #14142b;
  --text-heading: #111827;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --card-border: rgba(226, 232, 240, 0.8);
  --card-shadow: 0 24px 50px -12px rgba(91, 55, 242, 0.12), 0 8px 24px -4px rgba(15, 23, 42, 0.05);

  --input-bg: #f8fafc;
  --input-border: #e2e8f0;
  --input-text: #1e293b;
  --input-focus-border: #5b37f2;
  --input-focus-ring: rgba(91, 55, 242, 0.14);

  --badge-purple-bg: #ede9fe;
  --badge-purple-icon: #7c3aed;
  --badge-pink-bg: #ffe4e6;
  --badge-pink-icon: #f43f5e;
  --badge-mint-bg: #d1fae5;
  --badge-mint-icon: #059669;

  --support-bg: #f8fafc;
  --support-border: #f1f5f9;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Theme Support */
body.theme-dark {
  --primary: #6d4aff;
  --primary-hover: #5d35fa;
  --primary-light: #8e71ff;
  --primary-soft: rgba(109, 74, 255, 0.16);
  --primary-glow: rgba(109, 74, 255, 0.4);

  --text-main: #f1f5f9;
  --text-heading: #ffffff;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --bg-page: #0b0c16;
  --card-bg: #141523;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1);

  --input-bg: #1a1b2d;
  --input-border: #282a42;
  --input-text: #f8fafc;
  --input-focus-border: #6d4aff;
  --input-focus-ring: rgba(109, 74, 255, 0.25);

  --support-bg: #191b2e;
  --support-border: rgba(255, 255, 255, 0.06);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================================================
   Layout Shell
   ========================================================================== */

.login-viewport {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: stretch;
  background-color: #f8fafc;
  overflow: hidden;
}

body.theme-dark .login-viewport {
  background-color: #0c0d18;
}

/* Photographic Boutique Background */
.boutique-backdrop {
  position: absolute;
  inset: 0;
  background: url('../assets/login-bg.jpg') center right / cover no-repeat;
  z-index: 1;
  pointer-events: none;
}

/* Gradient Overlay to seamlessly blend left text & boutique background */
.boutique-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 28%,
    rgba(255, 255, 255, 0.96) 38%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.35) 64%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

body.theme-dark .boutique-gradient-overlay {
  background: linear-gradient(
    90deg,
    #0c0d18 0%,
    #0c0d18 28%,
    rgba(12, 13, 24, 0.96) 38%,
    rgba(12, 13, 24, 0.75) 52%,
    rgba(12, 13, 24, 0.45) 70%,
    transparent 100%
  );
}

/* Ambient glow in top-right behind card */
.ambient-glow-topright {
  position: absolute;
  top: -12%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.28) 0%, rgba(224, 215, 255, 0.12) 50%, transparent 70%);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

body.theme-dark .ambient-glow-topright {
  background: radial-gradient(circle, rgba(109, 74, 255, 0.22) 0%, rgba(88, 48, 224, 0.08) 55%, transparent 70%);
}

/* Main Grid Container */
.login-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 490px;
  align-items: center;
  padding: 40px clamp(24px, 5vw, 70px);
  gap: 30px;
  min-height: 100vh;
}

/* ==========================================================================
   Left Column: Hero & Brand Info
   ========================================================================== */

.hero-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 80px);
  max-width: 650px;
  padding: 10px 0;
}

/* Brand Logo (Top Left) */
.brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(91, 55, 242, 0.12);
}

body.theme-dark .brand-icon-box {
  background: #17182b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Center Content */
.hero-content {
  margin: 32px 0 24px 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #787196;
  text-transform: uppercase;
  margin-bottom: 22px;
}

body.theme-dark .hero-eyebrow {
  color: #9d96bd;
}

.eyebrow-line {
  display: inline-block;
  width: 24px;
  height: 2.5px;
  border-radius: 4px;
  background: var(--primary);
}

/* Large Main Slogan */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text-heading);
  margin-bottom: 22px;
}

.hero-headline .accent-purple {
  color: var(--primary);
  display: inline-block;
}

.hero-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 34px;
}

/* Feature Stack (3 items) */
.features-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 10px;
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateX(4px);
}

.feature-icon-squircle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
}

.feature-icon-squircle.purple {
  background-color: var(--badge-purple-bg);
  color: var(--badge-purple-icon);
}

.feature-icon-squircle.pink {
  background-color: var(--badge-pink-bg);
  color: var(--badge-pink-icon);
}

.feature-icon-squircle.mint {
  background-color: var(--badge-mint-bg);
  color: var(--badge-mint-icon);
}

body.theme-dark .feature-icon-squircle.purple {
  background-color: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

body.theme-dark .feature-icon-squircle.pink {
  background-color: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

body.theme-dark .feature-icon-squircle.mint {
  background-color: rgba(5, 150, 105, 0.2);
  color: #34d399;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-heading);
  line-height: 1.3;
}

.feature-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Bottom Bar of Left Column */
.hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 10px;
}

/* Pagination indicator pills (left bottom) */
.pagination-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill {
  height: 5px;
  border-radius: 10px;
  background-color: #e2e8f0;
  transition: all 0.3s ease;
}

body.theme-dark .pill {
  background-color: #282a42;
}

.pill.active {
  width: 26px;
  background-color: var(--primary);
}

.pill.inactive-1 {
  width: 14px;
}

.pill.inactive-2 {
  width: 8px;
}

/* Boutique Highlights Chips (under boutique shelf) */
.boutique-chips {
  display: flex;
  align-items: center;
  gap: 20px;
}

.boutique-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
}

body.theme-dark .boutique-chip {
  color: #94a3b8;
}

.boutique-chip svg {
  stroke: #475569;
  transition: stroke 0.2s ease, transform 0.2s ease;
}

body.theme-dark .boutique-chip svg {
  stroke: #94a3b8;
}

.boutique-chip:hover {
  color: var(--primary);
}

.boutique-chip:hover svg {
  stroke: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Right Column: Floating Login Card
   ========================================================================== */

.card-column {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--card-bg);
  border-radius: 28px;
  padding: 38px 36px 32px 36px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  position: relative;
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Card Header: Brand Logo & Theme Toggle Switch */
.auth-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.card-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--primary-soft);
}

.card-brand-text {
  display: flex;
  flex-direction: column;
}

.card-brand-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.card-brand-subtitle {
  font-size: 9px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Theme Toggle Switch (Sun / Moon) */
.theme-switch {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

body.theme-dark .theme-switch {
  background: #1e2034;
  border-color: #2b2e4a;
}

.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  color: var(--primary);
}

.theme-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

body.theme-dark .theme-btn.active {
  background: #2a2d48;
  color: #a78bfa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Card Greeting */
.auth-greeting {
  margin-bottom: 24px;
}

.greeting-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.greeting-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Form Fields */
.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-field-group {
  margin-bottom: 18px;
}

.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 14px;
  padding: 0 16px;
  height: 52px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-input-wrapper:focus-within {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 4px var(--input-focus-ring);
  background: #ffffff;
}

body.theme-dark .auth-input-wrapper:focus-within {
  background: #1c1d30;
}

.field-leading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: var(--primary);
  flex-shrink: 0;
}

.auth-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--input-text);
  outline: none;
}

.auth-input::placeholder {
  color: var(--text-subtle);
  font-size: 13.5px;
}

/* Password Toggle Icon Button */
.password-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: var(--primary);
}

/* Field Validation Error */
.field-error {
  display: block;
  min-height: 18px;
  font-size: 11.5px;
  color: #e11d48;
  margin-top: 5px;
  font-weight: 500;
}

/* Row: Remember Me & Forgot Password */
.auth-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 24px 0;
}

.remember-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.remember-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

body.theme-dark .custom-checkbox-box {
  background: #23253b;
  border-color: #353856;
}

.custom-checkbox-box svg {
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.remember-checkbox-label input:checked + .custom-checkbox-box {
  background: var(--primary);
  border-color: var(--primary);
}

.remember-checkbox-label input:checked + .custom-checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.forgot-password-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.forgot-password-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* Submit Button */
.auth-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 10px 24px -4px var(--primary-glow);
  transition: all 0.2s ease;
}

.auth-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -4px var(--primary-glow);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.auth-submit-btn svg {
  transition: transform 0.2s ease;
}

.auth-submit-btn:hover svg {
  transform: translateX(3px);
}

/* Alert Notices (Error / Session messages) */
.notice {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 18px;
}

.notice--error {
  color: #be123c;
  background-color: #ffe4e6;
  border: 1px solid #fecdd3;
}

body.theme-dark .notice--error {
  color: #fda4af;
  background-color: rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.3);
}

.notice--info {
  color: #4338ca;
  background-color: #e0e7ff;
  border: 1px solid #c7d2fe;
}

body.theme-dark .notice--info {
  color: #c7d2fe;
  background-color: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Divider with central dot */
.card-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 20px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #f1f5f9;
}

body.theme-dark .divider-line {
  background: rgba(255, 255, 255, 0.08);
}

.divider-circle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  background: transparent;
}

body.theme-dark .divider-circle {
  border-color: #475569;
}

/* Help & Support Banner at the bottom of the card */
.auth-support-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--support-bg);
  border: 1px solid var(--support-border);
  border-radius: 16px;
  padding: 14px 16px;
  transition: background-color 0.2s ease;
}

.support-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

body.theme-dark .support-icon-circle {
  background: rgba(109, 74, 255, 0.18);
  color: #a78bfa;
}

.support-content {
  display: flex;
  flex-direction: column;
}

.support-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-heading);
}

.support-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Utility */
.hidden {
  display: none !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1200px) {
  .login-container {
    grid-template-columns: 1fr 440px;
    padding: 30px 40px;
    gap: 20px;
  }

  .boutique-chips {
    gap: 12px;
  }

  .hero-headline {
    font-size: 3rem;
  }
}

@media (max-width: 980px) {
  .login-container {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 32px 20px;
    min-height: 100vh;
  }

  .hero-column {
    display: none; /* Emphasize clean mobile card */
  }

  .card-column {
    justify-content: center;
    max-width: 480px;
  }

  .boutique-backdrop {
    opacity: 0.35;
  }

  .boutique-gradient-overlay {
    background: rgba(255, 255, 255, 0.88);
  }

  body.theme-dark .boutique-gradient-overlay {
    background: rgba(12, 13, 24, 0.92);
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 28px 20px 24px 20px;
    border-radius: 22px;
  }

  .greeting-title {
    font-size: 23px;
  }

  .auth-options-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Ajuste fiel al diseño de referencia */
.login-viewport {
  background:
    radial-gradient(circle at 100% 7%, rgba(168, 120, 255, .28) 0 11%, transparent 24%),
    linear-gradient(145deg, #fbfcff 55%, #f2efff 100%);
}

.boutique-backdrop {
  right: 40%;
  background-image: url('../assets/login-boutique-v2.png');
  background-position: 54% center;
}

.boutique-gradient-overlay {
  right: 40%;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 26%, rgba(255,255,255,.84) 39%, rgba(255,255,255,.26) 56%, transparent 75%);
}

.ambient-glow-topright {
  top: -22%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(151,92,255,.30), rgba(207,184,255,.13) 48%, transparent 70%);
}

.login-container {
  max-width: none;
  grid-template-columns: 60% 40%;
  gap: 0;
  padding: 0;
}

.hero-column {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: clamp(34px,5vh,52px) 5.8vw clamp(24px,4vh,38px);
}

.brand-header { gap: 16px; }
.brand-icon-box { width: 58px; height: 58px; border-radius: 16px; }
.brand-icon-box svg { width: 42px; height: 42px; }
.brand-title { font-size: 30px; }
.brand-title__style { color: #111735; }
.brand-title__shop { color: var(--primary); }
.brand-subtitle { margin-top: 5px; font-size: 11px; color: #9299b3; letter-spacing: .22em; }

.hero-content {
  margin: clamp(24px,4vh,38px) 0 18px;
  max-width: 520px;
}

.hero-eyebrow { margin-bottom: 25px; }
.hero-headline { font-size: clamp(3rem,3.7vw,4.05rem); line-height: 1.045; margin-bottom: 22px; }
.hero-description { margin-bottom: 24px; font-size: 15px; line-height: 1.55; }
.features-stack { gap: 7px; }
.feature-item { padding: 5px 0; gap: 18px; }
.feature-icon-squircle { width: 54px; height: 54px; min-width: 54px; border-radius: 15px; }
.feature-icon-squircle svg { width: 28px; height: 28px; }
.feature-title { font-size: 15px; }
.feature-desc { margin-top: 2px; font-size: 13px; }

.hero-footer { margin-top: 12px; padding-top: 0; }
.boutique-chips { margin-left: auto; margin-right: 1.5vw; gap: clamp(24px,3.4vw,58px); }
.boutique-chip { min-width: 92px; gap: 7px; font-size: 11px; }
.boutique-chip svg { width: 28px; height: 28px; }
.pagination-pills { align-self: flex-end; padding-bottom: 5px; }
.pill { height: 7px; }
.pill.active { width: 34px; }
.pill.inactive-1,.pill.inactive-2 { width: 34px; }

.card-column {
  min-height: 100vh;
  justify-content: center;
  padding: clamp(38px,8vh,84px) clamp(34px,3.2vw,58px);
}

.auth-card {
  max-width: 595px;
  border-radius: 30px;
  padding: clamp(32px,4vh,42px) clamp(34px,3vw,46px) clamp(28px,3.5vh,36px);
  box-shadow: 0 30px 70px rgba(70,44,152,.10), 0 4px 18px rgba(49,39,91,.05);
}

.auth-card-header { margin-bottom: 34px; }
.card-brand-icon { width: 50px; height: 50px; background: transparent; }
.card-brand-icon svg { width: 42px; height: 42px; }
.card-brand-title { font-size: 27px; }
.card-brand-subtitle { margin-top: 5px; font-size: 10px; color: #9299b3; letter-spacing: .22em; }
.theme-switch { padding: 4px; background: #f0f1f8; }
.theme-btn { width: 34px; height: 34px; }
.auth-greeting { margin-bottom: 28px; }
.greeting-title { font-size: 34px; }
.greeting-subtitle { font-size: 15px; }
.auth-field-group { margin-bottom: 16px; }
.auth-label { font-size: 14px; margin-bottom: 9px; }
.auth-input-wrapper { height: 57px; border-radius: 13px; }
.auth-input { font-size: 15px; }
.auth-options-row { margin: 2px 0 20px; }
.remember-checkbox-label,.forgot-password-link { font-size: 12px; }
.auth-submit-btn { height: 58px; border-radius: 13px; font-size: 16px; background: linear-gradient(100deg,#5826f3,#8547ef); }
.card-divider { margin: 27px 0 22px; }
.auth-support-box { padding: 15px 17px; border-radius: 14px; background: linear-gradient(100deg,#f5f3ff,#f7f7fc); }
.support-icon-circle { width: 46px; height: 46px; min-width: 46px; }
.support-title { font-size: 13px; }
.support-desc { font-size: 12px; }

@media (max-height: 760px) and (min-width: 981px) {
  .hero-column { padding-top: 24px; padding-bottom: 20px; }
  .brand-icon-box { width: 48px; height: 48px; }
  .hero-content { margin: 18px 0 8px; }
  .hero-headline { font-size: 3rem; margin-bottom: 14px; }
  .hero-description { margin-bottom: 12px; }
  .feature-icon-squircle { width: 44px; height: 44px; min-width: 44px; }
  .card-column { padding-top: 24px; padding-bottom: 24px; }
  .auth-card { padding-top: 26px; padding-bottom: 24px; }
  .auth-card-header,.auth-greeting { margin-bottom: 18px; }
  .auth-input-wrapper { height: 50px; }
  .auth-field-group { margin-bottom: 10px; }
  .card-divider { margin: 16px 0; }
}

@media (max-width: 1200px) and (min-width: 981px) {
  .login-container { grid-template-columns: 56% 44%; }
  .boutique-backdrop,.boutique-gradient-overlay { right: 44%; }
  .hero-column { padding-left: 4vw; padding-right: 3vw; }
  .hero-headline { font-size: 3rem; }
  .card-column { padding-left: 26px; padding-right: 26px; }
}

body.theme-dark .login-viewport { background: radial-gradient(circle at 100% 0,rgba(91,55,242,.24),transparent 28%),#0c0d18; }
body.theme-dark .boutique-gradient-overlay { background: linear-gradient(90deg,#0c0d18 0%,rgba(12,13,24,.96) 28%,rgba(12,13,24,.68) 45%,transparent 74%); }
body.theme-dark .brand-title__style { color:#fff; }
body.theme-dark .auth-support-box { background:#191b2e; }

@media (max-width: 980px) {
  .login-container { grid-template-columns:1fr; padding:28px 18px; }
  .hero-column { display:none; }
  .card-column { min-height:calc(100vh - 56px); padding:0; max-width:540px; justify-content:center; }
  .boutique-backdrop { right:0; opacity:.20; }
  .boutique-gradient-overlay { right:0; background:rgba(250,250,255,.88); }
  body.theme-dark .boutique-gradient-overlay { background:rgba(12,13,24,.91); }
  .auth-card { max-width:520px; }
}

@media (max-width: 480px) {
  .login-container { padding:0; }
  .card-column { min-height:100vh; }
  .auth-card { min-height:100vh; border-radius:0; padding:26px 20px; display:flex; flex-direction:column; justify-content:center; }
  .auth-card-header { margin-bottom:26px; }
  .card-brand-title { font-size:22px; }
  .card-brand-icon { width:42px; height:42px; }
  .greeting-title { font-size:28px; }
}
