#cs-bot-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 9999;
}
#cs-bot-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 340px;
    max-height: 70vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
#cs-bot-header {
    padding: 10px 14px;
    background: #111827;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
#cs-bot-messages {
    padding: 10px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1.3vh;
}
#cs-bot-footer {
    padding: 8px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 6px;
}
#cs-bot-input {
    flex: 1;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
}
#cs-bot-send {
    border-radius: 999px;
    border: none;
    background: #111827;
    color: #fff;
    font-size: 13px;
    padding: 0 12px;
    cursor: pointer;
}
.msg {
    padding: 8px 10px;
    border-radius: 16px;
    max-width: 90%;
    line-height: 1.3;
}
.msg.bot {
    background: #f3f4f6;
    align-self: flex-start;
}
.msg.user {
    background: #e5f2ff;
    align-self: flex-end;
}

#cs-bot-chat .bot-hours {
    display: flex;
    flex-direction: column;
    align-content: space-around;
    align-items: center;
    row-gap: 3px;
    margin-top: 22px;
}

#cs-bot-chat .bot-hours .content-hours {
    display: flex;
    column-gap: 5px;
    justify-content: space-between;
}

#cs-bot-chat .bot-hours .content-hours label {
    background-color: #5f9ea0;
    font-size: 12px;
    border: solid 1px #0e6467;
    border-radius: 10px;
    padding: 4px;
    color: white;
}

#cs-bot-chat .bot-hours .content-hours .box-hour:hover {
  border-color: #caa56a;
  background-color: #faf5ef;
  color: black;
}

#cs-bot-chat .bot-hours .content-hours .box-hour-selected {
  background-color: #caa56a !important;
  color: white !important;
  border-color: #a8874f !important;
  transform: scale(1.05);
}

.btn-service 
{
    height: auto;
    width: 90%;
    color: black;
    background-color: #f3f4f6;
    cursor: pointer;
    border-color: transparent;
    margin: 0;
    font-size: 12px;
}

.content-service 
{
    display: flex;
    row-gap: 5px;
    flex-direction: column;
}

.msgWellcome, .msg
{
    font-size: 0.8rem;
}

/* SOLO el calendario del bot */
.cs-bot-flatpickr .flatpickr-day {
  height: 42px;
  line-height: 42px;
  max-width: 42px;
  border-radius: 10px;
  font-size: 14px;
}

.cs-bot-flatpickr .flatpickr-weekday {
  font-size: 12px;
  font-weight: 600;
}

.cs-bot-flatpickr .flatpickr-day.flatpickr-disabled,
.cs-bot-flatpickr .flatpickr-day.disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

/* Asegura que el popup del bot permita que cosas "sobresalgan" */
#cs-bot-chat {
  overflow: visible !important;
}

/* El wrapper del datepicker debe permitir overflow visible */
#cs-bot-datepicker-wrap {
  position: relative;
  overflow: visible !important;
  z-index: 9999; /* encima del contenido del bot */
}

/* Asegura que el contenedor de flatpickr del bot quede encima */
#cs-bot-datepicker-wrap .flatpickr-calendar {
  z-index: 10000 !important;
}

/* y si usas tu clase exclusiva */
.cs-bot-flatpickr {
  z-index: 10000 !important;
}

/* SOLO el calendario del bot */
#cs-bot-datepicker-wrap .flatpickr-calendar{
  transform: scale(0.70);
  transform-origin: top center;
}
#cs-bot-datepicker-wrap{
  height: 160px; /* ajusta */
  overflow: hidden; /* opcional para que no se salga */
}

/* Oculta SOLO el input del calendario del bot */
#cs-bot-datepicker-wrap input {
  display: none !important;
}

#cs-bot-input.is-locked {
  opacity: 0.7;
  cursor: not-allowed;
}

#cs-bot-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.cs-bot-header-button {
  background: transparent;
  border: none;
  cursor: pointer;
  height: 0;
  width: auto;
  margin: 0 3px;
}

#cs-bot-minimize:hover {
  font-size: 15px !important;
}

#cs-bot-close:hover {
  font-size: 16px !important;
}

#cs-bot-minimize {
  color: #09f20f;
  font-weight: 900;
  font-size: 11px;
}

#cs-bot-close {
  color: red;
  font-weight: 900;
  font-size: 13px;
}


