/**
 * LC Calendar Skin (2026-07-25) — piel ÚNICA de FullCalendar para las
 * pantallas del HOST, en el lenguaje visual del sitio (oscuro + dorado,
 * títulos DM Serif Display), tomando como referencia «Mis Calendarios».
 *
 * Ámbito: #lc-hotel-calendar (panel del hotel) y .lc-property-calendar
 * (calendario de la propiedad). El datepicker del huésped (booking-form)
 * tiene su propio estilo y NO se toca.
 */

/* ── Contenedor: tarjeta oscura «vidrio» sobre el fondo gris con
      estrellas del sitio (2026-07-25) ──────────────────────────── */
#lc-hotel-calendar,
.lc-property-calendar {
    background: rgba(20, 25, 31, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 196, 142, 0.25);
    border-radius: 16px;
    padding: 14px;
    min-height: 0;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Sensación APP en táctil: sin flash azul al tocar, sin zoom accidental,
   sin selección de texto al arrastrar el dedo por la rejilla. */
#lc-hotel-calendar,
#lc-hotel-calendar *,
.lc-property-calendar,
.lc-property-calendar * {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
#lc-hotel-calendar .fc-daygrid-day,
#lc-hotel-calendar .fc-col-header-cell,
.lc-property-calendar .fc-daygrid-day,
.lc-property-calendar .fc-col-header-cell {
    -webkit-user-select: none;
    user-select: none;
}

/* ── Rejilla ────────────────────────────────────────────────── */
#lc-hotel-calendar .fc-theme-standard td,
#lc-hotel-calendar .fc-theme-standard th,
#lc-hotel-calendar .fc-theme-standard .fc-scrollgrid,
.lc-property-calendar .fc-theme-standard td,
.lc-property-calendar .fc-theme-standard th,
.lc-property-calendar .fc-theme-standard .fc-scrollgrid {
    border-color: rgba(255, 255, 255, 0.07);
}

#lc-hotel-calendar .fc-col-header-cell-cushion,
.lc-property-calendar .fc-col-header-cell-cushion {
    color: var(--primary, #E2C48E);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 4px;
    text-decoration: none;
}

#lc-hotel-calendar .fc-daygrid-day-number,
.lc-property-calendar .fc-daygrid-day-number {
    color: #b9b2a2;
    font-size: 13px;
    padding: 6px 8px;
    text-decoration: none;
}

/* Día de HOY: halo dorado sutil */
#lc-hotel-calendar .fc-day-today,
.lc-property-calendar .fc-day-today {
    background: rgba(226, 196, 142, 0.10) !important;
}
#lc-hotel-calendar .fc-day-today .fc-daygrid-day-number,
.lc-property-calendar .fc-day-today .fc-daygrid-day-number {
    color: var(--primary, #E2C48E);
    font-weight: 700;
}

/* Días de otros meses, apagados */
#lc-hotel-calendar .fc-day-other .fc-daygrid-day-number,
.lc-property-calendar .fc-day-other .fc-daygrid-day-number {
    color: rgba(185, 178, 162, 0.35);
}

/* ── Cabecera / título ──────────────────────────────────────── */
#lc-hotel-calendar .fc-toolbar-title,
.lc-property-calendar .fc-toolbar-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--primary, #E2C48E);
    text-transform: capitalize;
}

#lc-hotel-calendar .fc-header-toolbar,
.lc-property-calendar .fc-header-toolbar {
    margin-bottom: 14px !important;
    gap: 8px;
}

/* ── Botones: píldoras del sitio ────────────────────────────── */
#lc-hotel-calendar .fc-button,
.lc-property-calendar .fc-button {
    background: transparent;
    border: 1px solid rgba(226, 196, 142, 0.45);
    color: var(--primary, #E2C48E);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: none !important;
    text-transform: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

#lc-hotel-calendar .fc-button:hover:not(:disabled),
.lc-property-calendar .fc-button:hover:not(:disabled) {
    background: rgba(226, 196, 142, 0.14);
    border-color: var(--primary, #E2C48E);
    color: var(--primary, #E2C48E);
}

#lc-hotel-calendar .fc-button-primary:not(:disabled).fc-button-active,
#lc-hotel-calendar .fc-button-primary:not(:disabled):active,
.lc-property-calendar .fc-button-primary:not(:disabled).fc-button-active,
.lc-property-calendar .fc-button-primary:not(:disabled):active {
    background: linear-gradient(180deg, #e2c48e, #c9a84c);
    border-color: #c9a84c;
    color: #20160a;
}

#lc-hotel-calendar .fc-button:disabled,
.lc-property-calendar .fc-button:disabled {
    background: transparent;
    border-color: rgba(226, 196, 142, 0.2);
    color: rgba(226, 196, 142, 0.4);
}

#lc-hotel-calendar .fc-prev-button,
#lc-hotel-calendar .fc-next-button,
.lc-property-calendar .fc-prev-button,
.lc-property-calendar .fc-next-button {
    padding: 7px 11px;
}

/* ── Eventos: chips redondeados legibles ────────────────────── */
#lc-hotel-calendar .fc-daygrid-event,
.lc-property-calendar .fc-daygrid-event {
    border: none;
    border-radius: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

#lc-hotel-calendar .fc-daygrid-event .fc-event-title,
.lc-property-calendar .fc-daygrid-event .fc-event-title {
    font-weight: 600;
}

#lc-hotel-calendar .fc-daygrid-more-link,
.lc-property-calendar .fc-daygrid-more-link {
    color: var(--primary, #E2C48E);
    font-size: 11px;
}

#lc-hotel-calendar .fc-popover,
.lc-property-calendar .fc-popover {
    background: #1a1f24;
    border: 1px solid rgba(226, 196, 142, 0.35);
    border-radius: 10px;
}
#lc-hotel-calendar .fc-popover-header,
.lc-property-calendar .fc-popover-header {
    background: rgba(226, 196, 142, 0.1);
    color: var(--primary, #E2C48E);
}

/* ── Vista de agenda (listMonth, móvil) ─────────────────────── */
#lc-hotel-calendar .fc-list,
#lc-hotel-calendar .fc .fc-list-table,
.lc-property-calendar .fc-list,
.lc-property-calendar .fc .fc-list-table {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.07);
}

#lc-hotel-calendar .fc .fc-list-day-cushion,
.lc-property-calendar .fc .fc-list-day-cushion {
    background: rgba(226, 196, 142, 0.08);
    color: var(--primary, #E2C48E);
    font-weight: 600;
}
#lc-hotel-calendar .fc .fc-list-day-text,
#lc-hotel-calendar .fc .fc-list-day-side-text,
.lc-property-calendar .fc .fc-list-day-text,
.lc-property-calendar .fc .fc-list-day-side-text {
    color: var(--primary, #E2C48E);
    text-decoration: none;
}

#lc-hotel-calendar .fc .fc-list-event td,
.lc-property-calendar .fc .fc-list-event td {
    border-color: rgba(255, 255, 255, 0.07);
    color: #e6e2d8;
    padding: 10px 12px;
    font-size: 14px;
}
#lc-hotel-calendar .fc .fc-list-event:hover td,
.lc-property-calendar .fc .fc-list-event:hover td {
    background: rgba(226, 196, 142, 0.08);
}
#lc-hotel-calendar .fc .fc-list-event-time,
.lc-property-calendar .fc .fc-list-event-time {
    color: #a79f8f;
}
#lc-hotel-calendar .fc .fc-list-empty,
.lc-property-calendar .fc .fc-list-empty {
    background: transparent;
    color: #a79f8f;
    padding: 24px;
}

/* ── Móvil ──────────────────────────────────────────────────── */
@media (max-width: 767px) {
    #lc-hotel-calendar,
    .lc-property-calendar {
        padding: 10px;
        border-radius: 12px;
    }
    #lc-hotel-calendar .fc-header-toolbar,
    .lc-property-calendar .fc-header-toolbar {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    #lc-hotel-calendar .fc-toolbar-title,
    .lc-property-calendar .fc-toolbar-title {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        order: -1;
    }
    #lc-hotel-calendar .fc-button,
    .lc-property-calendar .fc-button {
        min-height: 40px;
        padding: 8px 12px;
    }
    #lc-hotel-calendar .fc-daygrid-day-number,
    .lc-property-calendar .fc-daygrid-day-number {
        font-size: 12px;
        padding: 3px 5px;
    }
    #lc-hotel-calendar .fc-daygrid-event,
    .lc-property-calendar .fc-daygrid-event {
        font-size: 10px;
        padding: 0 4px;
    }
}
