/* /Pages/WorkPane/CalendarMonth.razor.rz.scp.css */

/* ════════════════════════════════════════════════════════════════════
   CalendarMonth — editorial revenue management aesthetic
   Fonts: Fraunces (display serif) · Manrope (UI) · JetBrains Mono (numerals)
   ════════════════════════════════════════════════════════════════════ */

.cm-page[b-9f5ebae8k0] {
    --cm-bg: #faf7f2;
    --cm-bg-edge: #f3eee5;
    --cm-paper: #ffffff;
    --cm-ink: #1c1917;
    --cm-ink-soft: #57534e;
    --cm-ink-muted: #a8a29e;
    --cm-line: rgba(28, 25, 23, 0.07);
    --cm-line-strong: rgba(28, 25, 23, 0.14);
    --cm-wine: #901630;
    --cm-wine-soft: rgba(144, 22, 48, 0.09);
    --cm-gold: #c8a557;
    --cm-cream: #f5ede0;
    --cm-amber: #ffe4bf;
    --cm-slate: #ecedf0;

    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: linear-gradient(180deg, var(--cm-bg) 0%, var(--cm-bg-edge) 100%);
    min-height: 100vh;
    padding: 6px 14px 40px;
    color: var(--cm-ink);
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "ss01", "cv11";
}

/* ── Month section ── */
.cm-month[b-9f5ebae8k0] {
    margin-top: 30px;
    animation: cm-rise-b-9f5ebae8k0 0.45s cubic-bezier(0.32, 0.72, 0, 1) backwards;
}
.cm-month:first-child[b-9f5ebae8k0] { margin-top: 18px; animation-delay: 0.04s; }
.cm-month:nth-child(2)[b-9f5ebae8k0] { animation-delay: 0.10s; }
.cm-month:nth-child(3)[b-9f5ebae8k0] { animation-delay: 0.16s; }

@keyframes cm-rise-b-9f5ebae8k0 {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cm-month-header[b-9f5ebae8k0] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 4px 14px;
    border-bottom: 1px solid var(--cm-line);
    margin-bottom: 12px;
}

.cm-month-title[b-9f5ebae8k0] {
    font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    font-weight: 360;
    font-style: italic;
    font-size: 2.05rem;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--cm-ink);
    margin: 0;
}

.cm-month-year[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--cm-ink-muted);
}

/* ── Weekday header ── */
.cm-weekdays[b-9f5ebae8k0] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 0 1px 8px;
}
.cm-weekdays span[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--cm-ink-muted);
    text-align: center;
}

/* ── Cells grid ── */
.cm-grid[b-9f5ebae8k0] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.cm-cell-empty[b-9f5ebae8k0] {
    aspect-ratio: 1 / 1.18;
}

.cm-cell[b-9f5ebae8k0] {
    position: relative;
    aspect-ratio: 1 / 1.18;
    border: 1px solid var(--cm-line);
    border-radius: 9px;
    background: var(--cm-paper);
    padding: 6px 7px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    text-align: left;
    overflow: hidden;
    font-family: inherit;
    color: inherit;
}
.cm-cell:active[b-9f5ebae8k0] {
    transform: scale(0.96);
    box-shadow: inset 0 1px 4px rgba(28, 25, 23, 0.08);
    border-color: var(--cm-line-strong);
}

.cm-cell-top[b-9f5ebae8k0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    min-height: 16px;
}
.cm-cell-bottom[b-9f5ebae8k0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4px;
    min-width: 0;
}

.cm-day-num[b-9f5ebae8k0] {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: 'opsz' 96;
    font-size: 1.05rem;
    font-weight: 360;
    line-height: 1;
    color: var(--cm-ink);
    letter-spacing: -0.01em;
}
.cm-cell-weekend .cm-day-num[b-9f5ebae8k0] {
    font-style: italic;
    color: var(--cm-wine);
}

.cm-price[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--cm-ink-soft);
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.cm-minstay[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.55rem;
    font-weight: 600;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(28, 25, 23, 0.06);
    color: var(--cm-ink-soft);
    letter-spacing: -0.02em;
}
.cm-minstay-n[b-9f5ebae8k0] { font-weight: 400; opacity: 0.65; margin-left: 1px; }

.cm-rec-dot[b-9f5ebae8k0] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cm-gold);
    box-shadow: 0 0 0 3px rgba(200, 165, 87, 0.18);
    animation: cm-pulse-b-9f5ebae8k0 2.6s ease-in-out infinite;
    flex-shrink: 0;
    margin-top: 2px;
}
.cm-rec-dot.cm-rec-dot-bad[b-9f5ebae8k0] {
    background: var(--cm-wine);
    box-shadow: 0 0 0 3px rgba(144, 22, 48, 0.18);
}
@keyframes cm-pulse-b-9f5ebae8k0 {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.cm-special-mark[b-9f5ebae8k0] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cm-ink-muted);
    opacity: 0.5;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ── Cell variants ── */
.cm-cell-today[b-9f5ebae8k0] {
    border-color: var(--cm-wine);
    box-shadow: 0 0 0 1px var(--cm-wine), 0 4px 14px -4px rgba(144, 22, 48, 0.32);
    background: linear-gradient(180deg, #fff 60%, var(--cm-wine-soft) 100%);
}
.cm-cell-today .cm-day-num[b-9f5ebae8k0] {
    color: var(--cm-wine);
    font-weight: 420;
}

.cm-cell-reserved[b-9f5ebae8k0] {
    background: var(--cm-cream);
    border-color: rgba(168, 132, 70, 0.22);
}
.cm-cell-reserved .cm-day-num[b-9f5ebae8k0],
.cm-cell-reserved .cm-price[b-9f5ebae8k0] { color: rgba(96, 64, 22, 0.78); }

.cm-cell-reserved-recent[b-9f5ebae8k0] {
    background: linear-gradient(140deg, #fff7ec 0%, #ffe4bf 100%);
    border-color: rgba(220, 130, 30, 0.34);
}
.cm-cell-reserved-recent .cm-day-num[b-9f5ebae8k0] { color: #92400e; }
.cm-cell-reserved-recent .cm-price[b-9f5ebae8k0] { color: #c2530c; }

.cm-cell-blocked[b-9f5ebae8k0] {
    background-color: var(--cm-slate);
    background-image: repeating-linear-gradient(45deg, transparent 0 5px, rgba(28, 25, 23, 0.045) 5px 6px);
    border-color: rgba(28, 25, 23, 0.07);
}
.cm-cell-blocked .cm-day-num[b-9f5ebae8k0],
.cm-cell-blocked .cm-price[b-9f5ebae8k0] { color: var(--cm-ink-muted); }

.cm-cell-icon[b-9f5ebae8k0] {
    font-size: 14px !important;
    color: rgba(96, 64, 22, 0.7);
}
.cm-cell-reserved-recent .cm-cell-icon[b-9f5ebae8k0] { color: #c2530c; }
.cm-cell-icon-blocked[b-9f5ebae8k0] { color: var(--cm-ink-muted) !important; }

/* First day of month gets a subtle marker on top edge */
.cm-cell-first[b-9f5ebae8k0] {
    position: relative;
}

/* ── Foot ── */
.cm-foot[b-9f5ebae8k0] {
    margin-top: 36px;
    padding: 18px 0;
    text-align: center;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cm-ink-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.cm-foot-mark[b-9f5ebae8k0] {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--cm-wine);
    transform: rotate(45deg);
    opacity: 0.7;
}


/* ════════════════════════════════════════════════════════════════════
   Bottom sheet
   ════════════════════════════════════════════════════════════════════ */

.cm-sheet-backdrop[b-9f5ebae8k0] {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(28, 25, 23, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: cm-fade-b-9f5ebae8k0 0.24s ease-out;
}
@keyframes cm-fade-b-9f5ebae8k0 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cm-sheet[b-9f5ebae8k0] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1600;
    background: #ffffff;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 -24px 60px -12px rgba(28, 25, 23, 0.32);
    animation: cm-slide-b-9f5ebae8k0 0.36s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    font-family: 'Manrope', system-ui, sans-serif;
    color: #1c1917;
    -webkit-font-smoothing: antialiased;
}
@keyframes cm-slide-b-9f5ebae8k0 {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.cm-sheet-handle-row[b-9f5ebae8k0] {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 11px 16px 4px;
}

.cm-sheet-handle[b-9f5ebae8k0] {
    display: block;
    width: 42px;
    height: 4px;
    background: rgba(144, 22, 48, 0.32);
    border-radius: 4px;
    cursor: pointer;
}

.cm-sheet-close[b-9f5ebae8k0] {
    position: absolute;
    right: 14px;
    top: 8px;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(28, 25, 23, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, transform 0.1s ease;
}
.cm-sheet-close:active[b-9f5ebae8k0] { background: rgba(28, 25, 23, 0.10); transform: scale(0.94); }
.cm-sheet-close .material-symbols-outlined[b-9f5ebae8k0] { font-size: 18px; color: #57534e; }

/* ── Sheet header ── */
.cm-sheet-header[b-9f5ebae8k0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 24px 22px;
    border-bottom: 1px solid rgba(28, 25, 23, 0.07);
    position: relative;
}
.cm-sheet-header[b-9f5ebae8k0]::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 24px;
    width: 36px;
    height: 1px;
    background: #901630;
}

.cm-sheet-headline[b-9f5ebae8k0] { min-width: 0; }

.cm-sheet-eyebrow[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #a8a29e;
    margin: 0 0 6px;
}

.cm-sheet-date[b-9f5ebae8k0] {
    margin: 0;
    line-height: 0.95;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.cm-sheet-day[b-9f5ebae8k0] {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    font-style: italic;
    font-weight: 350;
    font-size: 3rem;
    letter-spacing: -0.03em;
    color: #901630;
}
.cm-sheet-month-year[b-9f5ebae8k0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cm-sheet-month[b-9f5ebae8k0] {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 360;
    font-size: 1.2rem;
    line-height: 1;
    color: #1c1917;
    letter-spacing: -0.02em;
}
.cm-sheet-year[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #a8a29e;
}

.cm-sheet-status[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 4px;
}
.cm-status-available[b-9f5ebae8k0] { color: #15803d; background: rgba(21, 128, 61, 0.09); }
.cm-status-reserved[b-9f5ebae8k0] { color: #92400e; background: rgba(146, 64, 14, 0.10); }
.cm-status-recent[b-9f5ebae8k0] { color: #c2410c; background: rgba(194, 65, 12, 0.13); }
.cm-status-blocked[b-9f5ebae8k0] { color: #57534e; background: rgba(28, 25, 23, 0.06); }

/* ── Sheet sections ── */
.cm-sheet-body[b-9f5ebae8k0] { padding: 0; }

.cm-section[b-9f5ebae8k0] {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(28, 25, 23, 0.06);
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.cm-section:last-of-type[b-9f5ebae8k0] { border-bottom: none; }

.cm-section-stat[b-9f5ebae8k0] {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
}

.cm-section-reserved[b-9f5ebae8k0] { padding: 16px 24px 4px; }

.cm-section-label[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a8a29e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cm-section-label .material-symbols-outlined[b-9f5ebae8k0] { font-size: 14px; color: #a8a29e; }

.cm-section-empty[b-9f5ebae8k0] {
    margin: 0;
    font-style: italic;
    color: #a8a29e;
    font-size: 0.86rem;
    padding-top: 4px;
}

.cm-stat-value[b-9f5ebae8k0] {
    margin: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1c1917;
    text-align: right;
}
.cm-stat-emphasis[b-9f5ebae8k0] { color: #901630; font-size: 1.08rem; font-weight: 600; }
.cm-stat-mono[b-9f5ebae8k0] { font-size: 0.78rem; letter-spacing: 0.04em; color: #57534e; }
.cm-stat-sep[b-9f5ebae8k0] { color: #a8a29e; margin: 0 4px; }
.cm-stat-muted[b-9f5ebae8k0] { color: #a8a29e; }
.cm-stat-bad[b-9f5ebae8k0] { color: #901630; font-weight: 600; }

.cm-blink[b-9f5ebae8k0] { animation: cm-blink-b-9f5ebae8k0 1.4s ease-in-out infinite; }
@keyframes cm-blink-b-9f5ebae8k0 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

/* ── Control wrappers (style sub-component buttons / inputs) ── */
.cm-control[b-9f5ebae8k0] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cm-control-price[b-9f5ebae8k0] { gap: 6px; }

/* The section is ours, the inner control is a child component: ::deep crosses the scope boundary */
.cm-section[b-9f5ebae8k0]  .MinNightsColorBoton {
    padding: 6px 14px !important;
    min-height: 42px;
    font-size: 1.1rem !important;
    border-radius: 9px !important;
    background: #faf7f2 !important;
    border: 1px solid rgba(28, 25, 23, 0.12) !important;
    color: #1c1917 !important;
    font-family: 'JetBrains Mono', ui-monospace, monospace !important;
    font-weight: 500 !important;
}
.cm-section[b-9f5ebae8k0]  .MinNightsColorBoton:disabled { opacity: 0.35; }

.cm-section[b-9f5ebae8k0]  .propInputNR {
    width: 4.4rem !important;
    min-height: 42px;
    padding: 6px 10px;
    font-size: 1rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    border-radius: 9px;
    border: 1px solid rgba(28, 25, 23, 0.14);
    background: #faf7f2;
    text-align: right;
}
.cm-section[b-9f5ebae8k0]  .propInputNR:focus {
    outline: none;
    border-color: #901630;
    box-shadow: 0 0 0 3px rgba(144, 22, 48, 0.13);
    background: #fff;
}

.cm-section[b-9f5ebae8k0]  .btnPrecio {
    padding: 6px 12px !important;
    min-height: 36px;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
}

.cm-price-row[b-9f5ebae8k0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cm-adr[b-9f5ebae8k0] {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 12px;
    background: #faf7f2;
    border-radius: 8px;
    border: 1px dashed rgba(28, 25, 23, 0.10);
}
.cm-adr-label[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a8a29e;
}
.cm-adr-value[b-9f5ebae8k0] {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 1.05rem;
    font-weight: 600;
    color: #901630;
}
.cm-adr-locked[b-9f5ebae8k0] { color: #c2410c; }

.cm-rec-row[b-9f5ebae8k0] { padding-top: 4px; }

/* ── Occupancy bar ── */
.cm-occ-bar[b-9f5ebae8k0] {
    position: relative;
    height: 26px;
    background: rgba(28, 25, 23, 0.06);
    border-radius: 5px;
    overflow: hidden;
}
.cm-occ-fill[b-9f5ebae8k0] {
    height: 100%;
    border-radius: 5px;
    transition: width 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.cm-occ-pct[b-9f5ebae8k0] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1c1917;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

/* ── Sheet actions ── */
.cm-sheet-actions[b-9f5ebae8k0] {
    display: flex;
    gap: 10px;
    padding: 18px 24px 8px;
}
.cm-action-btn[b-9f5ebae8k0] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 14px;
    background: transparent;
    border: 1px solid rgba(28, 25, 23, 0.14);
    border-radius: 11px;
    color: #57534e;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
    min-height: 44px;
}
.cm-action-btn:active[b-9f5ebae8k0] {
    background: rgba(28, 25, 23, 0.04);
    transform: scale(0.98);
    border-color: rgba(28, 25, 23, 0.20);
}
.cm-action-btn .material-symbols-outlined[b-9f5ebae8k0] { font-size: 18px; color: #901630; }

/* /Pages/WorkPane/WorkPane.razor.rz.scp.css */
.diaLibre[b-7sqxcpto3x] {
    font-weight: bold;
    color: black;
}

.diaLibreNoCkin[b-7sqxcpto3x] {
    color: blueviolet;
}

.csQuedan[b-7sqxcpto3x] {
    position: absolute;
    right: 0;
    padding-right: 3px;
    font-size: smaller;
    color: gray;
}

.ultimoDiaDeCorteDiaOcupado[b-7sqxcpto3x] {
    border-bottom: 1px dotted black;
}

.ultimoDiaDeCorteDiaNoOcupado[b-7sqxcpto3x] {
    border-bottom: 1px dotted gray;
}

.diaVenta90Dias[b-7sqxcpto3x] {
    border-bottom: 2px dotted black;
    line-height: 1rem;
}

.areaADRs[b-7sqxcpto3x] {
    font-size: smaller;
    text-align: center !important;
    float: left !important;
    min-width: 3.6rem;
    padding-top: 0.4rem;
}

.propADR[b-7sqxcpto3x] {
    padding-top: .25rem;
    width: 2rem;
    display: inline-block;
    text-align: end;
}

/* Rendered by child components (CompCambiarPrecioConRecm, Radzen), so these need ::deep to cross the scope boundary */
[b-7sqxcpto3x] .NR {
    font-weight: bold;
    color: var(--colorLogo);
    padding-top: .25rem;
    width: 2.5rem;
}

[b-7sqxcpto3x] .numCambios {
    left: 0.1rem;
    top: 0.2rem !important;
    position: relative;
    color: darkorange;
    width: 2rem
}

[b-7sqxcpto3x] .numCambiosWidth {
    display: inline-block;
    width: 0.7rem;
    height: 1.1rem;
    position: relative;
}

[b-7sqxcpto3x] .precioDistinto {
    position: absolute;
    left: 0rem;
    top: 0.8rem;
    font-size: xx-small;
    color: var(--colorBad);
    font-weight: bold;
}

[b-7sqxcpto3x] .rz-legend-item-text {
    color: gray;
}
/* /Pages/WorkPane/WorkPaneMobile.razor.rz.scp.css */

/* ── Cards container ── */
.wpm-cards-container[b-j56v6ogp25] {
    padding: 4px 8px 90px 8px;
}

/* ── Card base ── */
.wpm-card[b-j56v6ogp25] {
    border-radius: 10px;
    border: 1px solid #e4e4e7;
    background: #fff;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ── Card variants ── */
.wpm-card-weekend[b-j56v6ogp25] {
    border-left: 4px solid #93c5fd;
}

.wpm-card-reserved[b-j56v6ogp25] {
    background-color: #f3f4f6;
    border-left: 4px solid var(--colorReserva);
}

.wpm-card-reserved-recent[b-j56v6ogp25] {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left: 4px solid var(--colorReservaReciente);
}

.wpm-card-blocked[b-j56v6ogp25] {
    background-color: #f9fafb;
    border-left: 4px solid #d1d5db;
}

/* ── Card header (date row) ── */
.wpm-card-header[b-j56v6ogp25] {
    padding: 10px 12px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
}

/* ── Card sections ── */
.wpm-card-section[b-j56v6ogp25] {
    padding: 6px 12px;
    border-top: 1px solid #f0f0f2;
}

.wpm-card-footer[b-j56v6ogp25] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 12px 8px;
    gap: 8px;
}

/* ── Section label ── */
.wpm-section-label[b-j56v6ogp25] {
    font-size: 0.72rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-right: 6px;
}

/* ── Badges ── */
.wpm-badge-reserved[b-j56v6ogp25] {
    background-color: #e5e7eb;
    color: #4b5563;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.wpm-badge-reserved-recent[b-j56v6ogp25] {
    background-color: #fed7aa;
    color: #9a3412;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.wpm-badge-blocked[b-j56v6ogp25] {
    background-color: #f3f4f6;
    color: #9ca3af;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ── Special day icon ── */
.wpm-special-icon[b-j56v6ogp25] {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* ── Mini occupancy bar ── */
.wpm-occupancy-bar[b-j56v6ogp25] {
    width: 50px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.wpm-occupancy-fill[b-j56v6ogp25] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s;
}

/* ── Separator banners ── */
.wpm-separator[b-j56v6ogp25] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 0;
    font-size: 0.72rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

    .wpm-separator[b-j56v6ogp25]::before,
    .wpm-separator[b-j56v6ogp25]::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d1d5db, transparent);
    }

/* ── Bottom action bar ── */
.wpm-bottom-bar[b-j56v6ogp25] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e4e4e7;
    display: flex;
    padding: 8px 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    gap: 6px;
}

.wpm-action-btn[b-j56v6ogp25] {
    flex: 1;
    min-height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.1s, opacity 0.15s;
}

    .wpm-action-btn:active:not(:disabled)[b-j56v6ogp25] {
        transform: scale(0.96);
    }

    .wpm-action-btn:disabled[b-j56v6ogp25] {
        opacity: 0.3;
        cursor: default;
    }

.wpm-btn-nav[b-j56v6ogp25] {
    background: #f4f4f5;
    color: #52525b;
}

.wpm-btn-nav-primary[b-j56v6ogp25] {
    background: var(--colorLogo);
    color: #fff;
}

.wpm-btn-action[b-j56v6ogp25] {
    background: #f4f4f5;
    color: #52525b;
}

.wpm-badge-count[b-j56v6ogp25] {
    position: absolute;
    top: -4px;
    right: -2px;
    background: var(--colorLogo);
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

/* ── Touch-friendly overrides for sub-components inside cards ── */
/* The card is ours, the inner control is a child component: ::deep crosses the scope boundary */
.wpm-card[b-j56v6ogp25]  .MinNightsColorBoton {
    padding: 4px 12px !important;
    min-height: 34px;
    font-size: 1.1rem !important;
}

.wpm-card[b-j56v6ogp25]  .propInputNR {
    width: 3.5rem;
    padding: 4px 6px;
    font-size: 0.95rem;
    min-height: 34px;
    border-radius: 6px;
}

.wpm-card[b-j56v6ogp25]  .btnPrecio {
    padding: 4px 10px !important;
    min-height: 32px;
    font-size: 0.85rem !important;
    border-radius: 6px !important;
}

