:root {
  --app-bg: #FAFAFA;
  --app-bg-soft: #FFFFFF;
  --app-panel: rgba(255, 255, 255, 0.86);
  --app-panel-strong: rgba(255, 255, 255, 0.98);
  --app-border: rgba(67, 56, 202, 0.16);
  --app-border-soft: rgba(13, 25, 58, 0.08);
  --app-text: #0A0A0A;
  --app-muted: #4B5563;
  --app-faint: #9CA3AF;
  --app-accent: #4338CA;
  --app-blue: #1D4ED8;
  --app-pink: #BE185D;
  --app-card-shadow: 0 24px 70px rgba(32, 43, 76, 0.10);
}

:root[data-theme="dark"] {
  --app-bg: #050814;
  --app-bg-soft: #090d1a;
  --app-panel: rgba(12, 17, 33, 0.78);
  --app-panel-strong: rgba(14, 19, 37, 0.94);
  --app-border: rgba(134, 101, 255, 0.2);
  --app-border-soft: rgba(255, 255, 255, 0.08);
  --app-text: #ffffff;
  --app-muted: #a4a8b8;
  --app-faint: #6c7183;
  --app-accent: #7c3cff;
  --app-blue: #1463ff;
  --app-pink: #d62983;
  --app-card-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

html,
body {
  background: var(--app-bg);
  color: var(--app-text);
}

.luflo-gradient-text {
  background: linear-gradient(90deg, #0879ff 0%, #244fff 42%, #a424f2 78%, #d629c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-title .luflo-gradient-text {
  background-size: 220% 100%;
  animation: luflo-gradient-flow 3.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(124, 60, 255, 0.16));
}

@keyframes luflo-gradient-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.home-hero-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.22em;
  row-gap: 0.04em;
}

.home-hero-type-line {
  display: inline-flex;
  align-items: baseline;
  min-width: min(100%, 9.1em);
  justify-content: center;
  white-space: nowrap;
}

.home-hero-typewriter {
  display: inline-block;
  min-width: 8.5em;
  text-align: left;
  background-size: 180% 100%;
  animation: luflo-gradient-flow 3.6s ease-in-out infinite;
}

.home-hero-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.88em;
  margin-left: 0.07em;
  border-radius: 999px;
  background: #8ea5ff;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.6);
  transform: translateY(0.08em);
  animation: home-hero-caret-blink 0.78s steps(2, start) infinite;
}

@keyframes home-hero-caret-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .home-hero-title {
    flex-direction: column;
    align-items: center;
  }

  .home-hero-type-line {
    min-width: 0;
  }

  .home-hero-typewriter {
    min-width: 0;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-typewriter,
  .home-hero-caret {
    animation: none;
  }
}

.luflo-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: var(--app-panel);
  color: var(--app-text);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

.auth-page .luflo-theme-toggle {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 20;
}

.luflo-theme-toggle span:first-child {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--app-blue), #9b24ee);
  color: #fff;
}

.auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 5% 110%, rgba(124, 60, 255, 0.1), transparent 28%),
    radial-gradient(circle at 45% 120%, rgba(20, 99, 255, 0.08), transparent 24%),
    var(--app-bg-soft);
  color: var(--app-text);
  font-family: "Outfit", sans-serif;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
  width: min(1320px, 92vw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) 0;
  position: relative;
}

.auth-brand {
  position: relative;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-login-tuned .auth-brand {
  transform: translateY(-18px);
}

.auth-login-tuned .auth-logo {
  margin-bottom: 18px;
}

.auth-login-tuned .auth-title {
  margin-top: 0;
}

.auth-login-tuned .auth-stat {
  display: none;
}

.auth-logo {
  width: min(430px, 72vw);
  margin-left: -18px;
  filter: drop-shadow(0 18px 32px rgba(20, 99, 255, 0.13));
}

.auth-title {
  max-width: 560px;
  margin-top: 36px;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: var(--app-text);
}

.auth-copy {
  max-width: 440px;
  margin-top: 24px;
  color: var(--app-muted);
  font-size: 21px;
  line-height: 1.45;
}

.auth-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 146px);
  gap: 22px;
  margin-top: 36px;
  max-width: 482px;
  align-self: flex-start;
  margin-left: 36px;
  justify-content: center;
}

.auth-feature {
  position: relative;
  display: grid;
  gap: 7px;
  justify-items: center;
  align-content: start;
  min-height: 154px;
  border: 1px solid rgba(8, 17, 41, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px 14px 16px;
  color: var(--app-text);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  box-shadow:
    0 14px 30px rgba(32, 43, 76, 0.07),
    0 0 0 0 rgba(124, 60, 255, 0);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.auth-feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--feature-glow, rgba(124, 60, 255, 0.22));
  filter: blur(18px);
  opacity: 0.28;
  transition: opacity 0.22s ease;
}

.auth-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 60, 255, 0.2);
  box-shadow:
    0 22px 44px rgba(32, 43, 76, 0.12),
    0 0 28px var(--feature-shadow, rgba(124, 60, 255, 0.18));
}

.auth-feature:hover::before {
  opacity: 0.58;
}

.auth-feature strong {
  color: var(--app-text);
  font-size: 13px;
  line-height: 1.15;
}

.auth-feature small {
  color: var(--app-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.auth-feature-icon,
.mini-stat-icon,
.dashboard-icon {
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(124, 60, 255, 0.08);
  color: var(--app-accent);
  box-shadow: 0 14px 34px rgba(124, 60, 255, 0.12);
}

.auth-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 24px;
}

.auth-feature-icon svg,
.mini-stat-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.auth-feature-video .auth-feature-icon {
  background: #f4edff;
  color: #8b3cff;
  box-shadow: 0 12px 24px rgba(139, 60, 255, 0.12);
}

.auth-feature-video {
  --feature-glow: rgba(139, 60, 255, 0.28);
  --feature-shadow: rgba(139, 60, 255, 0.2);
}

.auth-feature-landing .auth-feature-icon {
  background: #edf5ff;
  color: #4f8dff;
  box-shadow: 0 12px 24px rgba(79, 141, 255, 0.12);
}

.auth-feature-landing {
  --feature-glow: rgba(79, 141, 255, 0.28);
  --feature-shadow: rgba(79, 141, 255, 0.2);
}

.auth-feature-afiche .auth-feature-icon {
  background: #ffedf8;
  color: #d629c8;
  box-shadow: 0 12px 24px rgba(214, 41, 200, 0.12);
}

.auth-feature-afiche {
  --feature-glow: rgba(214, 41, 200, 0.28);
  --feature-shadow: rgba(214, 41, 200, 0.2);
}

.auth-feature-icon:not(:has(svg)),
.mini-stat-icon:not(:has(svg)) {
  font-size: 0;
}

.auth-feature-icon:not(:has(svg))::before,
.mini-stat-icon:not(:has(svg))::before {
  content: "";
  display: block;
  width: 27px;
  height: 27px;
  background: currentColor;
  -webkit-mask: var(--auth-icon-mask) center / contain no-repeat;
  mask: var(--auth-icon-mask) center / contain no-repeat;
}

.auth-feature-icon.auth-feature-icon-mask::before {
  width: 33px;
  height: 33px;
}

.auth-feature:nth-child(1) .auth-feature-icon:not(:has(svg)) {
  --auth-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M13 2 4 14h7l-1 8 10-13h-7V2Z'/%3E%3C/svg%3E");
}

.auth-feature:nth-child(2) .auth-feature-icon:not(:has(svg)) {
  --auth-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 7a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7Zm4 3h8M8 14h5m3 1 2 2 3-4'/%3E%3C/svg%3E");
}

.auth-feature:nth-child(3) .auth-feature-icon:not(:has(svg)) {
  --auth-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m12 2 2.2 6.1L20 10.3l-5.8 2.2L12 19l-2.2-6.5L4 10.3l5.8-2.2L12 2Zm7 14 1 2.5 2.5 1-2.5 1-1 2.5-1-2.5-2.5-1 2.5-1 1-2.5Z'/%3E%3C/svg%3E");
}

.auth-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  margin-top: 44px;
  padding: 18px 28px;
  border: 1px solid var(--app-border-soft);
  border-radius: 16px;
  background: var(--app-panel-strong);
  box-shadow: var(--app-card-shadow);
}

.mini-stat-icon {
  width: 48px;
  height: 48px;
  font-size: 23px;
}

.mini-stat-icon:not(:has(svg)) {
  --auth-icon-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m4 16 5-5 4 4 7-8M15 7h5v5'/%3E%3C/svg%3E");
}

.mini-stat-icon:not(:has(svg))::before {
  width: 24px;
  height: 24px;
}

.auth-stat strong {
  display: block;
  color: var(--app-text);
  font-size: 27px;
  line-height: 1;
}

.auth-stat span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 15px;
}

.auth-card {
  width: min(470px, 100%);
  justify-self: center;
  border: 1px solid var(--app-border-soft);
  border-radius: 18px;
  background: var(--app-panel-strong);
  box-shadow: var(--app-card-shadow);
  padding: clamp(30px, 4vw, 56px);
}

.auth-card h1 {
  margin: 0;
  color: var(--app-text);
  font-size: 36px;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.auth-card > p {
  margin: 12px 0 34px;
  color: var(--app-muted);
  font-size: 19px;
  line-height: 1.55;
}

.auth-label {
  display: block;
  margin-bottom: 10px;
  color: var(--app-text);
  font-size: 14px;
  font-weight: 800;
}

.auth-input-wrap {
  position: relative;
  margin-bottom: 22px;
}

.auth-input-wrap svg,
.auth-input-wrap .auth-input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--app-faint);
}

.auth-input-wrap svg.auth-field-icon {
  width: 21px;
  height: 21px;
}

.auth-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--app-border-soft);
  border-radius: 10px;
  background: transparent;
  color: var(--app-text);
  padding: 0 18px 0 58px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input:focus {
  border-color: rgba(36, 79, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(36, 79, 255, 0.08);
}

.auth-input::placeholder {
  color: var(--app-faint);
}

.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus,
.auth-input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--app-text);
  caret-color: var(--app-text);
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-out 0s;
}

.auth-forgot {
  display: block;
  margin: -10px 0 28px;
  text-align: right;
  color: #1c40a8;
  font-size: 14px;
  font-weight: 700;
}

[data-theme="dark"] .auth-forgot {
  color: #9d8cff;
}

.auth-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #065cff, #6b28ef 55%, #bd25d6);
  color: white;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(92, 51, 232, 0.24);
}

.auth-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 34px 0 24px;
  color: var(--app-faint);
  font-size: 14px;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  height: 1px;
  background: var(--app-border-soft);
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-google:hover {
  background: #f8fafd;
  border-color: #cfd4dc;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.18);
}

.login-card-brand {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 30px;
  text-align: center;
}

.login-card-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1463ff 0%, #7c3cff 52%, #d629c8 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(124, 60, 255, 0.25);
}

.login-mercor-card {
  position: relative;
  overflow: hidden;
  width: min(560px, 100%);
  border: 1px solid rgba(124, 60, 255, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 34px 80px rgba(85, 72, 180, 0.13),
    0 12px 34px rgba(20, 99, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.86) inset;
  padding: 42px 54px 34px;
}

.login-mercor-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 99, 255, 0.16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(214, 41, 200, 0.14), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(124, 60, 255, 0.18), transparent 42%);
  filter: blur(22px);
  opacity: 0.9;
}

.login-mercor-card .login-card-brand {
  position: relative;
  justify-items: start;
  gap: 10px;
  margin-bottom: 26px;
  text-align: left;
}

.login-mercor-card .login-card-brand h1 {
  margin: 0;
  color: #081129;
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: left;
  font-weight: 900;
}

.login-mercor-card .login-card-brand p {
  max-width: 340px;
  margin: 0;
  color: #596174;
  font-size: 16px;
  line-height: 1.55;
}

.login-mercor-card .auth-label {
  margin-bottom: 9px;
  color: #081129;
  font-size: 13px;
  font-weight: 700;
}

.login-mercor-card .auth-input-wrap {
  margin-bottom: 18px;
}

.login-mercor-card .auth-input-wrap svg {
  display: block;
  color: #7f8798;
}

.login-mercor-card .auth-input {
  min-height: 52px;
  border: 1px solid rgba(8, 17, 41, 0.14);
  border-radius: 9px;
  background: #ffffff;
  color: #081129;
  padding: 0 18px 0 58px;
  font-size: 16px;
}

.login-mercor-card .auth-input:focus {
  border-color: rgba(20, 99, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(20, 99, 255, 0.12);
}

.login-mercor-card .auth-input::placeholder {
  color: #8993aa;
}

.login-mercor-card .auth-forgot {
  display: block;
  margin: -8px 0 26px;
  color: #4c8dff;
}

.login-mercor-card .auth-primary,
.login-mercor-card .auth-secondary,
.login-mercor-card .auth-google {
  min-height: 52px;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 700;
}

.login-mercor-card .auth-primary {
  margin-top: 0;
  background: linear-gradient(90deg, #1463ff, #7c3cff 58%, #d629c8);
  box-shadow: 0 18px 34px rgba(124, 60, 255, 0.3);
  background-size: 160% 100%;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease,
    background-position 0.35s ease;
}

.login-mercor-card .auth-primary:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  filter: brightness(1.06);
  box-shadow:
    0 18px 36px rgba(20, 99, 255, 0.28),
    0 16px 42px rgba(214, 41, 200, 0.34);
}

.login-mercor-card .auth-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(124, 60, 255, 0.28);
}

.login-mercor-card .auth-primary span + span {
  display: none;
}

.login-mercor-card .auth-secondary {
  display: none;
}

.login-mercor-card .auth-separator {
  margin: 24px 0 18px;
  gap: 16px;
  font-size: 0;
}

.login-mercor-card .auth-separator::before,
.login-mercor-card .auth-separator::after {
  background: rgba(8, 17, 41, 0.12);
}

.login-mercor-card .auth-separator::before {
  content: "";
}

.login-mercor-card .auth-separator::after {
  content: "";
}

.login-mercor-card .auth-separator {
  position: relative;
}

.login-mercor-card .auth-separator::before,
.login-mercor-card .auth-separator::after {
  height: 1px;
}

.login-mercor-card .auth-separator {
  background:
    linear-gradient(rgba(148, 163, 184, 0.17), rgba(148, 163, 184, 0.17)) left center / calc(50% - 58px) 1px no-repeat,
    linear-gradient(rgba(148, 163, 184, 0.17), rgba(148, 163, 184, 0.17)) right center / calc(50% - 58px) 1px no-repeat;
}

.login-mercor-card .auth-separator {
  color: transparent;
}

.login-mercor-card .auth-separator::before {
  content: "o contin\00FA a con";
  grid-column: 1 / -1;
  background: transparent;
  color: #737d94;
  font-size: 12px;
  text-align: center;
}

.login-mercor-card .auth-separator::after {
  display: none;
}

.login-mercor-card .auth-google {
  gap: 10px;
  border-color: rgba(8, 17, 41, 0.14);
  background: #ffffff;
  color: #081129;
}

.login-mercor-card .auth-bottom {
  display: block;
  margin-top: 20px;
  color: #596174;
  text-align: center;
  font-size: 17px;
}

.login-mercor-card .auth-bottom a {
  color: #4c8dff;
  font-weight: 900;
}

.register-modern-card {
  position: relative;
  overflow: hidden;
  width: min(520px, 100%);
  border: 1px solid rgba(124, 60, 255, 0.14);
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 34px 80px rgba(85, 72, 180, 0.13),
    0 12px 34px rgba(20, 99, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.86) inset;
  padding: 32px 48px 28px;
}

.register-modern-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 99, 255, 0.16), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(214, 41, 200, 0.14), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(124, 60, 255, 0.18), transparent 42%);
  filter: blur(22px);
  opacity: 0.9;
}

.register-card-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-align: center;
}

.register-card-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 54%),
    linear-gradient(135deg, #1463ff, #7c3cff 58%, #d629c8);
  color: #ffffff;
  box-shadow:
    0 0 0 13px rgba(124, 60, 255, 0.08),
    0 16px 34px rgba(124, 60, 255, 0.26);
}

.register-card-mark svg {
  width: 34px;
  height: 34px;
}

.register-back-button {
  position: fixed;
  top: 22px;
  left: 42px;
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #7c3cff;
  text-decoration: none;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 8px 18px rgba(124, 60, 255, 0.28);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.register-back-button:hover {
  transform: translateX(-3px);
  color: #1463ff;
  text-shadow:
    0 8px 18px rgba(20, 99, 255, 0.3),
    0 10px 24px rgba(214, 41, 200, 0.22);
}

.register-modern-card h1 {
  margin: 0;
  color: #081129;
  font-size: 31px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.register-modern-card .register-card-brand p {
  width: min(250px, 100%);
  margin: 0;
  color: #596174;
  font-size: 14px;
  line-height: 1.45;
}

.register-modern-card .auth-label {
  margin-bottom: 8px;
  color: #081129;
  font-size: 12px;
  font-weight: 800;
}

.register-modern-card .auth-input-wrap {
  margin-bottom: 13px;
}

.register-modern-card .auth-input {
  min-height: 46px;
  border: 1px solid rgba(8, 17, 41, 0.14);
  border-radius: 9px;
  background: #ffffff;
  color: #081129;
  padding-left: 52px;
  font-size: 14px;
}

.register-modern-card .register-country-select .auth-input {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 50px;
  padding-right: 34px;
}

.register-modern-card .register-country-select::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #081129;
  border-bottom: 2px solid #081129;
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.register-modern-card .auth-input:focus {
  background: #ffffff;
  border-color: rgba(91, 123, 255, 0.38);
  box-shadow:
    0 0 0 4px rgba(91, 123, 255, 0.1),
    0 10px 28px rgba(36, 79, 255, 0.08);
}

.register-modern-card .auth-input:-webkit-autofill,
.register-modern-card .auth-input:-webkit-autofill:hover,
.register-modern-card .auth-input:-webkit-autofill:focus,
.register-modern-card .auth-input:-webkit-autofill:active {
  -webkit-text-fill-color: #081129;
  caret-color: #081129;
  box-shadow:
    0 0 0 1000px #ffffff inset,
    0 0 0 4px rgba(91, 123, 255, 0.08);
}

.register-modern-card .auth-input-wrap svg,
.register-modern-card .auth-input-wrap .auth-input-icon {
  color: #7f8798;
}

.register-modern-card .auth-input-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 0;
}

.register-modern-card .auth-input-icon::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--register-input-icon, url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 21a8 8 0 0 0-16 0M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3C/svg%3E")) center / contain no-repeat;
  mask: var(--register-input-icon, url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 21a8 8 0 0 0-16 0M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z'/%3E%3C/svg%3E")) center / contain no-repeat;
}

.register-modern-card label[for="whatsapp_number"] + .auth-input-wrap .auth-input-icon {
  --register-input-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.4 19.4 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.2-1.2a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7A2 2 0 0 1 22 16.9Z'/%3E%3C/svg%3E");
}

.register-modern-card label[for="referral_code"] + .auth-input-wrap .auth-input-icon {
  --register-input-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 9h16M4 15h16M10 3 8 21M16 3l-2 18'/%3E%3C/svg%3E");
}

.register-modern-card .auth-primary {
  min-height: 50px;
  border-radius: 9px;
  background: linear-gradient(90deg, #1463ff, #7c3cff 58%, #d629c8);
  box-shadow: 0 18px 34px rgba(124, 60, 255, 0.26);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.register-modern-card .auth-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow:
    0 18px 36px rgba(20, 99, 255, 0.24),
    0 16px 42px rgba(214, 41, 200, 0.3);
}

.register-modern-card .auth-bottom {
  margin-top: 16px;
  color: #596174;
  text-align: center;
}

.register-modern-card .auth-bottom a {
  color: #7c3cff;
  font-weight: 900;
}

.auth-register-page .auth-logo {
  display: none;
}

.auth-register-page .auth-brand {
  min-height: 620px;
}

.auth-register-page .register-hero-title {
  max-width: 500px;
  margin-top: 0;
  font-size: clamp(56px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.auth-register-page .register-hero-title {
  font-size: 0;
}

.auth-register-page .register-hero-title::before {
  content: "Crea.\A Impacta.\A";
  white-space: pre;
  display: inline;
  color: #081129;
  font-size: clamp(56px, 5vw, 76px);
  line-height: 1.02;
  font-weight: 900;
}

.auth-register-page .register-hero-title .luflo-gradient-text {
  font-size: clamp(56px, 5vw, 76px);
  line-height: 1.02;
}

.auth-register-page .register-hero-title .luflo-gradient-text {
  color: transparent;
}

.auth-register-page .auth-copy {
  max-width: 430px;
  margin-top: 28px;
  font-size: 18px;
}

.auth-register-page .auth-copy {
  font-size: 0;
}

.auth-register-page .auth-copy::before {
  content: "Genera videos UGC, landings y afiches publicitarios con Inteligencia Artificial en minutos.";
  display: block;
  color: var(--app-muted);
  font-size: 17px;
  line-height: 1.55;
}

.auth-register-page .auth-feature-row {
  display: flex;
  width: min(650px, 100%);
  max-width: 650px;
  margin-top: 40px;
  margin-left: 0;
  gap: 0;
  border: 1px solid rgba(8, 17, 41, 0.06);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 46px rgba(32, 43, 76, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.78) inset;
  min-height: 124px;
  padding: 28px 20px;
  align-items: center;
}

.auth-register-page .auth-feature {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 15px;
  row-gap: 4px;
  align-items: center;
  align-self: stretch;
  justify-items: center;
  min-height: auto;
  width: 33.333%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 18px;
  text-align: left;
}

.auth-register-page .auth-feature + .auth-feature {
  border-left: 1px solid rgba(8, 17, 41, 0.1);
}

.auth-register-page .auth-feature::before {
  display: none;
}

.auth-register-page .auth-feature:hover {
  transform: none;
  box-shadow: none;
}

.auth-register-page .auth-feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-self: center;
  justify-self: center;
  grid-row: 1 / 3;
}

.auth-register-page .auth-feature:nth-child(1) .auth-feature-icon {
  background: linear-gradient(135deg, #7c3cff, #9b5cff);
  color: #ffffff;
  --auth-icon-mask: url("../img/auth-icons/lightning-bolt.png");
}

.auth-register-page .auth-feature:nth-child(2) .auth-feature-icon {
  background: linear-gradient(135deg, #1463ff, #3687ff);
  color: #ffffff;
  --auth-icon-mask: url("../img/auth-icons/usuario-robot.png");
}

.auth-register-page .auth-feature:nth-child(3) .auth-feature-icon {
  background: linear-gradient(135deg, #d629c8, #f064ff);
  color: #ffffff;
  --auth-icon-mask: url("../img/auth-icons/destellos.png");
}

.auth-register-page .auth-feature-icon::before {
  width: 27px;
  height: 27px;
  transform: translateY(5px);
}

.auth-register-page .auth-feature span:not(.auth-feature-icon) {
  display: block;
  justify-self: start;
  align-self: end;
  color: #081129;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
}

.auth-register-page .auth-feature::after {
  display: block;
  justify-self: start;
  align-self: start;
  grid-column: 2;
  color: #5d6678;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.auth-register-page .auth-feature:nth-child(1)::after {
  content: "Convierte ideas\A en contenido";
  white-space: pre;
}

.auth-register-page .auth-feature:nth-child(2)::after {
  content: "Automatiza y crea\A por ti";
  white-space: pre;
}

.auth-register-page .auth-feature:nth-child(3)::after {
  content: "Contenido que\A vende m\00E1s";
  white-space: pre;
}

.auth-register-page .auth-stat {
  display: none;
}

.auth-google:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.auth-google-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.auth-bottom {
  margin-top: 32px;
  text-align: center;
  color: var(--app-faint);
  font-size: 15px;
}

.auth-bottom a {
  color: #5b28e8;
  font-weight: 900;
}

.dashboard-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% -8%, rgba(124, 60, 255, 0.10), transparent 26%),
    radial-gradient(circle at 18% 4%, rgba(20, 99, 255, 0.06), transparent 24%),
    var(--app-bg);
  color: var(--app-text);
}

[data-theme="dark"] .dashboard-shell {
  --app-panel: rgba(12, 17, 33, 0.78);
  --app-panel-strong: rgba(14, 19, 37, 0.94);
  --app-border-soft: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 75% -10%, rgba(124, 60, 255, 0.14), transparent 26%),
    radial-gradient(circle at 35% 0%, rgba(20, 99, 255, 0.1), transparent 20%),
    #050814;
}

.dashboard-sidebar {
  width: 288px;
  background: rgba(255, 255, 255, 0.86);
  border-right: 1px solid var(--app-border);
  backdrop-filter: blur(18px);
}

.dashboard-sidebar.is-collapsed {
  width: 82px;
  overflow-x: hidden;
}

[data-theme="dark"] .dashboard-sidebar {
  background: rgba(3, 6, 16, 0.72);
  border-right-color: var(--app-border-soft);
}

.dashboard-sidebar > div:first-child {
  padding: 14px 20px 8px;
}

.dashboard-logo-brand {
  display: flex;
  align-items: center;
  width: 150px;
  height: 64px;
}

.dashboard-logo-image {
  display: block;
  width: 150px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(111, 35, 237, 0.22));
}

.dashboard-sidebar.is-collapsed .sidebar-text {
  display: none !important;
}

.dashboard-sidebar.is-collapsed > div:first-child {
  justify-content: center;
  padding-inline: 12px;
}

.dashboard-sidebar.is-collapsed .dashboard-logo-brand {
  display: none;
}

.dashboard-sidebar.is-collapsed #desktop-sidebar-collapse svg {
  transform: rotate(180deg);
}

.sidebar-section-title {
  padding: 20px 16px 12px;
  color: var(--app-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-sidebar nav {
  padding-inline: 16px;
  flex: 0 0 auto !important;
  padding-bottom: 8px !important;
}

.dashboard-sidebar.is-collapsed nav {
  padding-inline: 0;
}

.sidebar-section-label {
  margin: 14px 0 6px;
  padding: 0px 14px;
  color: var(--app-faint);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.sidebar-divider {
  height: 1px;
  margin: 12px 18px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.45), transparent);
}

.sidebar-divider-lg {
  margin-top: 14px;
  margin-bottom: 10px;
}

.sidebar-divider-xl {
  margin-top: 18px;
  margin-bottom: 12px;
}

.sidebar-footer {
  position: relative;
  border-top: 0;
  padding: 14px 14px 10px;
}

.sidebar-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: rgba(148, 163, 184, 0.32);
}

.dashboard-sidebar.is-collapsed .sidebar-divider,
.dashboard-sidebar.is-collapsed .sidebar-footer {
  border-top: 0;
}

.dashboard-sidebar.is-collapsed .sidebar-footer::before {
  display: none;
}

/* ── Plan card en footer ─────────────────────────────────────────────── */
.sidebar-plan-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin: 0 12px 14px;
  padding: 12px 14px;
  border: 1px solid rgba(67, 56, 202, 0.20);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.06), rgba(124, 60, 255, 0.06));
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.sidebar-plan-card:hover {
  border-color: rgba(67, 56, 202, 0.36);
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.12);
}
.sidebar-plan-card .plan-badge {
  display: inline-grid;
  place-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1463ff, #7c3cff 58%, #d629c8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(124, 60, 255, 0.30);
}
.sidebar-plan-card .sidebar-plan-info { min-width: 0; }
.sidebar-plan-card .sidebar-plan-info strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--app-text);
  line-height: 1.15;
}
.sidebar-plan-card .sidebar-plan-info small {
  display: block;
  font-size: 10px;
  color: var(--app-muted);
  margin-top: 3px;
  font-weight: 700;
}
.sidebar-plan-card .sidebar-plan-link {
  font-size: 11px;
  font-weight: 800;
  color: var(--app-accent);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.16s ease;
}
.sidebar-plan-card .sidebar-plan-link:hover {
  background: rgba(67, 56, 202, 0.10);
  text-decoration: none;
}
[data-theme="dark"] .sidebar-plan-card {
  background: linear-gradient(135deg, rgba(124, 60, 255, 0.12), rgba(67, 56, 202, 0.10));
  border-color: rgba(124, 60, 255, 0.30);
}
[data-theme="dark"] .sidebar-plan-card .sidebar-plan-info strong { color: #ffffff; }
[data-theme="dark"] .sidebar-plan-card .sidebar-plan-info small { color: var(--app-muted); }
[data-theme="dark"] .sidebar-plan-card .sidebar-plan-link { color: #bba4ff; }

.dashboard-sidebar.is-collapsed .sidebar-plan-card {
  grid-template-columns: 1fr;
  padding: 10px;
  justify-items: center;
}
.dashboard-sidebar.is-collapsed .sidebar-plan-card .sidebar-plan-info,
.dashboard-sidebar.is-collapsed .sidebar-plan-card .sidebar-plan-link { display: none; }

/* ── CTA "Empezar a Crear" en sidebar ──────────────────────────────── */
.sidebar-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 6px 14px 8px;
  padding: 9px 16px;
  border-radius: 14px;
  border: 1px solid rgba(67, 56, 202, 0.20);
  background: linear-gradient(135deg, #1463ff, #7c3cff 58%, #d629c8);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(124, 60, 255, 0.30);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.sidebar-cta svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  flex: 0 0 18px;
}
.sidebar-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 16px 36px rgba(124, 60, 255, 0.36);
  color: #ffffff;
  text-decoration: none;
}
.sidebar-cta.is-active {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18), 0 16px 36px rgba(124, 60, 255, 0.40);
}
.sidebar-cta-arrow {
  font-size: 12px;
  transition: transform 0.18s ease;
}
.sidebar-cta:hover .sidebar-cta-arrow {
  transform: translateX(3px);
}
[data-theme="dark"] .sidebar-cta {
  box-shadow: 0 12px 28px rgba(124, 60, 255, 0.40);
}
.dashboard-sidebar.is-collapsed .sidebar-cta {
  grid-template-columns: 1fr;
  width: 46px;
  min-height: 46px;
  margin: 7px auto 10px;
  padding: 0;
  justify-items: center;
  gap: 0;
}
.dashboard-sidebar.is-collapsed .sidebar-cta span,
.dashboard-sidebar.is-collapsed .sidebar-cta .sidebar-cta-arrow { display: none !important; }

/* ── Sección colapsable "Próximamente" ───────────────────────────────── */
.sidebar-upcoming {
  margin: 14px 14px 0;
  border-top: 1px solid var(--app-border-soft);
  padding-top: 8px;
}
.sidebar-upcoming > summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--app-faint);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.16s ease, color 0.16s ease;
}
.sidebar-upcoming > summary::-webkit-details-marker { display: none; }
.sidebar-upcoming > summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: var(--app-faint);
  transition: transform 0.18s ease;
}
.sidebar-upcoming[open] > summary { color: var(--app-muted); }
.sidebar-upcoming[open] > summary::after { transform: rotate(180deg); }
.sidebar-upcoming > summary:hover {
  background: rgba(67, 56, 202, 0.06);
  color: var(--app-muted);
}
.sidebar-upcoming .sidebar-link {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}
.sidebar-upcoming .sidebar-link:hover { background: transparent; }
.dashboard-sidebar.is-collapsed .sidebar-upcoming { display: none; }

[data-theme="dark"] .sidebar-divider {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

[data-theme="dark"] .sidebar-footer::before {
  background: rgba(255, 255, 255, 0.10);
}

.sidebar-link {
  --sidebar-link-accent: #4338CA;
  --sidebar-link-soft: rgba(67, 56, 202, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  min-height: 46px;
  margin: 4px 0;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--app-text);
  font-size: 13px;
  font-weight: 600;
  opacity: 0.78;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background 0.16s ease, color 0.16s ease, opacity 0.16s ease;
}

.sidebar-link-video { --sidebar-link-accent: #10B981; --sidebar-link-soft: rgba(16, 185, 129, 0.12); }
.sidebar-link-image { --sidebar-link-accent: #F97316; --sidebar-link-soft: rgba(249, 115, 22, 0.12); }
.sidebar-link-palette { --sidebar-link-accent: #7C3AED; --sidebar-link-soft: rgba(124, 58, 237, 0.12); }
.sidebar-link-clipboard { --sidebar-link-accent: #EC4899; --sidebar-link-soft: rgba(236, 72, 153, 0.12); }
.sidebar-link-package { --sidebar-link-accent: #0891B2; --sidebar-link-soft: rgba(34, 211, 238, 0.14); }
.sidebar-link-library { --sidebar-link-accent: #3B82F6; --sidebar-link-soft: rgba(59, 130, 246, 0.12); }

.dashboard-sidebar.is-collapsed .sidebar-link {
  justify-content: center;
  align-items: center;
  width: 46px;
  min-height: 46px;
  margin: 7px auto;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.dashboard-sidebar.is-collapsed .sidebar-link > .sidebar-text,
.dashboard-sidebar.is-collapsed .sidebar-link .sidebar-badge {
  display: none !important;
}

.sidebar-link .sidebar-text:first-of-type {
  min-width: 0;
  flex: 1;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-badge {
  margin-left: auto;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(67, 56, 202, 0.10);
  color: #4338CA;
  padding: 3px 6px;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

[data-theme="dark"] .sidebar-badge {
  background: rgba(124, 60, 255, 0.14);
  color: #bba4ff;
}

.sidebar-link:hover,
.sidebar-link.is-active {
  background: var(--sidebar-link-soft);
  color: var(--app-text);
  opacity: 1;
}

[data-theme="dark"] .sidebar-link:hover,
[data-theme="dark"] .sidebar-link.is-active {
  background: rgba(124, 60, 255, 0.12);
}

.sidebar-link.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.sidebar-link.is-disabled:hover {
  background: transparent;
  color: var(--app-text);
  opacity: 0.56;
}

.sidebar-link.is-active {
  font-weight: 800;
}

.sidebar-link svg,
.sidebar-link .sidebar-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  color: currentColor;
  opacity: 0.9;
  flex: 0 0 auto;
  align-self: center;
}

.sidebar-link .sidebar-icon {
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.sidebar-link > .sidebar-text {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.sidebar-link.is-active svg,
.sidebar-link.is-active .sidebar-icon {
  color: var(--sidebar-link-accent);
  opacity: 1;
}

[data-theme="dark"] .sidebar-link.is-active svg,
[data-theme="dark"] .sidebar-link.is-active .sidebar-icon {
  color: #a978ff;
}

.sidebar-profile-link {
  min-height: 54px;
  margin-bottom: 10px;
}

.sidebar-profile-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EEF3FF, #EFE1FF);
  color: #4338CA;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid var(--app-border);
}

[data-theme="dark"] .sidebar-profile-avatar {
  background: linear-gradient(135deg, #6f1fb2, #3a0b63);
  color: #f5dfff;
  border-color: transparent;
}

.sidebar-profile-link strong {
  font-size: 14px;
  font-weight: 600;
}

.sidebar-profile-link small {
  font-size: 12px;
}

.sidebar-settings-link {
  background: transparent !important;
  font-weight: 500 !important;
}

.sidebar-settings-link svg,
.sidebar-settings-link .sidebar-icon {
  color: currentColor !important;
}

.dashboard-sidebar.is-collapsed .support-card {
  justify-content: center;
  width: 54px;
  margin-inline: auto;
  padding: 10px 0;
  gap: 0;
  overflow: hidden;
}

.dashboard-main {
  background: transparent;
}

.dashboard-topbar {
  min-height: 82px;
  border-bottom: 1px solid var(--app-border-soft);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  padding: 24px 34px 18px;
}

[data-theme="dark"] .dashboard-topbar {
  border-bottom: 0;
  background: transparent;
}

/* ── Plan pill en topbar ────────────────────────────────────────────── */
.topbar-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: #ffffff;
  text-decoration: none;
  color: var(--app-text);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}
.topbar-plan-pill:hover {
  border-color: rgba(67, 56, 202, 0.32);
  box-shadow: 0 10px 24px rgba(67, 56, 202, 0.12);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--app-text);
}
.topbar-plan-badge {
  display: inline-grid;
  place-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1463ff, #7c3cff 58%, #d629c8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 10px rgba(124, 60, 255, 0.30);
}
.topbar-plan-divider {
  width: 1px;
  height: 18px;
  background: var(--app-border-soft);
}
.topbar-plan-credits {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--app-muted);
}
.topbar-plan-credits i {
  font-size: 11px;
  color: #f59e0b;
}
.topbar-plan-credits strong {
  color: var(--app-text);
  font-weight: 900;
  font-size: 13px;
}
.topbar-plan-credits small {
  font-size: 11px;
  color: var(--app-muted);
  font-weight: 700;
}
[data-theme="dark"] .topbar-plan-pill {
  background: rgba(14, 19, 37, 0.78);
  border-color: rgba(134, 101, 255, 0.2);
}
[data-theme="dark"] .topbar-plan-credits,
[data-theme="dark"] .topbar-plan-credits small { color: var(--app-muted); }
[data-theme="dark"] .topbar-plan-credits strong { color: #ffffff; }
[data-theme="dark"] .topbar-plan-divider { background: rgba(255, 255, 255, 0.08); }

@media (max-width: 640px) {
  .topbar-plan-pill { padding: 4px 10px 4px 4px; }
  .topbar-plan-badge { padding: 4px 8px; font-size: 9px; }
  .topbar-plan-credits small { display: none; }
}

.dashboard-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #EEF3FF, #EFE1FF);
  color: #4338CA;
  font-weight: 900;
  font-size: 15px;
  margin-left: 8px;
  border: 1px solid var(--app-border);
}

[data-theme="dark"] .dashboard-avatar {
  background: linear-gradient(135deg, #3a0b63, #220633);
  color: #f4dfff;
  border-color: transparent;
}

.dashboard-content {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 0 22px 36px;
}

.hub-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.hub-hero h1 {
  margin: 0;
  color: var(--app-text);
  font-size: clamp(30px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.hub-hero p {
  margin-top: 9px;
  color: var(--app-muted);
  font-size: 18px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.module-card {
  min-height: 312px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(45, 94, 190, 0.34);
  border-radius: 12px;
  background:
    radial-gradient(circle at 78% 24%, rgba(38, 95, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(7, 20, 49, 0.96), rgba(5, 9, 24, 0.94));
  box-shadow: var(--app-card-shadow);
  padding: 30px 176px 30px 30px;
}

[data-theme="light"] .module-card {
  border-color: rgba(20, 99, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 244, 255, 0.92));
}

.module-card:nth-child(2) {
  border-color: rgba(124, 60, 255, 0.28);
  background:
    radial-gradient(circle at 76% 24%, rgba(124, 60, 255, 0.24), transparent 38%),
    linear-gradient(135deg, rgba(28, 15, 55, 0.96), rgba(8, 8, 25, 0.94));
}

[data-theme="light"] .module-card:nth-child(2) {
  border-color: rgba(124, 60, 255, 0.18);
  background:
    radial-gradient(circle at 78% 24%, rgba(124, 60, 255, 0.13), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 240, 255, 0.94));
}

.module-card.pink {
  border-color: rgba(214, 41, 131, 0.42);
  background:
    radial-gradient(circle at 76% 24%, rgba(214, 41, 131, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(47, 8, 27, 0.97), rgba(15, 7, 19, 0.94));
}

[data-theme="light"] .module-card.pink {
  border-color: rgba(214, 41, 131, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 249, 0.92));
}

.dashboard-icon {
  width: 58px;
  height: 58px;
  font-size: 28px;
  margin-bottom: 48px;
  color: #8558ff;
  background: linear-gradient(135deg, rgba(20, 99, 255, 0.35), rgba(86, 47, 210, 0.38));
}

.module-card:nth-child(2) .dashboard-icon {
  color: #d15cff;
  background: linear-gradient(135deg, rgba(88, 41, 170, 0.54), rgba(124, 60, 255, 0.3));
}

.module-card.pink .dashboard-icon {
  color: #ff4fa4;
  background: linear-gradient(135deg, rgba(214, 41, 131, 0.56), rgba(124, 20, 91, 0.34));
}

.module-card .dashboard-icon > svg {
  display: block;
 
  
}

.module-card h2 {
  margin: 0 0 12px;
  font-size: 27px;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.module-card p {
  max-width: 285px;
  color: var(--app-muted);
  font-size: 16px;
  line-height: 1.5;
  min-height: 72px;
}

.module-visual {
  position: absolute;
  right: 30px;
  top: 46px;
  width: 118px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  transform: rotate(5deg);
  background:
    radial-gradient(circle at 55% 44%, rgba(169, 120, 255, 0.58), transparent 28%),
    linear-gradient(160deg, #07101e, #3d2a86 58%, #bda1ff);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.module-card:first-child .module-visual {
  top: 52px;
  right: 42px;
  width: 154px;
  height: 216px;
  overflow: hidden;
}

.module-card:first-child .module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-card:first-child .module-visual::after {
  display: none;
}

.module-card:nth-child(2) .module-visual {
  top: 57px;
  right: 24px;
  width: 154px;
  height: 216px;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 45%, rgba(216, 197, 255, 0.62), transparent 30%),
    linear-gradient(160deg, #f0e8ff, #7851d8 56%, #251245);
}

.module-card:nth-child(2) .module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-card:nth-child(2) .module-visual::after {
  display: none;
}

.module-card.pink .module-visual {
  top: 58px;
  right: 42px;
  width: 154px;
  height: 216px;
  overflow: hidden;
  background: #2d1431;
}

.module-card.pink .module-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-card.pink .module-visual::after {
  display: none;
}

.module-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 36px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, #f2e6ff, #7b4bd8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.module-button,
.plan-upgrade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 156px;
  min-height: 44px;
  margin-top: auto;
  border-radius: 8px;
  background: linear-gradient(90deg, #1463ff, #7c3cff 65%, #bd25d6);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.plan-upgrade {
  min-height: 40px;
  width: 100%;
  margin-top: 18px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 12px 28px rgba(88, 55, 238, 0.22);
}

.plan-upgrade-icon {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.module-card:nth-child(2) .module-button {
  background: linear-gradient(90deg, #6d35e8, #7c3cff 58%, #a22ee9);
}

.module-card.pink .module-button {
  background: linear-gradient(90deg, #d62983, #c32689 58%, #e12f8e);
}

.hub-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.72fr);
  gap: 24px;
  margin-top: 24px;
}

.hub-bottom-projects-only {
  grid-template-columns: minmax(0, 1fr);
}

.hub-panel {
  border: 1px solid var(--app-border-soft);
  border-radius: 12px;
  background: var(--app-panel);
  box-shadow: var(--app-card-shadow);
  padding: 24px;
}

.hub-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hub-panel h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.project-row {
  display: grid;
  grid-template-columns: 88px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--app-border-soft);
}

.project-thumb {
  width: 82px;
  height: 62px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1d163e, #d9c5ff);
  position: relative;
  overflow: hidden;
}

.project-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 24px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #804dd8);
}

.project-row strong {
  display: block;
  color: var(--app-text);
  font-size: 17px;
}

.project-row span {
  color: var(--app-muted);
  font-size: 14px;
}

.projects-empty-state {
  min-height: 275px;
  border-top: 1px solid var(--app-border-soft);
}

.project-badge {
  border-radius: 8px;
  background: rgba(124, 60, 255, 0.15);
  color: #ba8cff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
}

.plan-card {
  border: 1px solid var(--app-border-soft);
  border-radius: 10px;
  padding: 22px;
}

.plan-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 45% 35%, rgba(106, 125, 255, 0.45), transparent 36%),
    linear-gradient(135deg, rgba(31, 54, 166, 0.72), rgba(22, 24, 74, 0.78));
  color: #74a7ff;
  font-size: 18px;
  line-height: 1;
}

.plan-card-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.plan-card-title strong {
  display: block;
  color: var(--app-text);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 900;
}

.plan-card-title span {
  display: block;
  margin-top: 4px;
  color: var(--app-muted);
  font-size: 13px;
  line-height: 1.2;
}

.plan-list {
  display: grid;
  gap: 13px;
  margin: 24px 0;
  color: var(--app-text);
  font-size: 15px;
}

.plan-list span {
  color: #61d98b;
  margin-right: 10px;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 6px 0 0;
  border: 1px solid var(--app-border);
  border-radius: 12px;
  background: rgba(67, 56, 202, 0.04);
  padding: 10px 13px;
  min-height: 54px;
  width: 100%;
}

[data-theme="dark"] .support-card {
  border-color: var(--app-border-soft);
  background: rgba(255, 255, 255, 0.025);
}

.support-card strong {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.support-card small {
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
}

.support-card > span:first-child {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: rgba(67, 56, 202, 0.10);
  color: #4338CA;
}

[data-theme="dark"] .support-card > span:first-child {
  background: rgba(55, 65, 150, 0.22);
  color: inherit;
}

.support-card svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
}

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

  .auth-brand {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .module-grid,
  .hub-bottom {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 270px;
    padding-right: 28px;
  }
}

@media (max-width: 767px) {
  .dashboard-sidebar {
    width: 280px;
  }

  .auth-shell {
    width: min(94vw, 520px);
    padding: 24px 0;
  }

  .auth-logo {
    width: min(360px, 90vw);
  }

  .auth-title {
    font-size: 38px;
  }

  .auth-card {
    padding: 28px 22px;
  }

  .project-row {
    grid-template-columns: 74px 1fr;
  }

  .project-badge,
  .project-row .dots {
    display: none;
  }
}

/* ============================================
   OVERRIDES — Opción C (Tech/SaaS Bold Light)
   Aplica solo a la página /auth/login.
   No modifica la estructura HTML, sólo los estilos.
   ============================================ */
:root {
  --oc-brand-indigo: #4338CA;
  --oc-brand-indigo-600: #4F46E5;
  --oc-brand-violet: #6D28D9;
  --oc-brand-violet-700: #5B21B6;
  --oc-brand-blue: #1D4ED8;
  --oc-brand-pink: #BE185D;
  --oc-bg: #FFFFFF;
  --oc-bg-soft: #FAFAFA;
  --oc-border: #E5E7EB;
  --oc-border-medium: #D1D5DB;
  --oc-text: #0A0A0A;
  --oc-text-secondary: #4B5563;
  --oc-text-muted: #9CA3AF;
  --oc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --oc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --oc-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.10);
  --oc-shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.14);
  --oc-shadow-accent: 0 0 0 4px rgba(67, 56, 202, 0.15), 0 8px 24px rgba(67, 56, 202, 0.30);
  --oc-shadow-accent-lg: 0 0 0 6px rgba(67, 56, 202, 0.15), 0 16px 40px rgba(67, 56, 202, 0.35);
}

.auth-page.auth-login-tuned {
  background-color: var(--oc-bg);
  background-image:
    radial-gradient(at 20% 20%, rgba(67, 56, 202, 0.18) 0px, transparent 50%),
    radial-gradient(at 80% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(29, 78, 216, 0.12) 0px, transparent 50%);
  color: var(--oc-text);
}

.auth-page .auth-logo {
  filter: drop-shadow(0 18px 32px rgba(67, 56, 202, 0.13));
}

.auth-page .auth-title {
  color: var(--oc-text);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.auth-page .auth-copy {
  color: var(--oc-text-secondary);
}

.auth-page .luflo-gradient-text {
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 52%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-page .auth-feature {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border);
  border-radius: 16px;
  box-shadow: var(--oc-shadow-md);
  color: var(--oc-text);
}

.auth-page .auth-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--oc-shadow-lg);
  border-color: var(--oc-border-medium);
}

.auth-page .auth-feature strong {
  color: var(--oc-text);
}

.auth-page .auth-feature small {
  color: var(--oc-text-secondary);
}

.auth-page .auth-feature-video .auth-feature-icon {
  background: rgba(29, 78, 216, 0.10);
  color: var(--oc-brand-blue);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.15);
}

.auth-page .auth-feature-landing .auth-feature-icon {
  background: rgba(124, 58, 237, 0.10);
  color: var(--oc-brand-violet);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.15);
}

.auth-page .auth-feature-afiche .auth-feature-icon {
  background: rgba(190, 24, 93, 0.10);
  color: var(--oc-brand-pink);
  box-shadow: 0 8px 22px rgba(190, 24, 93, 0.15);
}

.auth-page .auth-stat {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border);
  box-shadow: var(--oc-shadow-md);
}

.auth-page .auth-stat strong {
  color: var(--oc-text);
}

.auth-page .auth-stat span {
  color: var(--oc-text-secondary);
}

.auth-page .auth-card {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border);
  border-radius: 24px;
  box-shadow: var(--oc-shadow-xl);
  padding: clamp(30px, 4vw, 56px);
}

.auth-page .auth-card h1 {
  color: var(--oc-text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.auth-page .auth-card > p {
  color: var(--oc-text-secondary);
}

.auth-page .auth-label {
  color: var(--oc-text);
}

.auth-page .auth-input-wrap svg {
  color: var(--oc-text-muted);
}

.auth-page .auth-input {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border);
  border-radius: 12px;
  color: var(--oc-text);
  box-shadow: none;
}

.auth-page .auth-input:focus {
  border-color: var(--oc-brand-indigo);
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.15);
  outline: none;
}

.auth-page .auth-input::placeholder {
  color: var(--oc-text-muted);
}

.auth-page .auth-forgot {
  color: var(--oc-brand-indigo);
  font-weight: 700;
}

.auth-page .auth-forgot:hover {
  color: var(--oc-brand-violet);
}

.auth-page .auth-primary {
  background: linear-gradient(135deg, var(--oc-brand-indigo-600) 0%, var(--oc-brand-violet) 100%);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--oc-shadow-accent);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-page .auth-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--oc-brand-indigo) 0%, var(--oc-brand-violet-700) 100%);
  box-shadow: var(--oc-shadow-accent-lg);
}

.auth-page .auth-primary:active {
  transform: translateY(0);
  box-shadow: var(--oc-shadow-accent);
}

.auth-page .auth-secondary {
  color: var(--oc-brand-indigo);
  border-color: var(--oc-border-medium);
  background: var(--oc-bg);
  border-radius: 12px;
  font-weight: 700;
}

.auth-page .auth-secondary:hover {
  background: var(--oc-bg-soft);
  border-color: var(--oc-brand-indigo);
  color: var(--oc-brand-indigo);
}

.auth-page .auth-separator {
  color: var(--oc-text-muted);
}

.auth-page .auth-separator::before,
.auth-page .auth-separator::after {
  background: var(--oc-border);
}

.auth-page .auth-google {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border-medium);
  border-radius: 12px;
  color: var(--oc-text);
  font-weight: 600;
  box-shadow: var(--oc-shadow-sm);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-page .auth-google:hover {
  background: var(--oc-bg-soft);
  border-color: var(--oc-brand-indigo);
  color: var(--oc-brand-indigo);
  transform: translateY(-2px);
  box-shadow: var(--oc-shadow-md);
}

.auth-page .auth-bottom {
  color: var(--oc-text-secondary);
}

.auth-page .auth-bottom a {
  color: var(--oc-brand-indigo);
  font-weight: 700;
}

.auth-page .auth-bottom a:hover {
  color: var(--oc-brand-violet);
}

.auth-page .login-mercor-card::before {
  display: none;
}

.auth-page .login-mercor-card .login-card-brand h1 {
  color: var(--oc-text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.auth-page .login-mercor-card .login-card-brand p {
  color: var(--oc-text-secondary);
}

.auth-page .login-mercor-card .auth-label {
  color: var(--oc-text);
}

.auth-page .login-mercor-card .auth-input-wrap svg {
  color: var(--oc-text-muted);
}

.auth-page .login-mercor-card .auth-input {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border);
  border-radius: 12px;
  color: var(--oc-text);
}

.auth-page .login-mercor-card .auth-input:focus {
  border-color: var(--oc-brand-indigo);
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.15);
}

.auth-page .login-mercor-card .auth-input::placeholder {
  color: var(--oc-text-muted);
}

.auth-page .login-mercor-card .auth-forgot {
  color: var(--oc-brand-indigo);
}

.auth-page .login-mercor-card .auth-primary {
  background: linear-gradient(135deg, var(--oc-brand-indigo-600) 0%, var(--oc-brand-violet) 100%);
  color: #FFFFFF;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: var(--oc-shadow-accent);
  background-size: 100% 100%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-page .login-mercor-card .auth-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--oc-brand-indigo) 0%, var(--oc-brand-violet-700) 100%);
  box-shadow: var(--oc-shadow-accent-lg);
}

.auth-page .login-mercor-card .auth-primary:active {
  transform: translateY(0);
  box-shadow: var(--oc-shadow-accent);
}

.auth-page .login-mercor-card .auth-google {
  background: var(--oc-bg);
  border: 1px solid var(--oc-border-medium);
  border-radius: 12px;
  color: var(--oc-text);
  font-weight: 600;
}

.auth-page .login-mercor-card .auth-google:hover {
  background: var(--oc-bg-soft);
  border-color: var(--oc-brand-indigo);
  color: var(--oc-brand-indigo);
  transform: translateY(-2px);
  box-shadow: var(--oc-shadow-md);
}

.auth-page .login-mercor-card .auth-separator::before {
  background: linear-gradient(rgba(229, 231, 235, 0.85), rgba(229, 231, 235, 0.85)) left center / calc(50% - 58px) 1px no-repeat,
    linear-gradient(rgba(229, 231, 235, 0.85), rgba(229, 231, 235, 0.85)) right center / calc(50% - 58px) 1px no-repeat;
  color: var(--oc-text-muted);
  font-size: 12px;
}

.auth-page .login-mercor-card .auth-bottom {
  color: var(--oc-text-secondary);
}

.auth-page .login-mercor-card .auth-bottom a {
  color: var(--oc-brand-indigo);
  font-weight: 700;
}

.auth-page .login-mercor-card .auth-bottom a:hover {
  color: var(--oc-brand-violet);
}

.auth-page .alert-box,
.auth-page #alert-box {
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.20);
  color: #047857;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
