/* ==========================================================================
   SocialAI Modern Auth Shell — Desktop & Mobile (Light & Dark Modes)
   Loaded strictly on auth routes (*auth.*) for crisp styling & fast loads.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --auth-font-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --auth-font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --auth-font-mono: "JetBrains Mono", ui-monospace, monospace;

  --auth-violet: #7f56d9;
  --auth-violet-deep: #5b21b6;
  --auth-orange: #fe6401;
  --auth-cyan: #38bdf8;
  --auth-green: #10b981;
  --auth-amber: #f59e0b;
  --auth-danger: #ef4444;

  --auth-canvas-bg: #f1f4fa;
  --auth-grid-line: rgba(15, 23, 42, 0.045);
  --auth-card-bg: rgba(255, 255, 255, 0.96);
  --auth-card-border: rgba(15, 23, 42, 0.08);
  --auth-card-shadow: 0 24px 70px -18px rgba(15, 23, 42, 0.14);

  --auth-text: #0f172a;
  --auth-muted: #475569;
  --auth-subtle: #64748b;

  --auth-input-bg: #f8fafc;
  --auth-input-border: rgba(15, 23, 42, 0.14);
  --auth-input-focus: rgba(127, 86, 217, 0.16);
  --auth-option-bg: #ffffff;

  --auth-surface-muted: #f8fafc;
  --auth-surface-border: rgba(15, 23, 42, 0.09);
}

[data-bs-theme="dark"] {
  --auth-canvas-bg: #080b13;
  --auth-grid-line: rgba(255, 255, 255, 0.035);
  --auth-card-bg: rgba(15, 22, 39, 0.92);
  --auth-card-border: rgba(255, 255, 255, 0.1);
  --auth-card-shadow: 0 28px 80px -20px rgba(0, 0, 0, 0.72);

  --auth-text: #f8fafc;
  --auth-muted: #cbd5e1;
  --auth-subtle: #94a3b8;

  --auth-input-bg: rgba(8, 12, 23, 0.85);
  --auth-input-border: rgba(255, 255, 255, 0.14);
  --auth-input-focus: rgba(127, 86, 217, 0.28);
  --auth-option-bg: #0f172a;

  --auth-surface-muted: rgba(255, 255, 255, 0.04);
  --auth-surface-border: rgba(255, 255, 255, 0.1);
}

/* ---------- Outer Atmospheric Studio Canvas ---------- */
.auth {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  height: auto;
  overflow-x: clip;
  padding: clamp(12px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-family: var(--auth-font-body);
  background-color: var(--auth-canvas-bg);
  background-image:
    radial-gradient(620px 420px at 8% 10%, rgba(127, 86, 217, 0.16), transparent 65%),
    radial-gradient(560px 380px at 92% 88%, rgba(254, 100, 1, 0.12), transparent 65%),
    radial-gradient(460px 320px at 55% 4%, rgba(56, 189, 248, 0.1), transparent 70%),
    linear-gradient(to right, var(--auth-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--auth-grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 44px 44px, 44px 44px;
}

.auth .container-fluid {
  width: 100%;
  max-width: 1380px;
  margin: auto;
}

.auth .auth-wrapper {
  padding: 0;
  width: 100%;
}

.auth .auth-wrapper > .row {
  align-items: stretch;
  gap: 0;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.25rem;
}

/* ---------- Left / Right Showcase Panel (Always Sleek Obsidian Stage) ---------- */
.auth .auth-left {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - clamp(24px, 4vw, 52px));
  max-height: none;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(480px 340px at 16% 14%, rgba(127, 86, 217, 0.34), transparent 70%),
    radial-gradient(440px 320px at 88% 85%, rgba(254, 100, 1, 0.24), transparent 72%),
    radial-gradient(360px 260px at 80% 12%, rgba(56, 189, 248, 0.16), transparent 70%),
    linear-gradient(155deg, #0b1020 0%, #080b13 60%, #110d24 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 28px 70px -20px rgba(8, 11, 19, 0.65);
  z-index: 1;
}

.auth .auth-left::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, #000 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.auth .auth-left::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 86, 217, 0.32), transparent 70%);
  bottom: -60px;
  left: -40px;
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.auth .auth-left .auth-left-content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 44px) clamp(20px, 2.8vw, 38px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.auth-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #f8fafc;
  font-family: var(--auth-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--auth-green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  flex-shrink: 0;
}

.auth-showcase-channels {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 500;
}

.auth .auth-left .auth-left-content .auth-slider-wrapper {
  width: 100%;
  margin: auto 0;
}

.auth .auth-left .auth-left-content .auth-slider-wrapper .auth-slider {
  padding-bottom: 42px;
}

.auth-showcase-frame {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 10px 10px 12px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
}

.auth-showcase-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 10px;
}

.auth-chrome-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.auth-chrome-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.auth-chrome-dots span:nth-child(1) { background: rgba(248, 113, 113, 0.85); }
.auth-chrome-dots span:nth-child(2) { background: rgba(251, 191, 36, 0.85); }
.auth-chrome-dots span:nth-child(3) { background: rgba(52, 211, 153, 0.85); }

.auth-chrome-url {
  font-family: var(--auth-font-mono);
  font-size: 11px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
}

.auth .auth-left .platform-content-img {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.auth .auth-left .platform-content-img img {
  width: 100%;
  max-height: 290px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 10px;
}

.auth .auth-left .auth-slider-item {
  text-align: center;
  padding: 0 4px;
}

.auth .auth-left .auth-slider-item h4 {
  font-family: var(--auth-font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
}

.auth .auth-left .auth-slider-item p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #cbd5e1;
  opacity: 0.92;
  max-width: 440px;
  margin: 0 auto;
}

.auth .auth-left .auth-slider .swiper-pagination-bullet {
  width: 10px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  opacity: 1 !important;
  transition: width 0.25s ease, background 0.25s ease;
}

.auth .auth-left .auth-slider .swiper-pagination-bullet-active {
  width: 34px !important;
  background: linear-gradient(90deg, var(--auth-orange), var(--auth-violet)) !important;
}

.auth-showcase-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.auth-showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
}

.auth-showcase-pill i {
  color: var(--auth-green);
}

/* ---------- Right / Left Form Panel Card ---------- */
.auth .auth-right {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - clamp(24px, 4vw, 52px));
  max-height: none;
  padding: clamp(20px, 2.4vw, 34px) clamp(18px, 3vw, 42px);
  border-radius: 26px;
  background: var(--auth-card-bg);
  border: 1px solid var(--auth-card-border);
  box-shadow: var(--auth-card-shadow);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.auth .auth-right::after,
.auth .auth-right .glass-bg {
  display: none;
}

.auth .auth-right .auth-content {
  width: 100%;
  max-width: 560px;
  padding: 0;
  text-align: left;
  position: relative;
  z-index: 3;
}

/* Top Utility Bar inside Form Card */
.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.auth .site-log {
  width: auto;
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
}

.auth .site-log img {
  max-height: 36px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
}

.auth-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--auth-muted);
  background: var(--auth-surface-muted);
  border: 1px solid var(--auth-surface-border);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.auth-home-pill:hover {
  color: var(--auth-violet);
  border-color: var(--auth-violet);
  transform: translateY(-1px);
}

.auth-theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--auth-surface-muted);
  border: 1px solid var(--auth-surface-border);
  color: var(--auth-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.auth-theme-btn:hover {
  color: var(--auth-violet);
  border-color: var(--auth-violet);
}

/* Form Heading & Subheading */
.auth .auth-right .auth-content > h2 {
  font-family: var(--auth-font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--auth-text);
  margin-bottom: 8px;
}

.auth .auth-right .auth-content > p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--auth-muted);
  margin-bottom: 0;
}

/* Inline Validation & Status Alerts */
.auth-alert {
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.auth-alert--danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #b91c1c;
}

[data-bs-theme="dark"] .auth-alert--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.auth-alert--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #047857;
}

[data-bs-theme="dark"] .auth-alert--success {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
}

.auth-alert i {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.auth-alert-list {
  margin: 0;
  padding-left: 16px;
}

.auth-alert-list li + li {
  margin-top: 3px;
}

/* ---------- Auth Form Controls ---------- */
.auth-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.auth-form .auth-input {
  width: 100%;
  position: relative;
  text-align: left;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.auth-form .auth-input label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--auth-text);
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.auth-optional-tag,
.auth-detected-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.3;
}

.auth-optional-tag {
  background: var(--auth-surface-muted);
  border: 1px solid var(--auth-surface-border);
  color: var(--auth-subtle);
}

.auth-detected-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #059669;
}

[data-bs-theme="dark"] .auth-detected-badge {
  color: #34d399;
}

/* Dedicated icon wrapper so label / errors NEVER misalign icons */
.auth-control-wrap {
  position: relative;
  width: 100%;
}

.auth-form .auth-input > input,
.auth-control-wrap > input,
.auth-control-wrap > select {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 16px;
  border-radius: 14px;
  border: 1px solid var(--auth-input-border);
  background-color: var(--auth-input-bg);
  color: var(--auth-text);
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-control-wrap > input.has-prefix-icon,
.auth-control-wrap > select.auth-select {
  padding-left: 42px;
}

.auth-control-wrap > select.auth-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.auth-control-wrap > select.auth-select option {
  background-color: var(--auth-option-bg);
  color: var(--auth-text);
}

.auth-form .auth-input > input::placeholder,
.auth-control-wrap > input::placeholder {
  color: var(--auth-subtle);
  font-weight: 400;
}

.auth-form .auth-input > input:focus,
.auth-control-wrap > input:focus,
.auth-control-wrap > select:focus {
  border-color: var(--auth-violet);
  box-shadow: 0 0 0 4px var(--auth-input-focus);
  outline: 0;
}

.auth-control-wrap > input.is-invalid,
.auth-control-wrap > select.is-invalid {
  border-color: var(--auth-danger);
}

.auth-field-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--auth-subtle);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
}

.auth-select-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--auth-subtle);
  pointer-events: none;
}

.auth-control-wrap > .auth-input-icon,
.auth-form .auth-input > .auth-input-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  font-size: 17px;
  color: var(--auth-subtle);
  cursor: pointer;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Keep legacy markup from forgot/reset working cleanly when direct child input is present */
.auth-form .auth-input > .auth-input-icon {
  top: 41px;
  transform: none;
}

.auth-control-wrap > .auth-input-icon {
  top: 50%;
  transform: translateY(-50%);
}

.auth-control-wrap > .auth-input-icon:hover {
  color: var(--auth-violet);
  opacity: 1;
}

.auth-field-error {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--auth-danger);
}

/* ---------- Conditional Strong Password Requirements Panel ---------- */
.auth-password-rules {
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--auth-surface-muted);
  border: 1px solid var(--auth-surface-border);
}

.auth-strength-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--auth-muted);
}

.auth-strength-label {
  font-family: var(--auth-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--auth-subtle);
}

.auth-strength-label[data-level="weak"] { color: var(--auth-danger); }
.auth-strength-label[data-level="fair"] { color: var(--auth-amber); }
.auth-strength-label[data-level="good"] { color: var(--auth-cyan); }
.auth-strength-label[data-level="strong"] { color: var(--auth-green); }

.auth-strength-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 11px;
}

.auth-strength-bars span {
  height: 4px;
  border-radius: 999px;
  background: var(--auth-input-border);
  transition: background-color 0.25s ease;
}

.auth-strength-bars[data-score="1"] span:nth-child(-n+1) { background: var(--auth-danger); }
.auth-strength-bars[data-score="2"] span:nth-child(-n+2) { background: var(--auth-amber); }
.auth-strength-bars[data-score="3"] span:nth-child(-n+3) { background: var(--auth-cyan); }
.auth-strength-bars[data-score="4"] span:nth-child(-n+4) { background: var(--auth-green); }

.auth-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
}

.auth-rule-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--auth-subtle);
  transition: color 0.2s ease;
}

.auth-rule-item i {
  font-size: 13px;
  color: var(--auth-subtle);
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.auth-rule-item.is-met {
  color: var(--auth-green);
}

.auth-rule-item.is-met i {
  color: var(--auth-green);
}

.auth-rule-note {
  margin-top: 9px;
  margin-bottom: 0;
  font-size: 11.5px;
  color: var(--auth-subtle);
}

.auth-match-hint {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 16px;
}

.auth-match-hint.is-match { color: var(--auth-green); }
.auth-match-hint.is-mismatch { color: var(--auth-danger); }

/* ---------- Checkbox, Submit Button, Social & Footer Links ---------- */
.auth-form .auth-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.auth-form .auth-checkbox input[type="checkbox"] {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border-radius: 5px;
  accent-color: var(--auth-violet);
}

.auth-form .auth-checkbox label {
  padding-left: 0;
  margin-top: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--auth-muted);
}

.auth-form .auth-checkbox label a,
.auth-form .forget-pass {
  color: var(--auth-violet);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.auth-form .auth-checkbox label a:hover,
.auth-form .forget-pass:hover {
  text-decoration: underline;
}

.auth .i-btn.btn--auth {
  height: 50px;
  border-radius: 14px !important;
  border: 0;
  background: linear-gradient(135deg, #7f56d9 0%, #5b21b6 100%) !important;
  color: #ffffff !important;
  font-family: var(--auth-font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 14px 30px -10px rgba(127, 86, 217, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.auth .i-btn.btn--auth:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 18px 34px -10px rgba(127, 86, 217, 0.65);
}

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

.auth .or {
  margin: 22px auto 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--auth-subtle);
}

.auth .or::before,
.auth .or::after {
  content: "";
  position: static;
  transform: none;
  flex: 1;
  height: 1px;
  background: var(--auth-input-border);
}

.auth .sign-option {
  gap: 12px;
}

.auth .sign-option a {
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--auth-input-border);
  background: var(--auth-input-bg);
  color: var(--auth-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.auth .sign-option a:hover {
  border-color: var(--auth-violet);
  text-decoration: none;
  transform: translateY(-1px);
}

.auth .have-account {
  margin-top: 22px;
}

.auth .have-account p {
  font-size: 0.92rem;
  color: var(--auth-muted);
}

.auth .have-account p a {
  color: var(--auth-violet);
  font-weight: 700;
}

/* Captcha Polish */
.auth .captcha-input > input {
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--auth-input-border);
  background: var(--auth-input-bg);
  color: var(--auth-text);
  box-shadow: none;
}

/* ---------- Mobile & Tablet Responsiveness ---------- */
@media (max-width: 991.98px) {
  .auth {
    padding: 12px 10px 24px;
    justify-content: flex-start;
  }

  .auth .container-fluid {
    margin: 0 auto;
  }

  .auth .auth-left {
    min-height: auto;
    border-radius: 20px;
  }

  .auth .auth-left .auth-left-content {
    padding: 18px 14px 14px;
    gap: 14px;
  }

  .auth-showcase-channels,
  .auth-showcase-foot {
    display: none;
  }

  .auth-showcase-frame {
    margin-bottom: 14px;
    padding: 8px;
    border-radius: 14px;
  }

  .auth .auth-left .platform-content-img img {
    max-height: 175px;
  }

  .auth .auth-left .auth-slider-item h4 {
    font-size: 1.12rem;
    margin-bottom: 6px;
  }

  .auth .auth-left .auth-slider-item p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .auth .auth-left .auth-left-content .auth-slider-wrapper .auth-slider {
    padding-bottom: 32px;
  }

  .auth .auth-right {
    min-height: auto !important;
    border-radius: 22px;
    padding: 22px 16px 26px;
  }

  .auth-topbar {
    margin-bottom: 18px;
  }

  .auth-form {
    margin-top: 18px;
    gap: 14px;
  }
}

@media (max-width: 575.98px) {
  .auth-rule-grid {
    grid-template-columns: 1fr;
  }

  .auth .site-log img {
    max-height: 30px;
  }

  .auth-home-pill {
    padding: 0 11px;
    font-size: 12px;
  }
}

