/* ============================================================
   ENTER — Vista de login / activación
============================================================ */

/* ── Decoradores de fondo ── */
#v-enter::before {
  content: '+';
  position: absolute;
  top: 40px; right: 20px;
  font-size: 48px;
  font-weight: 200;
  color: rgba(45,204,211,0.08);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

#v-enter::after {
  content: '+';
  position: absolute;
  bottom: 120px; left: 14px;
  font-size: 32px;
  font-weight: 200;
  color: rgba(0,84,121,0.05);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* ── Encabezado portal ── */
.portal-header-block {
  text-align: center;
  padding: 8px 0 20px;
}

.portal-tagline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2DCCD3;
  background: rgba(45,204,211,0.08);
  border: 1px solid rgba(45,204,211,0.22);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.portal-tagline::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #2DCCD3;
  animation: pulse 2.2s ease infinite;
}

.portal-main-title {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  color: #005479;
  line-height: 1.20;
  margin-bottom: 10px;
  font-weight: 400;
}

.portal-main-title strong {
  font-weight: 800;
  color: #005479;
}

.portal-main-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #2DCCD3;
}

.portal-sub {
  font-size: 13px;
  color: #4A7A82;
  line-height: 1.6;
}

/* ── Preview de tarjetas ── */
.cards-preview-wrap {
  position: relative;
  height: 130px;
  margin: 0 auto 24px;
  max-width: 360px;
}

.preview-card {
  position: absolute;
  aspect-ratio: 1.586;
  height: 115px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,84,121,0.22), 0 4px 12px rgba(0,84,121,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-azul {
  left: 0; top: 14px;
  transform: rotate(-4deg) translateX(10px);
  z-index: 1;
  filter: brightness(0.92);
}

.preview-blanca {
  right: 0; top: 0;
  transform: rotate(2.5deg) translateX(-10px);
  z-index: 2;
}

.preview-card:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
  box-shadow: 0 18px 48px rgba(0,84,121,0.28);
  z-index: 3;
}

/* ── Login panel ── */
.login-panel {
  padding: 20px 20px 16px !important;
}

.login-security-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(45,204,211,0.07);
  border: 1px solid rgba(45,204,211,0.18);
  border-radius: 10px;
  padding: 7px 14px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  color: #005479;
  letter-spacing: 0.03em;
}

.login-security-bar svg {
  stroke: #2DCCD3;
  flex-shrink: 0;
}

/* ── Stats clínica ── */
.login-stats {
  display: none; /* oculto en mobile; visible en desktop */
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(45,204,211,0.12);
}

.login-stat {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login-stat-num {
  font-size: 15px;
  font-weight: 800;
  color: #005479;
  line-height: 1;
}

.login-stat-label {
  font-size: 9.5px;
  color: #4A7A82;
  line-height: 1.3;
}

.login-stat-sep {
  width: 1px;
  height: 28px;
  background: rgba(45,204,211,0.20);
  flex-shrink: 0;
  margin: 0 4px;
}

/* ── Desktop: vista entrada split ── */
@media (min-width: 1024px) {
  .enter-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 48px 60px;
    background: linear-gradient(160deg, rgba(0,84,121,0.06), rgba(45,204,211,0.04));
    border-right: 1px solid rgba(45,204,211,0.12);
  }

  .enter-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 48px 60px;
  }

  .enter-right > * { max-width: 400px; width: 100%; }

  .cards-preview-wrap {
    height: 200px;
    max-width: 100%;
  }

  .preview-card { height: 180px; }

  .portal-main-title { font-size: 34px; }

  .login-stats { display: flex; }
}
