/* Ocultar elementos por defecto del tema */
header.site-header,
header.page-header,
h1.entry-title {
  display: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f7fb;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}

/* ======================================================
LAYOUT
====================================================== */

.barber-booking {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px 100px;
}

.card {
  background: #fff;
  border-radius: 36px;
  padding: 40px;
  margin-bottom: 25px;
  border: 1px solid #ececec;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
  animation: fadeUp .25s ease;
  scroll-margin-top: 40px; /* Margen para el auto-scroll */
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
CABECERAS Y ANIMACIÓN PASO ACTIVO
====================================================== */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  color: #000;
  transition: color 0.3s ease;
}

@keyframes pulseHint {
  0% { 
    color: rgba(54, 153, 254, 0.5); 
    text-shadow: none; 
  }
  50% { 
    color: rgba(54, 153, 254, 1); 
    text-shadow: 0 0 15px rgba(54, 153, 254, 0.6); 
  }
  100% { 
    color: rgba(54, 153, 254, 0.5); 
    text-shadow: none; 
  }
}

.section-title.step-active {
  color: #3699fe;
  display: inline-block;
  animation: pulseHint 2s infinite ease-in-out;
}

.modify-btn {
  background: #f0f7ff;
  border: 1px solid #cce4ff;
  color: #3699fe;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: .2s;
}

.modify-btn:hover {
  background: #eef8ff;
}

/* ======================================================
SERVICIOS
====================================================== */
/* ======================================================
   ANIMACIÓN "SERVICIOS / ELIGE" (Añadido)
====================================================== */

/* Contenedor principal de la tarjeta de precios de la home */
.home-tarjeta-servicios {
    background: #fff;
    width: 100%; 
    max-width: 420px;
    border-radius: 36px; /* Ajustado para coincidir con tu .card */
    padding: 40px;      /* Ajustado para coincidir con tu .card */
    box-shadow: 0 10px 40px rgba(0,0,0,.05); /* Ajustado a tu box-shadow */
    border: 1px solid #ececec; /* Ajustado a tu borde */
    margin: 0 auto; 
    font-family: Arial, Helvetica, sans-serif; /* Tu fuente global */
}

/* ======================================================
   ANIMACIÓN TÍTULO SERVICIOS (NEÓN AZUL Y ROJO)
====================================================== */

.contenedor-animacion-bucle-limpio {
    width: 100%; 
    display: flex; 
    justify-content: flex-start !important; /* Forzamos alineación a la izquierda */
    align-items: center;
    margin-bottom: 5px; /* Ajustamos el espacio con los botones */
}

.efecto-corte-bucle-limpio {
    margin: 0; padding: 0; position: relative;
    font-size: 38px; 
    font-weight: 900; 
    color: transparent; 
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif; 
    display: inline-block; 
    height: 1.2em;
    background: transparent;
    text-shadow: none;
    text-align: left; /* Aseguramos que el texto parta desde la izquierda */
}

/* Palabra base invisible */
.efecto-corte-bucle-limpio span:nth-child(1) {
    visibility: hidden;
    display: block;
}

/* MITAD SUPERIOR (Azul claro neón) */
.efecto-corte-bucle-limpio span:nth-child(2){
    position: absolute; top: 0; left: 0; right: 0;
    color: #00d4ff; 
    background: transparent;
    text-shadow: none;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
    overflow: hidden;
    text-align: left;
    animation: openingTop 6s ease-in-out infinite;
}

/* MITAD INFERIOR (Azul claro neón) */
.efecto-corte-bucle-limpio span:nth-child(3){
    position: absolute; top: 0; left: 0; right: 0;
    color: #00d4ff; 
    background: transparent;
    text-shadow: none;
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
    overflow: hidden;
    text-align: left;
    animation: openingBottom 6s ease-in-out infinite;
}

/* PALABRA CENTRAL "ELIGE" (Rojo/Fucsia neón) */
.efecto-corte-bucle-limpio span:nth-child(4){
    position: absolute; top: 50%; left: 0;
    transform: translateY(-50%) scaleY(0);
    width: 100%; 
    color: #ff005e; 
    background: transparent; 
    text-shadow: none;
    font-size: 0.4em; 
    font-weight: 900; 
    letter-spacing: 0.4em; 
    padding-left: 0.2em; 
    text-align: center;
    z-index: 10; 
    animation: showingElige 6s ease-in-out infinite;
}

/* --- ESTADO PAUSADO (Cuando se selecciona un servicio) --- */
.efecto-corte-bucle-limpio.animacion-pausada span {
    animation: none !important; /* Apaga todas las animaciones */
}
/* Al pausar, devolvemos las dos mitades azules a su sitio para que se lea "SERVICIOS" */
.efecto-corte-bucle-limpio.animacion-pausada span:nth-child(2),
.efecto-corte-bucle-limpio.animacion-pausada span:nth-child(3) {
    transform: translateY(0) !important; 
}
/* Al pausar, ocultamos la palabra roja "ELIGE" */
.efecto-corte-bucle-limpio.animacion-pausada span:nth-child(4) {
    transform: translateY(-50%) scaleY(0) !important;
    opacity: 0 !important;
}

/* --- KEYFRAMES DEL BUCLE --- */
@keyframes openingTop {
    0%, 33%, 100% { transform: translateY(0); } 
    42%, 75% { transform: translateY(-14px); }  
}

@keyframes openingBottom {
    0%, 33%, 100% { transform: translateY(0); } 
    42%, 75% { transform: translateY(14px); }   
}

@keyframes showingElige {
    0%, 33%, 100% { transform: translateY(-50%) scaleY(0); opacity: 0; } 
    42%, 75% { transform: translateY(-50%) scaleY(1); opacity: 1; } 
}

/* --- LISTA DE SERVICIOS (HOME) --- */
.home-lista-servicios { 
    display: flex; flex-direction: column; gap: 12px; 
}

.home-item-servicio {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; 
    border: 1px solid #e2e8f0; /* Igual al borde de .service-block */
    border-radius: 14px;      /* Igual al radius de .service-block */
    background-color: #fff;
    transition: all 0.2s ease;
}

.home-item-servicio:hover {
    border-color: #7ec8FF;
    background: #eef8ff;
}

.home-info-servicio { 
    display: flex; align-items: center; 
    font-size: 18px; /* Igual que .service-name */
    font-weight: 700; color: #000; 
}

.home-icono { 
    font-size: 1.2rem; width: 20px; display: flex; justify-content: center; 
}

.home-separador { 
    margin: 0 10px; font-weight: bold; color: #000; 
}

.home-precio-servicio { 
    font-size: 18px; /* Igual que .service-price */
    font-weight: 900; color: #000; 
}




.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.service-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #000;
}

.service-block:hover {
  border-color: #7ec8FF;
  background: #eef8ff;
}

.service-block.active {
  background: #7ec8FF !important;
  border: 2px solid #3699fe !important;
  box-shadow: 0 4px 15px rgba(54,153,254,.18);
}

.service-name,
.service-price {
  font-size: 18px;
  font-weight: 700;
}

.service-price {
  font-weight: 900;
}

/* ======================================================
INPUTS Y VALIDACIONES
====================================================== */

input {
  width: 100%;
  height: 82px;
  border-radius: 22px;
  border: 2px solid #ececec;
  padding: 0 24px;
  font-size: 20px;
  font-weight: 700;
  outline: none;
  background: #fff;
  transition: 0.2s;
}

input:focus {
  border-color: #3699fe;
}

.hidden {
  display: none !important;
}

/* Validaciones y Error Teléfono */
.input-error {
    border-color: #ff3b3b !important;
    background-color: #fff5f5 !important;
    animation: shakeError 0.3s ease-in-out;
}

.error-msg {
    color: #ff3b3b;
    font-size: 14px;
    font-weight: 800;
    margin-top: 8px;
    margin-left: 20px;
    display: none; 
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

/* ======================================================
HORAS Y BARBEROS
====================================================== */

.time-row {
  background: #fff;
  border-radius: 22px;
  padding: 16px 24px;
  margin-bottom: 10px;
  border: 2px solid #f1f1f1;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.time-label {
  font-size: 32px;
  font-weight: 900;
  min-width: 100px;
  color: #333;
}

.time-barbers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  width: 100%;
}

.time-btn {
  flex: 1;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  padding: 14px 10px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: #059669;
  transition: .2s;
  text-align: center;
}

.time-btn:hover {
  background: #d1fae5;
  border-color: #34d399;
  transform: translateY(-2px);
}

.hour-selected,
.time-btn.hour-selected {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(5,150,105,.25);
}

.time-btn-disabled {
  background: #fff0f3 !important;
  border-color: #ffb3c6 !important;
  color: #FF577B !important;
  opacity: .6 !important;
  pointer-events: none;
}

/* ======================================================
BOTÓN RESERVAR
====================================================== */

.reserve-btn {
  width: 100%;
  height: 84px;
  border: none;
  border-radius: 24px;
  background: #3699fe;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 30px;
  transition: 0.2s;
}

/* ======================================================
FLATPICKR DESKTOP
====================================================== */

.flatpickr-input {
  display: none !important;
}

.flatpickr-calendar {
  width: 100% !important;
  max-width: 100% !important;
  background: #fff !important;
  border: none !important;
  border-radius: 34px !important;
  padding: 18px 14px 14px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,.08) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  position: relative !important;
}

.flatpickr-innerContainer,
.flatpickr-rContainer,
.flatpickr-days {
  width: 100% !important;
}

.flatpickr-innerContainer {
  padding-bottom: 75px !important;
}

.flatpickr-months {
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 60px !important;
  position: relative !important;
}

.flatpickr-current-month {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: auto !important;
  min-width: max-content !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.flatpickr-current-month .cur-month,
.flatpickr-current-month .cur-year {
  font-size: 22px !important;
  font-weight: 900 !important;
}

.flatpickr-current-month input.cur-year {
  width: 72px !important;
  min-width: 72px !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 20 !important;
}

.flatpickr-prev-month {
  left: 0 !important;
}

.flatpickr-next-month {
  right: 0 !important;
}

.flatpickr-prev-month .nav-btn,
.flatpickr-next-month .nav-btn {
  font-size: 24px !important;
  color: #000 !important;
}

.flatpickr-weekdays {
  margin-bottom: 16px !important;
}

.flatpickr-weekdaycontainer {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  width: 100% !important;
}

.flatpickr-weekday {
  width: 100% !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #333 !important;
}

.flatpickr-weekday.selected-weekday {
  background: #7ec8FF !important;
  border: 2px solid #3699fe !important;
  color: #000 !important;
  border-radius: 14px !important;
  padding: 8px 0 !important;
  transition: .2s;
}

.dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 14px !important;
}

.flatpickr-day {
  width: 100% !important;
  max-width: 100% !important;
  height: 65px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 12px !important;
  border: 1px solid #ececec !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #333 !important;
  transition: .2s;
}

.flatpickr-day:hover {
  background: #eef8ff !important;
}

.flatpickr-day:nth-child(7n) {
  background: #fff5f7 !important;
  border: 1px solid #ffd6de !important;
  color: #ff3b3b !important;
}

.flatpickr-day.today {
  border: 2px solid #000 !important;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #d3d3d3 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #7ec8FF !important;
  border: 2px solid #3699fe !important;
  color: #000 !important;
}

.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ======================================================
BOTÓN IR A HOY
====================================================== */

.calendar-today-btn{
  position:absolute;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:calc(100% - 60px);
  height:58px;
  border-radius:18px;
  border:1px solid #ececec;
  background:#fff;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
}

.today-icon{
  width:18px;
  height:18px;
  border:2px solid #000;
  border-radius:5px;
}

/* ======================================================
RESPONSIVE MÓVIL
====================================================== */

@media(max-width:768px){
  .barber-booking {
    padding: 20px 10px 50px !important;
  }
  .card {
    padding: 18px !important;
    margin-bottom: 15px !important;
    border-radius: 28px !important;
  }
  .section-header {
    margin-bottom: 6px !important;
  }
  .section-title {
    font-size: 24px !important;
    line-height: 1.1 !important;
  }
  .modify-btn {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }
  .services-list {
    gap: 10px !important;
  }
  .service-block {
    padding: 14px 16px !important;
    border-radius: 16px !important;
  }
  .service-name,
  .service-price {
    font-size: 15px !important;
  }
  input {
    height: 50px !important;
    font-size: 15px !important;
    border-radius: 14px !important;
    padding: 0 14px !important;
  }
  .flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 14px 10px 10px !important;
    border-radius: 28px !important;
    box-shadow: none !important;
  }
  .flatpickr-innerContainer {
    padding-bottom: 8px !important;
  }
  .flatpickr-months {
    margin-top: -8px !important;
    height: 58px !important;
    margin-bottom: 4px !important;
  }
  .flatpickr-current-month,
  .flatpickr-current-month .cur-month,
  .flatpickr-current-month .cur-year {
    font-size: 22px !important;
    font-weight: 900 !important;
  }
  .flatpickr-current-month {
    gap: 8px !important;
  }
  .flatpickr-current-month input.cur-year {
    width: 80px !important;
    min-width: 80px !important;
  }
  .flatpickr-prev-month,
  .flatpickr-next-month {
    width: 36px !important;
    height: 36px !important;
  }
  .flatpickr-prev-month .nav-btn,
  .flatpickr-next-month .nav-btn {
    font-size: 24px !important;
  }
  .flatpickr-weekdays {
    margin-bottom: 6px !important;
  }
  .flatpickr-weekday {
    font-size: 13px !important;
  }

  .flatpickr-weekday.selected-weekday {
    background: #7ec8FF !important;
    color: #000 !important;
    border-radius: 10px !important;
    padding: 4px 0 !important;
    transition: .2s;
  }

  .dayContainer {
    gap: 4px !important;
    padding: 0 6px !important;
  }

  .flatpickr-day {
    height: 44px !important;
    max-width: 44px !important;
    margin: auto !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    border: 1px solid #f1f1f1 !important;
  }

  .flatpickr-day.today {
    border: 2px solid #000 !important;
  }

  .flatpickr-day.selected,
  .flatpickr-day.selected:hover {
    background: #7ec8FF !important;
    border: 2px solid #3699fe !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  .flatpickr-day:nth-child(7n) {
    background: #fff7f8 !important;
    border: 1px solid #ffe0e6 !important;
    color: #ff3b3b !important;
  }

  .calendar-today-btn {
    bottom: 8px;
    width: calc(100% - 40px);
    height: 46px;
    border-radius: 16px;
    font-size: 14px;
    gap: 8px;
  }

  .today-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }

  .time-row {
    padding: 12px 10px !important;
    gap: 10px !important;
    border-radius: 18px !important;
  }
  .time-label {
    font-size: 18px !important;
    min-width: 55px !important;
  }
  .time-barbers {
    gap: 6px !important;
  }
  .time-btn {
    padding: 12px 2px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
  }
  .time-btn:hover {
    transform: none !important;
  }
}

/* ======================================================
MINI SEMANA REAL
====================================================== */

.calendar-collapsed .flatpickr-prev-month,
.calendar-collapsed .flatpickr-next-month {
    display: none !important;
}

.calendar-collapsed.flatpickr-calendar,
.calendar-collapsed .flatpickr-innerContainer,
.calendar-collapsed .flatpickr-rContainer,
.calendar-collapsed .flatpickr-days {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
}

.calendar-collapsed .calendar-today-btn {
  display: none !important;
}

.calendar-collapsed .flatpickr-months {
  display: flex !important; 
  height: 45px !important; 
  margin-bottom: 10px !important;
}

.calendar-collapsed .flatpickr-weekdays {
    margin-bottom: 5px !important;
    height: auto !important; 
    overflow: visible !important; 
}

.calendar-collapsed .flatpickr-weekdaycontainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    padding: 5px 10px !important;
    box-sizing: border-box !important;
    gap: 0 !important; 
    height: auto !important; 
    overflow: visible !important;
}

.calendar-collapsed .dayContainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #ececec !important;
    border-radius: 24px !important;
    background: #fff !important;
    overflow: visible !important;
    gap: 0 !important;
    box-sizing: border-box !important;
}

.calendar-collapsed .flatpickr-weekday {
    all: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    margin: 0 auto !important; 
    padding: 0 !important; 
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #333 !important;
    box-sizing: border-box !important;
    transition: .2s;
}

.calendar-collapsed .flatpickr-weekday.selected-weekday {
    background: #7ec8FF !important;
    border: 2px solid #3699fe !important;
    color: #000 !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(54,153,254,.3) !important;
    transform: scale(1.05);
}

.calendar-collapsed .flatpickr-day {
  display: none !important;
}

.calendar-collapsed .flatpickr-day.week-visible {
  all: unset;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important; 
  height: 40px !important;
  margin: 0 auto !important; 
  background: #fff !important;
  border-radius: 14px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #222 !important;
  box-sizing: border-box !important;
  transition: .2s;
}

.calendar-collapsed .flatpickr-day.selected {
  background: #7ec8FF !important; 
  border: 2px solid #3699fe !important; 
  color: #000 !important; 
  box-shadow: 0 4px 12px rgba(54,153,254,.3) !important;
  transform: scale(1.05);
}

.calendar-collapsed .flatpickr-day.week-visible:nth-child(7n) {
  background: #fff5f7 !important;
  border: 1px solid #ffd6de !important;
  color: #ff3b3b !important;
}

.calendar-collapsed .flatpickr-day.week-visible.selected:nth-child(7n) {
  background: #7ec8FF !important;
  border: 2px solid #3699fe !important;
  color: #000 !important;
}

.time-label, 
.time-btn {
    font-size: 15px !important;
    font-weight: 700 !important;
}

.time-label {
    width: 25% !important; 
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 5px !important;
    border: 1px solid transparent !important;
    box-sizing: border-box !important;
}

.time-barbers {
    width: 75% !important; 
    display: flex !important;
    gap: 10px !important;
}

.time-btn {
    flex: 1 !important; 
    padding: 8px 5px !important;
}

.time-btn.hour-selected {
    background-color: #6ab6fc !important;
    color: rgb(0, 0, 0) !important;
    border-color: #3699fe !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
}

.time-label-selected {
    background-color: #6ab6fc !important;
    color: #000000 !important;
    border: 2px solid #3699fe !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15) !important;
}

.booking-summary-global{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:25px;
  margin-bottom:20px;
}

.summary-item{
  flex:1;
  min-width:95px;
  background:#bef4be;
  border:2px solid #28a745;
  border-radius:14px;
  padding:10px 12px;
  text-align:center;
  font-size:13px;
  font-weight:800;
  color:#111;
  transition:.25s ease;
}

.summary-item.empty{
  background:#f5f5f5;
  border-color:#e3e3e3;
  color:#999;
  opacity:.7;
}

@media(max-width:768px){
  .booking-summary-global{
    gap:8px;
  }
  .summary-item{
    font-size:12px;
    padding:9px 8px;
    border-radius:12px;
  }
}

/* Texto de error */
.error-msg {
  color: #ff3b3b;
  font-size: 12px;
  margin-top: 5px;
  display: block;
  font-weight: bold;
}

/* Efecto vibración */
.shake {
  animation: shake 0.4s;
  border: 1px solid #ff3b3b !important;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.midday-separator{

  width: 100%;

  text-align: center;

  background: #f3f3f3;

  border: 2px dashed #d8d8d8;

  color: #777;

  font-weight: 800;

  padding: 18px 10px;

  margin: 20px 0;

  border-radius: 16px;

  font-size: 15px;

  letter-spacing: 1px;

  box-sizing: border-box;

}

/* Asistentes bloqueados o que no dan el servicio */
.time-btn.time-btn-disabled {
    background-color: #ffe5e5 !important; /* Fondo rojo clarito */
    color: #ff3b3b !important;            /* Texto rojo fuerte */
    border: 1px solid #ff3b3b !important; /* Borde rojo */
    cursor: not-allowed !important;       /* Cursor de prohibido */
    opacity: 0.6;                         /* Un poco transparente */
    pointer-events: none;                 /* Evita clics indeseados */
}

/* ======================================================
   DÍAS FESTIVOS (AMELIA)
====================================================== */

/* Vista normal del calendario (Día festivo rojo) */
.flatpickr-calendar .flatpickr-day.is-holiday {
    color: #ff3b3b !important;
    border-color: #ffd6de !important;
    background: #fff5f7 !important;
}

.flatpickr-calendar .flatpickr-day.is-holiday:hover {
    background: #ffe0e6 !important;
    cursor: pointer !important;
}

/* Cuando el usuario clica el festivo y se selecciona */
.flatpickr-calendar .flatpickr-day.is-holiday.selected {
    background: #ff3b3b !important;
    border-color: #cc0000 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.3) !important;
}

/* Vista "Mini Semana Real" (Calendario colapsado) */
.calendar-collapsed .flatpickr-day.week-visible.is-holiday {
    color: #ff3b3b !important;
    border: 1px solid #ffd6de !important;
    background: #fff5f7 !important;
}

.calendar-collapsed .flatpickr-day.week-visible.is-holiday.selected {
    background: #ff3b3b !important;
    border-color: #cc0000 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 59, 59, 0.3) !important;
}