/* Lupo Rooms — calendario de reserva de la habitación.
   Bloque "Seleccionar fechas": cabecera con el tipo de contrato + explicación
   breve, selección de entrada → salida restringida por tipo (mensual /
   quincenal / diario). Los días no seleccionables salen en gris. La duración
   se calcula sola (sin stepper de meses). Marca Lupo. */

.lbc {
    font-family: "Montserrat", sans-serif;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

/* Cabecera: tipo de contrato + explicación */
.lbc-type {
    padding: 8px 14px;
    background: transparent;
    border-bottom: 1px solid #f4f0e9;
}
.lbc-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #78716c;
}
.lbc-type-badge .material-symbols-outlined { font-size: 14px; color: #a8a29e; }
.lbc-type-help { margin: 2px 0 0; font-size: 11px; line-height: 1.4; color: #a8a29e; }

/* Disparador / resumen de fechas */
.lbc-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0ece3;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.lbc-trigger .material-symbols-outlined { color: var(--clr-lupo-red, #b81f22); font-size: 20px; flex-shrink: 0; }
.lbc-trigger-main {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #1c1917;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lbc-caret { color: #a8a29e; font-size: 20px; transition: transform .2s; }
.lbc.is-open .lbc-caret { transform: rotate(180deg); }

/* Panel del calendario (se despliega) */
.lbc-panel { display: none; padding: 12px 14px 14px; }
.lbc.is-open .lbc-panel { display: block; }

/* Chips entrada / salida */
.lbc-steps { display: flex; gap: 8px; margin-bottom: 12px; }
.lbc-step {
    flex: 1;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 7px 10px;
    cursor: pointer;
    background: #fff;
}
.lbc-step.is-active { border-color: var(--clr-lupo-red, #b81f22); box-shadow: 0 0 0 1px var(--clr-lupo-red, #b81f22); }
.lbc-step-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: #a8a29e; letter-spacing: .03em; }
.lbc-step-value { font-size: 13px; font-weight: 700; color: #1c1917; margin-top: 1px; }
.lbc-step-value.is-empty { color: #c4bfb6; font-weight: 500; }

/* Navegación de mes */
.lbc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.lbc-title { font-weight: 700; font-size: 14px; color: #1c1917; text-transform: capitalize; }
.lbc-nav {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border: 1px solid #ece9e4; border-radius: 8px;
    background: var(--clr-lupo-lighter, #fefbf5); color: var(--clr-lupo-red, #b81f22);
    cursor: pointer;
}
.lbc-nav:hover:not(:disabled) { background: var(--clr-lupo-light, #f3eee2); }
.lbc-nav:disabled { color: #d6d3d1; background: #faf9f7; cursor: default; }
.lbc-nav .material-symbols-outlined { font-size: 18px; }

.lbc-dows, .lbc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.lbc-dow { text-align: center; font-size: 10px; font-weight: 700; color: #a8a29e; text-transform: uppercase; padding: 3px 0; }

.lbc-day {
    display: flex; align-items: center; justify-content: center;
    height: 36px; border: 0; border-radius: 8px; background: transparent;
    font-family: inherit; font-size: 13px; color: #1c1917; cursor: pointer;
}
.lbc-day.is-blank { visibility: hidden; cursor: default; }
.lbc-day:disabled { color: #d6d3d1; cursor: not-allowed; background: transparent; }
.lbc-day:hover:not(:disabled):not(.is-sel) { background: var(--clr-lupo-light, #f3eee2); }
.lbc-day.is-today { font-weight: 800; }
.lbc-day.is-in-range { background: var(--clr-lupo-light, #f3eee2); border-radius: 0; }
/* Vista previa al pasar el ratón sobre un día de salida válido */
.lbc-day.is-range-preview { background: var(--clr-lupo-light, #f3eee2); border-radius: 0; }
.lbc-day.is-preview { background: var(--clr-lupo-red, #b81f22); color: #fff; font-weight: 700; opacity: .85; }
.lbc-day.is-sel { background: var(--clr-lupo-red, #b81f22); color: #fff; font-weight: 700; }

.lbc-hint { margin-top: 10px; font-size: 11.5px; line-height: 1.4; color: #78716c; }
.lbc-hint b { color: var(--clr-lupo-red, #b81f22); }

/* Resumen de duración calculada */
.lbc-summary {
    margin-top: 10px; padding: 10px 12px; border-radius: 10px;
    background: var(--clr-lupo-lighter, #fefbf5); border: 1px solid #f0ece3;
    font-size: 13px; color: #1c1917;
}
.lbc-summary b { color: var(--clr-lupo-red, #b81f22); }
.lbc-summary[hidden] { display: none; }

@media (max-width: 360px) { .lbc-day { height: 33px; font-size: 12px; } }
