
/* Marca Cita Lista: Marfil, Ciruela, Malva, Rosa y Salvia. Títulos en Manrope, textos en Inter. */
:root {
  --fondo: #FAF7F2;          /* Marfil */
  --tarjeta: #FFFFFF;
  --borde: #E9DCE3;
  --ciruela: #422D46;        /* identidad: títulos y textos */
  --malva: #875A79;          /* botones y links (Malva oscurecida para que el texto blanco se lea bien) */
  --malva-marca: #A77C96;    /* Malva de la marca: detalles, avance, ícono */
  --rosa: #F0DEE5;           /* superficies y paneles */
  --salvia: #6C8875;         /* éxito y cobros verificados */
  --texto: #422D46;
  --secundario: #6F5C70;
  --error: #A23B4F;
  --verde-fondo: #E3ECE5;
  --verde-texto: #3F5A47;
  --amarillo-fondo: #FBEBC8;
  --amarillo-texto: #6B4A0B;
  --gris-fondo: #EEE9EC;
  --gris-texto: #4F4450;
  --radio: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.pantalla {
  max-width: 390px;
  margin: 0 auto;
  padding: 16px;
}

/* Pantallas de una sola columna con el botón principal abajo (como en el diseño). */
.pantalla-completa {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 40px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* El botón principal queda cerca del contenido, sin un hueco grande en pantallas altas. */
.pantalla-completa .espacio { flex: 1; max-height: 24px; }
.pantalla-centrada { justify-content: center; }

h1, h2, .marca { font-family: "Manrope", "Inter", system-ui, sans-serif; letter-spacing: -0.01em; }
h1 { font-size: 28px; line-height: 34px; margin: 8px 0 16px; }
.pantalla-completa h1 { margin: 0; }

.marca { font-size: 30px; font-weight: 700; color: var(--malva); }
.bajada { font-size: 16px; line-height: 24px; color: var(--secundario); margin: 0; }
.nota { font-size: 13px; line-height: 18px; color: var(--secundario); margin: 0; }
.centrado { text-align: center; }
.volver { font-size: 14px; font-weight: 700; color: var(--malva); text-decoration: none; }
.chip-verde {
  align-self: flex-start;
  background: var(--verde-fondo);
  color: var(--verde-texto);
  border-radius: 14px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
}

/* Campo con un botón adentro, por ejemplo "Mostrar" en la contraseña. */
.campo-con-boton { position: relative; }
.campo-con-boton input { padding-right: 86px; }
.campo-con-boton button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 40px; padding: 0 10px; border: 0; background: none;
  color: var(--malva); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
input:disabled { background: var(--gris-fondo); color: var(--gris-texto); }
h2 { font-size: 18px; margin: 24px 0 8px; }

.tarjeta {
  background: var(--tarjeta);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 16px;
  margin-bottom: 12px;
}

.secundario { color: var(--secundario); }

.boton {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: var(--radio);
  background: var(--malva);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.boton-secundario {
  min-height: 48px;
  background: #fff;
  border: 1px solid var(--malva);
  color: var(--malva);
}

a.boton { display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* WhatsApp: todo lo que abre WhatsApp va en verde, así la profesional sabe que es para mandar un mensaje.
   Se reconoce solo por el link (wa.me) o con la clase boton-wa (botones que arman el link al tocarlos).
   Verde oscurecido para que el texto blanco se lea bien. */
:root { --whatsapp: #128C44; --whatsapp-oscuro: #0E7538; }
.boton[href^="https://wa.me/"], .boton.boton-wa {
  background: var(--whatsapp); border: 0; color: #fff; gap: 8px;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.boton[href^="https://wa.me/"]:hover, .boton.boton-wa:hover { background: var(--whatsapp-oscuro); }
.boton[href^="https://wa.me/"]::before, .boton.boton-wa::before, .boton-texto[href^="https://wa.me/"]::before {
  content: ""; width: 20px; height: 20px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.2 15.3l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 0 1 12 3.8zm-3.3 4c-.2 0-.5 0-.7.3-.3.3-1 1-1 2.4s1 2.8 1.2 3c.1.2 2 3.2 5 4.4 2.5 1 3 .8 3.5.7.5 0 1.7-.7 1.9-1.4.2-.7.2-1.3.2-1.4l-.5-.3-1.9-.9c-.3-.1-.4-.1-.6.1l-.8 1c-.2.2-.3.2-.6.1a6.6 6.6 0 0 1-3.3-2.9c-.2-.4.3-.4.7-1.2.1-.2 0-.3 0-.4l-.9-2.1c-.2-.5-.4-.5-.6-.5h-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 1.8a8.2 8.2 0 1 1-4.2 15.3l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 0 1 12 3.8zm-3.3 4c-.2 0-.5 0-.7.3-.3.3-1 1-1 2.4s1 2.8 1.2 3c.1.2 2 3.2 5 4.4 2.5 1 3 .8 3.5.7.5 0 1.7-.7 1.9-1.4.2-.7.2-1.3.2-1.4l-.5-.3-1.9-.9c-.3-.1-.4-.1-.6.1l-.8 1c-.2.2-.3.2-.6.1a6.6 6.6 0 0 1-3.3-2.9c-.2-.4.3-.4.7-1.2.1-.2 0-.3 0-.4l-.9-2.1c-.2-.5-.4-.5-.6-.5h-.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.boton-texto[href^="https://wa.me/"] { color: var(--whatsapp); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.boton-texto[href^="https://wa.me/"]::before { width: 16px; height: 16px; }
.boton:disabled, [aria-disabled="true"] { opacity: 0.6; cursor: default; }

label { display: block; font-size: 14px; color: var(--secundario); margin: 0 0 4px; }
form label, .tarjeta label { margin-top: 16px; }
.pantalla-completa label { margin-top: 0; }

input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  background: #fff;
  color: var(--texto);
  font: inherit;
}
input:focus { outline: 2px solid var(--malva); outline-offset: 1px; }

form.tarjeta .boton { margin-top: 24px; }
.error { color: var(--error); min-height: 1.4em; margin: 12px 0 0; }
.enlace { display: block; text-align: center; margin-top: 16px; color: var(--malva); font-weight: 600; }

.aviso-amarillo { background: var(--amarillo-fondo); color: var(--amarillo-texto); border-color: transparent; }
.aviso-coral { background: var(--rosa); color: var(--texto); border-color: transparent; }
.aviso-amarillo p, .aviso-coral p { margin: 0 0 12px; }

.etiqueta {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.etiqueta-verde { background: var(--verde-fondo); color: var(--verde-texto); }
.etiqueta-amarilla { background: var(--amarillo-fondo); color: var(--amarillo-texto); }
.etiqueta-gris { background: var(--gris-fondo); color: var(--gris-texto); }

/* ---------- Fase 3: primeros pasos, Más y ajustes ---------- */

select {
  display: block; width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--borde); border-radius: 12px; background: #fff;
  color: var(--texto); font: inherit;
}
select:focus { outline: 2px solid var(--malva); outline-offset: 1px; }

.campo { display: flex; flex-direction: column; }
.fila-campos { display: flex; gap: 10px; }
.fila-campos > * { flex: 1; min-width: 0; }

/* Encabezado de los primeros pasos: "Paso 2 de 5" y barra de avance. */
.avance-texto { display: flex; justify-content: space-between; font-size: 14px; color: var(--secundario); }
.avance-texto button { border: 0; background: none; color: var(--secundario); font: inherit; cursor: pointer; padding: 0; }
.avance { height: 6px; background: var(--borde); border-radius: 3px; }
.avance > div { height: 6px; background: var(--malva-marca); border-radius: 3px; }

/* Dos opciones lado a lado, como "Porcentaje · 30 %" / "Monto fijo". */
.opciones-dobles { display: flex; gap: 8px; }
.opciones-dobles button {
  flex: 1; min-height: 48px; border-radius: var(--radio); font: inherit; font-size: 14px; cursor: pointer;
  background: #fff; border: 1px solid var(--borde); color: var(--secundario);
}
.opciones-dobles button[aria-pressed="true"] {
  background: var(--rosa); border-color: var(--malva); color: var(--malva); font-weight: 700;
}

/* Listas de filas tocables (Más, horarios). */
.lista { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 0 16px; }
.lista > a, .lista > button, .lista > div.fila {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 48px; width: 100%; padding: 0; border: 0; border-bottom: 1px solid var(--borde);
  background: none; color: var(--texto); font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.lista > :last-child { border-bottom: 0; }
.lista .detalle { font-size: 14px; color: var(--secundario); text-align: right; }

.tarjeta-servicio { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.tarjeta-servicio .arriba { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.boton-texto {
  border: 0; background: none; padding: 8px 0; color: var(--malva);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.destacado { background: var(--rosa); border-radius: 12px; padding: 10px 12px; }

.editor-dia { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 16px; border-bottom: 1px solid var(--borde); }
.franja { display: flex; gap: 8px; align-items: end; }
.franja .campo { flex: 1; }
.interruptor { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-weight: 700; }
.interruptor input { width: 24px; min-height: 24px; accent-color: var(--malva); }

.aviso-suave { background: var(--rosa); border-color: var(--rosa); font-size: 14px; line-height: 21px; }
.texto-politica { white-space: pre-line; font-size: 14px; line-height: 21px; margin: 0; }
.ok { color: var(--verde-texto); min-height: 1.4em; margin: 0; }

/* Menú de la profesional: Hoy, Agenda, Clientas, Cobros, Más. En el celular, barra abajo con ícono y nombre. */
body.con-barra { padding-bottom: 88px; }
.barra-inferior {
  position: fixed; left: 0; right: 0; bottom: 0; height: 72px; background: #fff;
  border-top: 1px solid var(--borde); display: flex; justify-content: center; z-index: 10;
}
.barra-inferior nav { width: 100%; max-width: 420px; display: flex; align-items: center; justify-content: space-around; }
.barra-inferior nav > a, .barra-inferior nav > span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12px; color: var(--secundario); text-decoration: none; padding: 6px 10px; border-radius: 14px;
}
.barra-inferior nav > span { opacity: 0.45; }
.barra-inferior nav > [aria-current="page"] { background: var(--rosa); color: var(--ciruela); font-weight: 700; }
.barra-inferior .barra-logo { display: none; }

/* Logo: ícono del calendario con tilde + "Cita Lista" en Manrope. */
.logo { display: flex; align-items: center; gap: 10px; color: var(--ciruela); text-decoration: none; }
.logo img { width: 44px; height: 44px; }
.logo span { font-family: "Manrope", "Inter", system-ui, sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.logo-chico img { width: 28px; height: 28px; }
.logo-chico span { font-size: 22px; }
.lema { font-size: 15px; color: var(--secundario); margin: -4px 0 0; }
.chip-amarillo { background: var(--amarillo-fondo); color: var(--amarillo-texto); }
.chip-gris { background: var(--gris-fondo); color: var(--gris-texto); }
.lista > a > span:first-child, .lista > button > b { white-space: nowrap; }

/* ---------- Computadora (pantallas de 900 px o más) ----------
   La misma app: el menú pasa a una columna a la izquierda, el contenido se ensancha,
   y las pantallas de ingreso y primeros pasos van en una tarjeta centrada. */
@media (min-width: 900px) {
  .pantalla { max-width: 680px; }
  .pantalla-completa { padding-top: 48px; }
  h1 { font-size: 32px; line-height: 38px; }

  /* Menú lateral */
  body.con-barra { padding-bottom: 0; padding-left: 248px; }
  .barra-inferior {
    top: 0; bottom: 0; right: auto; width: 248px; height: auto;
    border-top: 0; border-right: 1px solid var(--borde); justify-content: flex-start;
  }
  .barra-inferior nav {
    max-width: none; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 28px 16px;
  }
  .barra-inferior nav > .barra-logo { display: flex; flex-direction: row; gap: 10px; margin: 0 8px 24px; padding: 0; font-size: inherit; color: var(--ciruela); }
  .barra-inferior nav > a:not(.barra-logo), .barra-inferior nav > span {
    flex-direction: row; gap: 12px; font-size: 15px; padding: 12px 14px; border-radius: 12px;
  }
  .barra-inferior nav > a:not(.barra-logo):hover { background: var(--fondo); color: var(--ciruela); }
  .barra-inferior nav > [aria-current="page"]:hover { background: var(--rosa); }

  /* Pantallas sin menú (ingresar, activar, recuperar, primeros pasos, link público): tarjeta centrada. */
  body:not(.con-barra) > .pantalla-completa:not(.pantalla-centrada),
  body.tarjeta-centrada > .pantalla {
    max-width: 520px; min-height: 0; margin: 48px auto; padding: 36px 40px;
    background: #fff; border: 1px solid var(--borde); border-radius: 24px;
    box-shadow: 0 12px 40px rgba(66, 45, 70, 0.06);
  }

  /* Inicio en dos columnas: marca a la izquierda, botones a la derecha. */
  .pantalla.inicio { max-width: 1040px; display: grid; min-height: 100vh; padding: 48px; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
  .inicio .inicio-acciones {
    margin-top: 0 !important; background: #fff; border: 1px solid var(--borde); border-radius: 24px; padding: 32px;
    display: flex; flex-direction: column; gap: 14px; box-shadow: 0 12px 40px rgba(66, 45, 70, 0.06);
  }
  .inicio h1 { font-size: 44px; line-height: 52px; }
  .inicio .logo img { width: 56px; height: 56px; }
  .inicio .logo span { font-size: 44px; }
}

/* ---------- Fase 4: pedido de turno de la clienta ---------- */
.negocio-nombre { font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 18px; font-weight: 800; color: var(--malva); margin: 0; }
.paso-texto { font-size: 13px; line-height: 18px; color: var(--secundario); margin: 0; }

/* Tarjeta que se elige (servicio). */
.opcion {
  display: block; width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--texto);
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 16px;
}
.opcion b { font-size: 16px; }
.opcion .nota { margin-top: 4px; font-size: 14px; }
.opcion[aria-pressed="true"] { background: var(--rosa); border-color: var(--malva); }

/* Días: fila que se desliza de costado. */
.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; }
.dia {
  flex: 0 0 64px; min-height: 60px; scroll-snap-align: start; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font: inherit; font-size: 13px; color: var(--secundario);
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
}
.dia b { font-size: 17px; color: var(--texto); }
.dia[aria-pressed="true"] { background: var(--malva); border-color: var(--malva); color: #fff; }
.dia[aria-pressed="true"] b { color: #fff; }
.dia:disabled { opacity: 0.4; cursor: default; }

/* Horarios: grilla de 3 columnas (4 en computadora). */
.horarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.horario {
  min-height: 48px; cursor: pointer; font: inherit; font-size: 16px; color: var(--texto);
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
}
.horario[aria-pressed="true"] { background: var(--rosa); border-color: var(--malva); color: var(--malva); font-weight: 700; }
.horario:disabled { background: var(--gris-fondo); color: var(--secundario); cursor: default; text-decoration: line-through; }

.aviso-sena { background: var(--amarillo-fondo); color: var(--amarillo-texto); border-radius: var(--radio); padding: 12px 16px; font-size: 14px; line-height: 20px; margin: 0; }
.chip-amarillo-solo { align-self: flex-start; background: var(--amarillo-fondo); color: var(--amarillo-texto); border-radius: 14px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.oculto-para-personas { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 900px) {
  .horarios { grid-template-columns: repeat(4, 1fr); }
}

/* Panel del mes en Hoy (como en el tablero de marca). */
.panel-mes { display: flex; flex-direction: column; gap: 10px; }
.panel-mes h2 { margin: 0; font-size: 18px; }
.panel-mes h2::first-letter { text-transform: uppercase; }
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--rosa); border-radius: var(--radio); padding: 16px 4px; }
.cifra { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 0 6px; color: var(--ciruela); }
.cifra + .cifra { border-left: 1px solid #E2C9D5; }
.cifra [data-icono] { color: var(--malva); display: flex; }
.cifra b { font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.cifra > span:last-child { font-size: 12px; line-height: 16px; color: var(--secundario); }
.fila-dato { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--borde); }
.opcion:disabled { opacity: 0.5; cursor: default; }

/* Cifra principal del panel: la plata reservada del mes, grande y en Ciruela. */
.cifra-principal {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--ciruela); color: #fff; border-radius: 20px; padding: 20px 20px 18px;
  background-image: radial-gradient(circle at 100% 0%, rgba(167, 124, 150, 0.45), transparent 55%);
}
.cifra-etiqueta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #EADBE3; }
.cifra-etiqueta [data-icono] { display: flex; color: #EADBE3; }
.cifra-principal b {
  font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 44px; font-weight: 800;
  line-height: 1; letter-spacing: -0.03em;
}
.cifra-detalle { font-size: 14px; color: #EADBE3; }
.panel-mes .cifras { padding: 18px 4px; }

@media (min-width: 900px) {
  .cifra-principal b { font-size: 56px; }
  .cifra b { font-size: 36px; }
}
/* Casilla (por ejemplo, recibir ofertas y novedades). Nunca viene marcada. */
.ajuste-sellos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.boton-mini { min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--borde); background: #fff; color: var(--texto); font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; }
.boton-mini:disabled { opacity: .45; cursor: default; }
.casilla { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 15px; color: var(--texto); cursor: pointer; }
.casilla input { width: 22px; min-height: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--malva); }
/* Check redondo grande (por ejemplo, después de avisar que transfirió la seña). */
.check-grande {
  align-self: center; width: 88px; height: 88px; border-radius: 50%; margin-top: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--verde-fondo); color: var(--verde-texto); box-shadow: 0 0 0 10px rgba(108, 136, 117, 0.12);
}

/* ---------- Fase 5: gestión de turnos ---------- */
.fila-detalle { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 32px; font-size: 14px; }
.fila-detalle b { text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opcion {
  min-height: 40px; padding: 0 14px; border-radius: 20px; cursor: pointer; font: inherit; font-size: 14px;
  background: #fff; border: 1px solid var(--borde); color: var(--secundario);
}
.chip-opcion[aria-pressed="true"] { background: var(--rosa); border-color: var(--malva); color: var(--ciruela); font-weight: 700; }
textarea {
  display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--borde); border-radius: 12px;
  background: #fff; color: var(--texto); font: inherit; font-size: 16px; line-height: 24px; resize: vertical;
}
textarea:focus { outline: 2px solid var(--malva); outline-offset: 1px; }

/* Listas de Hoy: solicitudes, señas y próximos turnos. */
.seccion-hoy { display: flex; flex-direction: column; gap: 8px; }
.seccion-hoy h2 { margin: 8px 0 0; font-size: 18px; }
.item-turno {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--texto);
  background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 12px 16px;
}
.item-turno:hover { border-color: var(--malva-marca); }
.item-turno .nota { margin-top: 2px; font-size: 13px; }
.item-turno .flecha { color: var(--malva); font-weight: 700; }

/* ---------- Agenda ---------- */
.cabecera { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cabecera h1 { margin: 0; }
.boton-mas {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--malva); color: #fff; font-size: 28px; line-height: 1; text-decoration: none;
}
.navegar-semana { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.navegar-semana button { width: 44px; height: 44px; border: 0; background: none; color: var(--malva); font-size: 22px; cursor: pointer; }
.vista-agenda { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vista-agenda .chip-opcion { text-decoration: none; display: inline-flex; align-items: center; }
.vista-agenda .derecha { margin-left: auto; }

.semana { --alto-hora: 40px; position: relative; display: grid; gap: 0 4px; }
.semana .cabeza-dia {
  text-align: center; font-size: 12px; color: var(--secundario); padding: 4px 0; border: 0; background: none;
  font-family: inherit; cursor: pointer; border-radius: 8px;
}
.semana .cabeza-dia b { display: block; font-size: 15px; color: var(--texto); }
.semana .cabeza-dia.hoy { color: var(--malva); }
.semana .cabeza-dia.hoy b { color: var(--malva); }
.semana .horas { position: relative; }
.semana .hora-linea { position: absolute; left: 0; right: 0; border-top: 1px solid var(--borde); }
.semana .hora-texto { position: absolute; left: 0; font-size: 11px; color: var(--secundario); transform: translateY(-50%); }
/* Fuera del horario de atención: rayitas suaves. Dentro: liso, del color de la app (hoy, con un rosa suave). */
.semana .columna, .rayas-cerrado {
  position: relative; border-radius: 8px;
  background: repeating-linear-gradient(135deg, rgba(66, 45, 70, 0.07) 0 2px, transparent 2px 7px);
}
.semana .franja-abierta { position: absolute; left: 0; right: 0; background: var(--fondo); }
.semana .columna.hoy .franja-abierta { background: #F5EAEB; } /* Rosa suave, liso (sin que se vean las rayitas) */
.semana .hora-linea { z-index: 0; }
.semana .bloque { z-index: 1; }
.bloque {
  position: absolute; left: 1px; right: 1px; border-radius: 8px; padding: 3px 4px; overflow: hidden;
  font-size: 12px; font-weight: 700; line-height: 14px; text-decoration: none; cursor: pointer; border: 0; text-align: left;
  font-family: inherit;
}
.bloque { display: flex; align-items: flex-start; }
.bloque.confirmado, .bloque.completado { background: var(--verde-fondo); color: var(--verde-texto); }
.bloque.sena { background: var(--amarillo-fondo); color: var(--amarillo-texto); }
.bloque.solicitud { background: #fff; border: 1.5px dashed var(--malva); color: var(--malva); }
.bloque.bloqueo { background: var(--gris-fondo); color: var(--gris-texto); }
.bloque.no-asistio { background: var(--gris-fondo); color: var(--gris-texto); text-decoration: line-through; }
.leyenda { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--secundario); }
.leyenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

@media (min-width: 900px) {
  .semana { --alto-hora: 54px; }
  .bloque { font-size: 13px; }
}

/* ---------- Cobros ---------- */
.cifra-media { font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.item-turno.aviso-suave { background: var(--rosa); border-color: var(--rosa); }

/* Pregunta del comienzo: independiente o local con empleadas. */
.opcion-modo { margin: 0; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; cursor: pointer;
  font: inherit; color: var(--texto); border: 2px solid var(--borde); }
.opcion-modo b { font-family: "Manrope", "Inter", system-ui, sans-serif; font-size: 17px; }
.opcion-modo[aria-pressed="true"] { border-color: var(--malva); background: #F5EAEB; }
.con-quien { font-size: 12px; font-weight: 600; color: var(--malva); }

/* Prueba gratis (pantalla Hoy) */
.aviso-prueba { background: linear-gradient(135deg, var(--rosa) 0%, #F7EEF1 100%); border-color: transparent; }
.aviso-prueba-chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--malva); background: #fff; border-radius: 999px; padding: 4px 10px; }
.aviso-prueba-titulo { margin: 10px 0 4px; font: 800 20px/26px Manrope, system-ui, sans-serif; color: var(--ciruela); }
.aviso-prueba-texto { margin: 0 0 14px; font-size: 14px; line-height: 21px; color: var(--secundario); }
.aviso-prueba .boton { width: 100%; }
.aviso-prueba.urgente { background: linear-gradient(135deg, #F7DCD6 0%, #FBEDEA 100%); }
.aviso-prueba.urgente .aviso-prueba-chip { color: #B4474F; }
.aviso-prueba-logros { margin: -6px 0 10px; font-size: 14px; line-height: 21px; color: var(--texto); font-weight: 600; }
.aviso-prueba-regalo { margin: 0 0 14px; padding: 10px 12px; background: #fff; border-radius: 12px; font-size: 14px; line-height: 20px; color: #2F5B3A; }

/* Ejemplos de servicios por rubro (primeros pasos) */
.ejemplos-rubro { display: flex; flex-direction: column; gap: 8px; }
.ejemplos-rubro .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ejemplos-rubro .chip { border: 1px solid var(--borde); background: var(--tarjeta); color: var(--texto); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 40px; }
.ejemplos-rubro .chip:hover { border-color: var(--malva-marca); color: var(--malva-marca); }

/* Horarios: elegir entre turnos fijos o rango horario */
.opciones-horario { display: grid; gap: 8px; margin: 0 0 12px; }
.opcion-horario { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--borde); border-radius: 14px; background: #fff; cursor: pointer; }
.opcion-horario input { width: 20px; height: 20px; min-height: 0; flex: 0 0 20px; margin: 2px 0 0; padding: 0; accent-color: var(--malva, #875A79); }
.opcion-horario.elegida { border-color: var(--malva, #875A79); background: #FBF5F8; }
.ejemplo-horario { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #F0DEE5; color: #422D46; font-size: 13px; font-weight: 600; }
