@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin.260c81a4759b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../vendor/fonts/inter-latin-ext.1ad231aac0a8.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --mv-primary: #4562e8;
  --mv-primary-rgb: 69, 98, 232;
  --mv-primary-dark: #3b53c5;      --mv-primary-darker: #374eba;    --mv-soft: #eef1ff;
  --mv-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --mv-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --bs-primary: var(--mv-primary);
  --bs-primary-rgb: var(--mv-primary-rgb);
  --bs-link-color: var(--mv-primary);
  --bs-link-color-rgb: var(--mv-primary-rgb);
  --bs-link-hover-color: var(--mv-primary-dark);
  --bs-link-hover-color-rgb: 59, 83, 197;
  --bs-body-font-family: var(--mv-sans);
}

.btn-primary {
  --bs-btn-bg: var(--mv-primary);
  --bs-btn-border-color: var(--mv-primary);
  --bs-btn-hover-bg: var(--mv-primary-dark);
  --bs-btn-hover-border-color: var(--mv-primary-dark);
  --bs-btn-active-bg: var(--mv-primary-darker);
  --bs-btn-active-border-color: var(--mv-primary-darker);
  --bs-btn-disabled-bg: var(--mv-primary);
  --bs-btn-disabled-border-color: var(--mv-primary);
  --bs-btn-focus-shadow-rgb: var(--mv-primary-rgb);
}
.btn-outline-primary {
  --bs-btn-color: var(--mv-primary);
  --bs-btn-border-color: var(--mv-primary);
  --bs-btn-hover-bg: var(--mv-primary);
  --bs-btn-hover-border-color: var(--mv-primary);
  --bs-btn-active-bg: var(--mv-primary);
  --bs-btn-active-border-color: var(--mv-primary);
  --bs-btn-disabled-color: var(--mv-primary);
  --bs-btn-focus-shadow-rgb: var(--mv-primary-rgb);
}
.form-control:focus, .form-select:focus {
  border-color: var(--mv-primary);
  box-shadow: 0 0 0 .25rem rgba(var(--mv-primary-rgb), .2);
}

body {
  font-family: var(--mv-sans);
}

h1, h2, h3, .auth-hero-content h2, .navbar-brand, .auth-brand {
  font-family: var(--mv-serif);
  font-weight: 700;
  letter-spacing: -.01em;
}

html, body {
  height: 100%;
}
body {
  background-color: #f7f8fc;
  display: flex;
  flex-direction: column;
    min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden; }
main#content {
  flex: 1 0 auto;
}
footer {
  flex-shrink: 0;
}

.navbar-brand { letter-spacing: 0.5px; }
.spa-link.active { font-weight: 600; text-decoration: underline; }

.mv-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e9eaf3;
  box-shadow: 0 1px 3px rgba(16, 26, 61, .04);
}
.mv-navbar .navbar-brand { color: var(--mv-primary); }
.mv-navbar .navbar-brand:hover { color: var(--mv-primary-dark); }
.mv-navbar .nav-link { color: #4b5266; font-weight: 500; border-radius: .5rem; padding-left: .7rem; padding-right: .7rem; }
.mv-navbar .nav-link:hover { color: var(--mv-primary); background: var(--mv-soft); }
.mv-navbar .spa-link.active {
  color: var(--mv-primary);
  background: var(--mv-soft);
  font-weight: 600;
  text-decoration: none;
}
.mv-navbar .navbar-text { color: #6b7280; }

#spa-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--mv-primary), #8ba3ff);
  z-index: 2000; opacity: 0; pointer-events: none;
}
#spa-progress.activa {
  opacity: 1; width: 75%;
  transition: width 1.2s cubic-bezier(.1, .7, .6, .9), opacity .15s ease;
}
#spa-progress.completa {
  width: 100%; opacity: 0;
  transition: width .2s ease, opacity .35s ease .15s;
}

@keyframes mvFadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
#content.mv-entrando { animation: mvFadeInUp .28s ease-out; }
#content.cargando { opacity: 0.55; transition: opacity .15s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  #content.mv-entrando { animation: none; }
  #spa-progress, #spa-progress.activa, #spa-progress.completa { transition: none; }
}
.card-emocion { border: none; border-radius: 1rem; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.especialista-clicable { transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.especialista-clicable:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.test-info-hero { text-align: center; }
.test-info-hero .test-card-icon { margin-left: auto; margin-right: auto; }
.rango-item {
  padding: .6rem .9rem; border-radius: .5rem; background: #f7f8fc;
  border-left: 3px solid var(--mv-primary); font-size: .9rem;
}
.form-check-input:checked { background-color: var(--mv-primary); border-color: var(--mv-primary); }


@media (max-width: 576px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  .card-emocion { padding: 1.25rem !important; border-radius: 0.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.3rem; }
  .navbar-text { display: none; }

    main#content.py-4 { padding-top: .75rem !important; padding-bottom: .75rem !important; }
  footer.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
}

@media (min-width: 577px) and (max-width: 991px) {
  .card-emocion { padding: 1.5rem !important; }
}

img, table { max-width: 100%; }
.table-responsive { -webkit-overflow-scrolling: touch; }


.test-card { transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.test-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(79,109,245,.15); }
.test-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--mv-soft); color: var(--mv-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.test-intro-card { border: none; border-radius: 1rem; background: #fbfbff; box-shadow: 0 2px 10px rgba(0,0,0,.05); }

.alert-aviso {
  background: #e9f8f0;
  border-left: 4px solid #2fb872;
  border-radius: .5rem;
  padding: .9rem 1.1rem;
  color: #14532d;
  font-size: .92rem;
}
.alert-aviso i { color: #2fb872; margin-right: .4rem; }

.badge-rango {
  background: var(--mv-soft);
  color: var(--mv-primary);
  border-radius: 1rem;
  padding: .3rem .75rem;
  font-size: .78rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .navbar-collapse { margin-top: .5rem; }
  .navbar-nav .nav-link {
    padding: .75rem .5rem;
    border-bottom: 1px solid rgba(16, 26, 61, .08);
  }
  .navbar-nav .nav-link:last-child { border-bottom: none; }
}

.auth-split {
  border-radius: 1.25rem;
  overflow: hidden;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.auth-form-panel {
  padding: 2.5rem 2.25rem;
  background: #ffffff;
}
.auth-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--mv-primary);
}
.auth-hero-panel {
  background: linear-gradient(160deg, #2f3f8f 0%, var(--mv-primary) 100%);
  color: #ffffff;
  align-items: center;
  padding: 3rem;
}
.auth-hero-content h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}
.auth-hero-content p {
  color: rgba(255,255,255,.85);
  font-size: .98rem;
}
@media (max-width: 576px) {
  .auth-form-panel { padding: 1.75rem 1.25rem; }
}

.page-hero {
  border-radius: 1.1rem;
  padding: 2rem 1.75rem;
  margin-bottom: 1.75rem;
  background: linear-gradient(135deg, #2f3f8f 0%, var(--mv-primary) 100%);
  color: #ffffff;
}
.page-hero h2 { color: #ffffff; margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,.88); margin-bottom: 0; }
.page-hero .page-hero-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
@media (max-width: 576px) {
  .page-hero { padding: 1.5rem 1.25rem; }
}

.tipo-cuenta-selector { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 420px) { .tipo-cuenta-selector { grid-template-columns: 1fr; } }
.tipo-cuenta-card {
  display: block; cursor: pointer; border: 2px solid #e5e7eb; border-radius: .9rem;
  padding: 1.1rem .9rem; text-align: center; transition: border-color .15s, background-color .15s;
}
.tipo-cuenta-card .tipo-cuenta-icono {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto .6rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary);
}
.tipo-cuenta-card .tipo-cuenta-titulo { font-weight: 600; margin-bottom: .15rem; }
.tipo-cuenta-card .tipo-cuenta-desc { font-size: .8rem; color: #6b7280; margin-bottom: 0; }

.tipo-cuenta-selector-links { align-items: stretch; }
.tipo-cuenta-selector-links .tipo-cuenta-card {
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; height: 100%;
}
.tipo-cuenta-selector-links .tipo-cuenta-card:hover {
  border-color: var(--bs-primary); background: rgba(var(--bs-primary-rgb), .04);
}
.tipo-cuenta-subtitulo { color: var(--bs-primary); font-size: .78rem; font-weight: 600; margin-bottom: .35rem; }

.auth-hero-illustration { width: 100%; max-width: 230px; margin: 0 auto 1.5rem; display: block; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; flex-shrink: 0; background: #101a3d; color: #cbd2f0;
  padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .admin-brand { color: #fff; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; padding: .5rem .25rem 1rem; }
.admin-sidebar .admin-role-box { background: rgba(255,255,255,.06); border-radius: .6rem; padding: .6rem .75rem; margin-bottom: 1.25rem; }
.admin-sidebar .admin-role-box small { color: #8891c4; }
.admin-sidebar .nav-section-title { text-transform: uppercase; font-size: .68rem; letter-spacing: .06em; color: #6b74a8; margin: 1rem .5rem .35rem; }
.admin-sidebar .nav-link { color: #cbd2f0; border-radius: .5rem; padding: .5rem .6rem; font-size: .9rem; display: flex; align-items: center; gap: .55rem; }
.admin-sidebar .nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-sidebar .nav-link.active { background: var(--mv-primary); color: #fff; }
.admin-main { flex: 1; min-width: 0; background: #f5f6fb; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid #e9eaf3; padding: .85rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 5;
}
.admin-topbar .admin-search { flex: 1; max-width: 420px; }
.admin-content { padding: 1.5rem; }
.admin-stat-card { border-radius: 1rem; border: none; box-shadow: 0 2px 10px rgba(0,0,0,.05); padding: 1.1rem 1.25rem; }

.admin-stat-clicable {
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.admin-stat-clicable:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(var(--mv-primary-rgb), .18);
}
.admin-stat-clicable:focus-visible {
  outline: 2px solid var(--mv-primary);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .admin-stat-clicable, .admin-stat-clicable:hover { transition: none; transform: none; }
}
.admin-stat-icon { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.admin-panel-card { border-radius: 1rem; border: none; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
@media (max-width: 900px) {
  .admin-sidebar { position: fixed; left: -260px; z-index: 20; transition: left .2s; }
  .admin-sidebar.abierta { left: 0; }
}

.rum-wizard { max-width: 640px; margin: 0 auto; }
.rum-paso { min-height: 260px; }
.rum-pregunta { font-size: 1.4rem; font-weight: 600; margin-bottom: .4rem; }
.rum-ayuda { color: #6c757d; font-size: .92rem; margin-bottom: 1.2rem; }
.rum-texto { border-radius: .75rem; padding: .9rem 1rem; font-size: 1rem; }
.rum-texto:focus { border-color: var(--mv-primary); box-shadow: 0 0 0 .2rem rgba(69,98,232,.15); }

.rum-opciones { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (max-width: 480px) { .rum-opciones { grid-template-columns: 1fr; } }

.rum-opcion { position: relative; display: block; cursor: pointer; }
.rum-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.rum-opcion span {
  display: block; padding: 1rem; text-align: center; border-radius: .75rem;
  border: 2px solid #e6e8f0; background: #fff; font-weight: 500;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rum-opcion:hover span { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(79,109,245,.12); }
.rum-opcion input:checked + span {
  border-color: var(--mv-primary); background: var(--mv-soft); color: var(--mv-primary);
}
.rum-opcion input:focus-visible + span { outline: 2px solid var(--mv-primary); outline-offset: 2px; }

.rum-medidor { text-align: center; padding: 1rem 0; }
.rum-numero { font-size: 3.2rem; font-weight: 700; line-height: 1; color: var(--mv-primary); }

.rum-comparacion { display: flex; align-items: center; justify-content: center; gap: 2rem; }

.rum-campo { padding: 1rem 0; border-top: 1px solid #eef0f6; }
.rum-campo:first-child { border-top: 0; padding-top: 0; }
.rum-etiqueta {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  color: #8b90a0; margin-bottom: .35rem;
}
.rum-campo-destacado {
  background: var(--mv-soft); border-radius: .75rem; padding: 1rem; border-top: 0; margin-top: 1rem;
}

.perfil-datos { display: flex; flex-direction: column; }
.perfil-dato {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .7rem 0; border-top: 1px solid #eef0f6;
}
.perfil-dato:first-child { border-top: 0; padding-top: 0; }
.perfil-etiqueta {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #8b90a0;
}
.perfil-valor { font-size: .98rem; word-break: break-word; }

.perfil-enlace {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1rem; margin: 0 -1rem;
  border-radius: .6rem; text-decoration: none; color: inherit;
  transition: background .15s ease;
}
.perfil-enlace:hover { background: var(--mv-soft); color: inherit; }
.perfil-enlace-peligro { color: #c0392b; }
.perfil-enlace-peligro:hover { background: #fdecea; color: #c0392b; }
