/* ============================================================================
 * bySENDA — Pages CSS v1.0
 * ----------------------------------------------------------------------------
 * Layouts especificos de pagina. Depende de tokens.css + components.css.
 * ========================================================================= */

/* ============================================================================
 * 1. HERO (Inicio)
 * ========================================================================= */

.bys-hero {
  padding: var(--bys-space-10) 0 var(--bys-space-16);
  background: linear-gradient(135deg, var(--bys-bg-page) 0%, var(--bys-color-secondary-50) 100%);
  border-bottom: 1px solid var(--bys-border-subtle);
}

.bys-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bys-space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .bys-hero__grid { grid-template-columns: 1.1fr 1fr; }
}

.bys-hero__eyebrow {
  font-family: var(--bys-font-secondary);
  font-size: var(--bys-font-size-sm);
  font-weight: var(--bys-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--bys-letter-spacing-wide);
  color: var(--bys-brand-sky);
  margin-bottom: var(--bys-space-3);
}

.bys-hero__title {
  font-family: var(--bys-font-primary);
  font-weight: var(--bys-font-weight-semibold);
  font-size: clamp(2rem, 4.5vw + 1rem, 3.5rem);
  line-height: 1.1;
  color: var(--bys-text-primary);
  margin-bottom: var(--bys-space-4);
}

.bys-hero__title em {
  font-style: italic;
  color: var(--bys-brand-sky);
  font-family: var(--bys-font-primary);
}

.bys-hero__description {
  font-size: var(--bys-font-size-md);
  line-height: var(--bys-line-height-relaxed);
  color: var(--bys-text-secondary);
  margin-bottom: var(--bys-space-6);
  max-width: 540px;
}

.bys-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bys-space-3);
}

.bys-hero__media {
  background: var(--bys-color-secondary-100);
  border-radius: var(--bys-radius-2xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bys-brand-navy);
  overflow: hidden;
}

/* ============================================================================
 * 2. SERVICIOS — GRID
 * ========================================================================= */

.bys-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bys-space-3);
  padding: var(--bys-space-5);
  background: var(--bys-bg-surface);
  border: 1px solid var(--bys-border-subtle);
  border-radius: var(--bys-radius-md);
  margin-bottom: var(--bys-space-6);
  align-items: flex-end;
}

.bys-filters__field { flex: 1 1 200px; margin-bottom: 0; }

/* ============================================================================
 * 3. AGENDA
 * ========================================================================= */

.bys-agenda__month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--bys-space-4) var(--bys-space-6);
  background: var(--bys-bg-surface);
  border-radius: var(--bys-radius-md) var(--bys-radius-md) 0 0;
  border: 1px solid var(--bys-border-subtle);
  border-bottom: none;
}

.bys-agenda__month-label {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-lg);
  font-weight: var(--bys-font-weight-semibold);
  color: var(--bys-text-primary);
}

.bys-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--bys-border-subtle);
  border: 1px solid var(--bys-border-subtle);
  border-radius: 0 0 var(--bys-radius-md) var(--bys-radius-md);
  overflow: hidden;
}

.bys-calendar__header {
  background: var(--bys-bg-subtle);
  padding: var(--bys-space-2);
  text-align: center;
  font-size: var(--bys-font-size-xs);
  font-weight: var(--bys-font-weight-semibold);
  text-transform: uppercase;
  color: var(--bys-text-muted);
}

.bys-calendar__day {
  background: var(--bys-bg-surface);
  padding: var(--bys-space-3);
  text-align: center;
  min-height: 56px;
  cursor: pointer;
  position: relative;
  transition: background var(--bys-duration-fast);
}

.bys-calendar__day:hover:not([aria-disabled="true"]) {
  background: var(--bys-color-secondary-50);
}

.bys-calendar__day[aria-disabled="true"] {
  color: var(--bys-color-neutral-400);
  cursor: not-allowed;
  background: var(--bys-bg-muted);
}

.bys-calendar__day[aria-selected="true"] {
  background: var(--bys-brand-navy);
  color: var(--bys-text-on-primary);
  font-weight: var(--bys-font-weight-bold);
}

.bys-calendar__day--today {
  box-shadow: inset 0 0 0 2px var(--bys-brand-sky);
}

.bys-calendar__dot {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bys-color-success-500);
}

.bys-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--bys-space-2);
  margin-top: var(--bys-space-5);
}

.bys-slot {
  padding: var(--bys-space-3);
  border: 1.5px solid var(--bys-border-default);
  background: var(--bys-bg-surface);
  border-radius: var(--bys-radius-md);
  text-align: center;
  font-weight: var(--bys-font-weight-medium);
  color: var(--bys-text-primary);
  cursor: pointer;
  transition: all var(--bys-duration-fast);
}

.bys-slot:hover:not(:disabled) {
  border-color: var(--bys-brand-sky);
  background: var(--bys-color-secondary-50);
}

.bys-slot:disabled {
  color: var(--bys-text-muted);
  background: var(--bys-bg-muted);
  border-color: var(--bys-border-subtle);
  text-decoration: line-through;
  cursor: not-allowed;
}

.bys-slot[aria-pressed="true"] {
  background: var(--bys-brand-navy);
  color: var(--bys-text-on-primary);
  border-color: var(--bys-brand-navy);
}

/* ============================================================================
 * 4. ADMIN LAYOUT (sidebar)
 * ========================================================================= */

.bys-admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .bys-admin-layout {
    grid-template-columns: 240px 1fr;
  }
}

.bys-admin-sidebar {
  background: var(--bys-color-primary-800);
  color: var(--bys-color-neutral-100);
  padding: var(--bys-space-5) 0;
  display: none;
}

@media (min-width: 1024px) {
  .bys-admin-sidebar { display: block; }
}

.bys-admin-sidebar__brand {
  padding: 0 var(--bys-space-5);
  margin-bottom: var(--bys-space-8);
  display: flex;
  align-items: center;
  gap: var(--bys-space-2);
  color: var(--bys-text-on-primary);
}

.bys-admin-sidebar__nav { display: flex; flex-direction: column; }

.bys-admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--bys-space-3);
  padding: var(--bys-space-3) var(--bys-space-5);
  color: var(--bys-color-neutral-200);
  text-decoration: none;
  font-size: var(--bys-font-size-sm);
  font-weight: var(--bys-font-weight-medium);
  border-left: 3px solid transparent;
  transition: all var(--bys-duration-fast);
}

.bys-admin-sidebar__link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--bys-text-on-primary);
}

.bys-admin-sidebar__link[aria-current="page"] {
  background: rgba(255,255,255,0.1);
  color: var(--bys-text-on-primary);
  border-left-color: var(--bys-brand-sky);
}

.bys-admin-main {
  padding: var(--bys-space-6);
  background: var(--bys-bg-page);
}

@media (min-width: 768px) {
  .bys-admin-main { padding: var(--bys-space-8); }
}

.bys-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--bys-space-6);
  gap: var(--bys-space-3);
  flex-wrap: wrap;
}

.bys-admin-topbar__title {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-2xl);
  margin: 0;
}

/* Metric tiles */

.bys-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bys-space-4);
  margin-bottom: var(--bys-space-8);
}

@media (min-width: 640px) { .bys-metrics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bys-metrics { grid-template-columns: repeat(3, 1fr); } }

.bys-metric {
  background: var(--bys-bg-surface);
  border: 1px solid var(--bys-border-subtle);
  border-radius: var(--bys-radius-md);
  padding: var(--bys-space-5);
}

.bys-metric__label {
  font-size: var(--bys-font-size-sm);
  color: var(--bys-text-muted);
  font-weight: var(--bys-font-weight-medium);
  margin-bottom: var(--bys-space-2);
  text-transform: uppercase;
  letter-spacing: var(--bys-letter-spacing-wide);
}

.bys-metric__value {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-3xl);
  color: var(--bys-text-primary);
  line-height: 1;
}

.bys-metric__trend {
  font-size: var(--bys-font-size-sm);
  margin-top: var(--bys-space-2);
}

.bys-metric__trend--up { color: var(--bys-color-success-700); }
.bys-metric__trend--down { color: var(--bys-color-error-700); }

/* ============================================================================
 * 5. FORMULARIO RESERVA (paso a paso)
 * ========================================================================= */

.bys-form-card {
  background: var(--bys-bg-surface);
  border: 1px solid var(--bys-border-subtle);
  border-radius: var(--bys-radius-lg);
  padding: var(--bys-space-6);
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bys-form-card { padding: var(--bys-space-8); }
}

.bys-form-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--bys-space-3);
  margin-top: var(--bys-space-6);
  padding-top: var(--bys-space-5);
  border-top: 1px solid var(--bys-border-subtle);
  flex-wrap: wrap;
}

.bys-legal-notice {
  padding: var(--bys-space-4);
  background: var(--bys-color-warning-50);
  border-left: 4px solid var(--bys-color-warning-500);
  border-radius: var(--bys-radius-sm);
  color: var(--bys-color-warning-700);
  font-size: var(--bys-font-size-sm);
  margin: var(--bys-space-4) 0;
}

/* ============================================================================
 * 6. LEGAL PAGES
 * ========================================================================= */

.bys-legal {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--bys-space-10) var(--bys-space-4);
  line-height: var(--bys-line-height-relaxed);
}

.bys-legal h2 {
  font-size: var(--bys-font-size-xl);
  margin-top: var(--bys-space-8);
  margin-bottom: var(--bys-space-3);
}

.bys-legal h3 {
  font-size: var(--bys-font-size-lg);
  margin-top: var(--bys-space-6);
  margin-bottom: var(--bys-space-2);
}

.bys-legal p + p,
.bys-legal p + ul,
.bys-legal p + ol { margin-top: var(--bys-space-3); }

.bys-legal ul, .bys-legal ol { margin-left: var(--bys-space-3); }
.bys-legal li + li { margin-top: var(--bys-space-2); }

.bys-legal__meta {
  background: var(--bys-bg-subtle);
  padding: var(--bys-space-4);
  border-radius: var(--bys-radius-md);
  font-size: var(--bys-font-size-sm);
  color: var(--bys-text-muted);
  margin-bottom: var(--bys-space-6);
}

/* ============================================================================
 * 7. SATISFACCION POST-CITA (ADR-0004)
 * ========================================================================= */

.bys-satisfaccion {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--bys-space-10) var(--bys-space-4);
  text-align: center;
}

.bys-satisfaccion__title {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-2xl);
  margin-bottom: var(--bys-space-3);
}

.bys-satisfaccion__rating {
  display: flex;
  justify-content: center;
  margin: var(--bys-space-6) 0;
}

/* ============================================================================
 * 8. MOBILE NAV DRAWER
 * ========================================================================= */

.bys-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(320px, 90vw);
  background: var(--bys-bg-surface);
  box-shadow: var(--bys-shadow-xl);
  padding: var(--bys-space-5);
  transform: translateX(100%);
  transition: transform var(--bys-duration-base) var(--bys-ease-standard);
  z-index: var(--bys-z-modal);
}

.bys-drawer[aria-hidden="false"] { transform: translateX(0); }

.bys-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--bys-space-1);
  margin-top: var(--bys-space-6);
}

.bys-drawer__nav .bys-nav__link {
  padding: var(--bys-space-3) var(--bys-space-4);
  font-size: var(--bys-font-size-md);
}

/* ============================================================================
 * FIX-VISUAL-2026-11-23: Hero visual mejorado (composicion CSS pura)
 * Reemplaza SVG decorativo pobre del home por shapes + tipografia.
 * ========================================================================= */

.bys-hero__steps-hint {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--bys-space-2);
  margin-top: var(--bys-space-5);
  font-size: var(--bys-font-size-sm);
  color: var(--bys-text-muted);
  font-family: var(--bys-font-secondary);
}

.bys-hero__steps-hint svg {
  color: var(--bys-brand-sky);
  flex-shrink: 0;
}

.bys-hero__visual {
  background: linear-gradient(135deg, var(--bys-color-primary-700) 0%, var(--bys-color-secondary-700) 100%);
  position: relative;
  overflow: visible;
}

.bys-hero-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Circulo grande de fondo */
.bys-hero-visual__bg-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(61, 143, 182, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Circulo mediano accent (sky) */
.bys-hero-visual__accent-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(61, 143, 182, 0.28);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Punto flotante decorativo */
.bys-hero-visual__dot-circle {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(61, 143, 182, 0.55);
  top: 20%;
  right: 18%;
}

/* Centro tipografico */
.bys-hero-visual__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bys-space-1);
  text-align: center;
}

.bys-hero-visual__word-by {
  font-family: var(--bys-font-primary);
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--bys-color-secondary-300);
  line-height: 1;
  letter-spacing: -0.01em;
}

.bys-hero-visual__word-senda {
  font-family: var(--bys-font-secondary);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--bys-color-neutral-0);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bys-hero-visual__tagline {
  font-family: var(--bys-font-secondary);
  font-size: var(--bys-font-size-sm);
  font-weight: 400;
  color: var(--bys-color-secondary-200);
  margin-top: var(--bys-space-3);
  line-height: 1.6;
  opacity: 0.85;
}

/* ============================================================================
 * FIX-VISUAL-2026-11-23: Sobre-mi visual decorativo
 * ========================================================================= */

.bys-sobre-visual {
  background: linear-gradient(135deg, var(--bys-color-secondary-50) 0%, var(--bys-color-primary-50) 100%);
}

.bys-sobre-visual__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--bys-space-3);
}

.bys-sobre-visual__label {
  font-family: var(--bys-font-secondary);
  font-size: var(--bys-font-size-sm);
  font-weight: var(--bys-font-weight-semibold);
  color: var(--bys-color-primary-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================================
 * FIX-VISUAL-2026-11-23: bys-credencial-card (usado en sobre-mi.eta)
 * ========================================================================= */

.bys-credencial-card {
  background: var(--bys-bg-surface);
  border: 1px solid var(--bys-border-subtle);
  border-radius: var(--bys-radius-lg);
  padding: var(--bys-space-6);
  box-shadow: 0 1px 4px rgba(9, 44, 77, 0.06);
  transition: box-shadow var(--bys-duration-fast);
}

.bys-credencial-card:hover {
  box-shadow: 0 4px 16px rgba(9, 44, 77, 0.10);
}

.bys-credencial-card__ano {
  font-family: var(--bys-font-secondary);
  font-size: var(--bys-font-size-xs);
  font-weight: var(--bys-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--bys-letter-spacing-wide);
  color: var(--bys-brand-sky);
  margin-bottom: var(--bys-space-2);
}

.bys-credencial-card__titulo {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-md);
  font-weight: var(--bys-font-weight-semibold);
  color: var(--bys-text-primary);
  margin-bottom: var(--bys-space-2);
}

.bys-credencial-card__detalle {
  font-size: var(--bys-font-size-sm);
  color: var(--bys-text-muted);
  margin: 0;
}

/* ============================================================================
 * FIX-VISUAL-2026-11-23: bys-pilar (usado en sobre-mi.eta)
 * ========================================================================= */

.bys-pilar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--bys-space-3);
  padding: var(--bys-space-6);
  background: var(--bys-bg-surface);
  border: 1px solid var(--bys-border-subtle);
  border-radius: var(--bys-radius-lg);
  box-shadow: 0 1px 4px rgba(9, 44, 77, 0.05);
  transition: box-shadow var(--bys-duration-fast), transform var(--bys-duration-fast);
}

.bys-pilar:hover {
  box-shadow: 0 6px 20px rgba(9, 44, 77, 0.10);
  transform: translateY(-2px);
}

.bys-pilar__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--bys-radius-lg);
  background: var(--bys-color-secondary-50);
  border: 1px solid var(--bys-color-secondary-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bys-brand-sky);
  flex-shrink: 0;
}

.bys-pilar__titulo {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-md);
  font-weight: var(--bys-font-weight-semibold);
  color: var(--bys-text-primary);
  margin: 0;
}

.bys-pilar__descripcion {
  font-size: var(--bys-font-size-base);
  color: var(--bys-text-muted);
  line-height: var(--bys-line-height-relaxed);
  margin: 0;
}

/* ============================================================================
 * AUTH — Layout y Card (Ciclo 5A — US-BYS-091..095)
 * ========================================================================= */

.bys-auth-layout {
  display: flex;
  justify-content: center;
  padding: var(--bys-space-10) 0 var(--bys-space-16);
}

.bys-auth-card {
  background: var(--bys-bg-surface);
  border-radius: var(--bys-radius-xl);
  box-shadow: var(--bys-shadow-lg);
  padding: var(--bys-space-10);
  width: 100%;
  max-width: 480px;
}

.bys-auth-card__title {
  font-family: var(--bys-font-primary);
  font-size: var(--bys-font-size-2xl);
  font-weight: var(--bys-font-weight-semibold);
  color: var(--bys-text-primary);
  margin-bottom: var(--bys-space-2);
  line-height: var(--bys-line-height-tight);
}

.bys-auth-card__subtitle {
  font-size: var(--bys-font-size-base);
  color: var(--bys-text-secondary);
  margin-bottom: var(--bys-space-6);
}

.bys-auth-card__footer-text {
  margin-top: var(--bys-space-6);
  text-align: center;
  font-size: var(--bys-font-size-sm);
  color: var(--bys-text-muted);
}

.bys-auth-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: var(--bys-radius-full);
  margin: 0 auto var(--bys-space-6);
}

.bys-auth-card__icon--success {
  background: var(--bys-color-success-50);
  color: var(--bys-color-success-500);
}

.bys-auth-card__icon--error {
  background: var(--bys-color-error-50);
  color: var(--bys-color-error-500);
}

.bys-auth-card__icon--info {
  background: var(--bys-color-info-50);
  color: var(--bys-color-info-500);
}

.bys-auth-card__icon--neutral {
  background: var(--bys-bg-subtle);
  color: var(--bys-text-secondary);
}

@media (max-width: 540px) {
  .bys-auth-card {
    padding: var(--bys-space-6);
    border-radius: var(--bys-radius-lg);
  }
  .bys-auth-layout {
    padding: var(--bys-space-6) 0 var(--bys-space-10);
  }
}

/* ============================================================================
 * PASSWORD METER — Medidor de fuerza (DP-5A-01)
 * ========================================================================= */

.bys-pwd-meter {
  margin-top: var(--bys-space-2);
}

.bys-pwd-meter__track {
  height: 4px;
  border-radius: var(--bys-radius-full);
  background: var(--bys-bg-muted);
  overflow: hidden;
  margin-bottom: var(--bys-space-1);
}

.bys-pwd-meter__bar {
  height: 100%;
  border-radius: var(--bys-radius-full);
  transition: width var(--bys-duration-base) var(--bys-ease-standard),
              background-color var(--bys-duration-base) var(--bys-ease-standard);
  --pwd-level: 0;
  width: calc(var(--pwd-level, 0) * 25%);
  background-color: var(--bys-color-error-500);
}

.bys-pwd-meter__bar[data-nivel="0"] { width: 10%; background-color: var(--bys-color-error-500); }
.bys-pwd-meter__bar[data-nivel="1"] { width: 30%; background-color: var(--bys-color-error-500); }
.bys-pwd-meter__bar[data-nivel="2"] { width: 65%; background-color: var(--bys-color-warning-500); }
.bys-pwd-meter__bar[data-nivel="3"] { width: 100%; background-color: var(--bys-color-success-500); }

.bys-pwd-meter__label {
  font-size: var(--bys-font-size-xs);
  color: var(--bys-text-muted);
  font-weight: var(--bys-font-weight-medium);
}

/* ============================================================================
 * INPUT GROUP — Campo con boton inline (ojo de contrasena, etc.)
 * ========================================================================= */

.bys-input-group {
  position: relative;
  display: flex;
}

.bys-input-group .bys-input {
  padding-right: var(--bys-space-12);
}

.bys-input-group__action {
  position: absolute;
  right: var(--bys-space-3);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bys-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--bys-space-1);
  border-radius: var(--bys-radius-sm);
  min-height: 32px;
  min-width: 32px;
  transition: color var(--bys-duration-fast) var(--bys-ease-standard);
}

.bys-input-group__action:hover { color: var(--bys-text-primary); }
.bys-input-group__action:focus-visible {
  outline: var(--bys-focus-ring-width) solid var(--bys-focus-ring-color);
  outline-offset: var(--bys-focus-ring-offset);
}

/* ============================================================================
 * CHECKBOX LABEL — Para aceptacion legal
 * ========================================================================= */

.bys-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--bys-space-3);
  cursor: pointer;
  font-size: var(--bys-font-size-sm);
  color: var(--bys-text-secondary);
  line-height: var(--bys-line-height-relaxed);
}

.bys-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--bys-brand-navy);
  cursor: pointer;
}

/* ============================================================================
 * DEFINITION LIST — Para perfil
 * ========================================================================= */

.bys-definition-list {
  display: flex;
  flex-direction: column;
  gap: var(--bys-space-4);
}

.bys-definition-list__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--bys-space-3);
  align-items: baseline;
  padding-bottom: var(--bys-space-4);
  border-bottom: 1px solid var(--bys-border-subtle);
}

.bys-definition-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bys-definition-list__term {
  font-size: var(--bys-font-size-sm);
  font-weight: var(--bys-font-weight-semibold);
  color: var(--bys-text-muted);
  text-transform: none;
}

.bys-definition-list__def {
  font-size: var(--bys-font-size-base);
  color: var(--bys-text-primary);
  margin: 0;
}

@media (max-width: 540px) {
  .bys-definition-list__item {
    grid-template-columns: 1fr;
    gap: var(--bys-space-1);
  }
}

/* ============================================================================
 * FORM ERROR general del formulario
 * ========================================================================= */

.bys-form-error {
  padding: var(--bys-space-3) var(--bys-space-4);
  background: var(--bys-color-error-50);
  border: 1px solid var(--bys-color-error-500);
  border-radius: var(--bys-radius-md);
  color: var(--bys-color-error-700);
  font-size: var(--bys-font-size-sm);
  margin-bottom: var(--bys-space-4);
}

/* Utilitario de texto -->
.bys-text-sm { font-size: var(--bys-font-size-sm); }
.bys-label__optional {
  font-weight: var(--bys-font-weight-regular);
  color: var(--bys-text-muted);
  font-size: var(--bys-font-size-xs);
}

/* Honeypot anti-bot */
.bys-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

