/* ===== iTechDev Brand Override para Cal.com v2 ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

/* Fuentes */
body, html, * {
  font-family: 'Open Sans', sans-serif !important;
}
h1, h2, h3, [class*="title"], [class*="Title"] {
  font-family: 'Orbitron', sans-serif !important;
  letter-spacing: 0.02em !important;
}

/* Día seleccionado — círculo negro → celeste */
[class*="bg-gray-900"], [class*="bg-black"],
button[aria-pressed="true"],
[aria-selected="true"],
[data-selected="true"] {
  background-color: #17A3DE !important;
  color: #ffffff !important;
}

/* Días disponibles hover */
[class*="bg-gray-100"]:hover,
button[aria-disabled="false"]:hover {
  background-color: rgba(23, 163, 222, 0.15) !important;
  color: #17A3DE !important;
}

/* Botones de slots (time slots) */
[data-testid*="time"],
button[class*="slot"],
[class*="Slot"] button,
[class*="slot"] button {
  border-color: #17A3DE !important;
  color: #17A3DE !important;
}
[data-testid*="time"]:hover,
button[class*="slot"]:hover {
  background-color: #17A3DE !important;
  color: #ffffff !important;
}

/* Botón confirmar reserva */
button[type="submit"],
button[data-testid="confirm-book-button"],
[class*="BookButton"] {
  background-color: #17A3DE !important;
  border-color: #3265AE !important;
  color: #ffffff !important;
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
}
button[type="submit"]:hover {
  background-color: #3265AE !important;
}

/* Links y acentos azul */
a:not([class*="logo"]) {
  color: #17A3DE !important;
}

/* Título del evento */
[class*="EventTitle"], h1, h2 {
  color: #17A3DE !important;
}

/* Nombre del organizador */
[class*="organizer"], [class*="Organizer"] {
  color: #3265AE !important;
  font-weight: 600 !important;
}

/* Quitar Cal.com branding */
[class*="powered"], [class*="PoweredBy"],
a[href*="cal.com"]:not([href*="meet.itechdev"]),
img[alt*="Cal.com"], img[src*="cal-logo"] {
  display: none !important;
}

/* Mes navegación — flechas y texto */
[class*="CalendarHeader"] [class*="text-"],
[class*="month"] {
  color: #17A3DE !important;
}

/* Punto indicador de disponibilidad */
[class*="bg-green-400"], [class*="bg-emerald"] {
  background-color: #17A3DE !important;
}

/* ===== Ocultar overlay calendar button ===== */
/* Selector por data-testid del toggle switch */
[data-testid="overlay-calendar-switch"],
[data-testid="overlay-calendar-toggle"],
/* Selector por el label texto (cualquier elemento que contenga ese text) */
label:has(input[type="checkbox"]) + div,
/* Switch de overlay en el calendario */
.CalendarSwitch,
[class*="overlay"] [role="switch"],
/* Contenedor del botón overlay */
div[class*="BookerSection"]:last-child > div:last-child > button:last-child {
  display: none !important;
}
