/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --rsv-primary:       #A2B209;
    --rsv-primary-dark:  #879504;
    --rsv-primary-soft:  #F3F7DD;
    --rsv-text:          #27310C;
    --rsv-muted:         #727B5C;
    --rsv-line:          #E7EDD1;
    --rsv-bg:            #F8FAF1;
    --rsv-radius:        14px;
    --rsv-shadow:        0 8px 24px rgba(0,0,0,.05);

    /* ── Colores de estado (oscurecidos) ──────────────────────────────────── */
    --rsv-free-bg:        #D6E56A;
    --rsv-free-border:    #A8B833;
    --rsv-reserved-bg:    #F0D060;
    --rsv-reserved-border:#C4A520;
    --rsv-busy-bg:        #E88070;
    --rsv-busy-border:    #C0453A;
    --rsv-expired-bg:     #B8A5D4;
    --rsv-expired-border: #8B6FB0;
    --rsv-expired-text:   #3D2960;
}

/* ── Layout base ────────────────────────────────────────────────────────────── */
.rsv-module { padding-bottom: 40px; }

.rsv-card {
    background: #fff;
    border: 1px solid var(--rsv-line);
    border-radius: var(--rsv-radius);
    box-shadow: var(--rsv-shadow);
}

/* ── KPI Bar ────────────────────────────────────────────────────────────────── */
.rsv-kpi-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.rsv-kpi {
    flex: 1 1 120px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--rsv-bg);
    border: 1px solid var(--rsv-line);
}

.rsv-kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--rsv-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--rsv-primary-dark);
    flex-shrink: 0;
}

.rsv-kpi-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--rsv-muted);
    margin-bottom: 2px;
}

.rsv-kpi-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--rsv-text);
    line-height: 1;
}

/* ── Topbar ─────────────────────────────────────────────────────────────────── */
.rsv-topbar {
    padding: 16px 20px;
    margin-bottom: 20px;
}

.rsv-range-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rsv-primary-dark);
    margin-bottom: 6px;
}

.rsv-range-wrap {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    background: var(--rsv-bg);
    border: 1px solid var(--rsv-line);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rsv-text);
}

.rsv-range-wrap .rsv-range-icon {
    color: var(--rsv-primary-dark);
    margin-right: 10px;
    font-size: 15px;
}

/* ── Inputs de hora en topbar ──────────────────────────────────────────────── */
.rsv-time-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.rsv-time-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rsv-time-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rsv-muted);
    margin: 0;
}

.rsv-time-group input[type="time"],
.rsv-time-group input[type="date"] {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rsv-line);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--rsv-text);
    background: var(--rsv-bg);
    outline: none;
}

.rsv-time-group input:focus {
    border-color: var(--rsv-primary);
    box-shadow: 0 0 0 3px rgba(162,178,9,.15);
}

.btn-consultar {
    height: 40px;
    padding: 0 20px;
    background: var(--rsv-primary);
    border: 1px solid var(--rsv-primary-dark);
    color: #1F2405;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}

.btn-consultar:hover {
    background: var(--rsv-primary-dark);
    color: #fff;
}

.btn-consultar:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ── Legend ─────────────────────────────────────────────────────────────────── */
.rsv-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.rsv-legend-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--rsv-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--rsv-text);
    background: #FAFBF6;
}

.rsv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.rsv-dot-free     { background: #7A9A10; }
.rsv-dot-reserved { background: #D4A017; }
.rsv-dot-busy     { background: #C0392B; }

/* ── Panel mesas ────────────────────────────────────────────────────────────── */
.rsv-panel-box {
    padding: 20px;
    height: 100%;
}

.rsv-panel-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--rsv-text);
    margin-bottom: 4px;
}

.rsv-panel-sub {
    font-size: 13px;
    color: var(--rsv-muted);
    margin-bottom: 18px;
}

/* ── Mesa cards ─────────────────────────────────────────────────────────────── */
.mesa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 480px) {
    .mesa-grid { grid-template-columns: 1fr; }
}

.mesa-card {
    width: 100%;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    text-align: left;
    transition: transform .15s ease, box-shadow .15s ease;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mesa-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--rsv-text);
}

.mesa-card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .04em;
}

.mesa-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mesa-card-capacity {
    font-size: 12px;
    font-weight: 600;
    color: var(--rsv-muted);
}

.mesa-card-capacity i {
    font-size: 10px;
    margin-right: 2px;
}

.mesa-card-libre {
    background: var(--rsv-free-bg);
    border-color: var(--rsv-free-border);
    cursor: pointer;
}
.mesa-card-libre .mesa-card-badge  { background: rgba(255,255,255,.7); color: #2E3D03; }
.mesa-card-libre:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(122,154,16,.25);
}

.mesa-card-reservada {
    background: var(--rsv-reserved-bg);
    border-color: var(--rsv-reserved-border);
    cursor: not-allowed;
    opacity: .9;
}
.mesa-card-reservada .mesa-card-badge { background: rgba(255,255,255,.6); color: #5C4400; }

.mesa-card-ocupada {
    background: var(--rsv-busy-bg);
    border-color: var(--rsv-busy-border);
    cursor: not-allowed;
    opacity: .9;
}
.mesa-card-ocupada .mesa-card-badge { background: rgba(255,255,255,.6); color: #5A1A14; }

/* ── Skeleton loader ────────────────────────────────────────────────────────── */
.rsv-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: rsv-shimmer 1.4s infinite;
    border-radius: 10px;
}

@keyframes rsv-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.rsv-skeleton-card {
    height: 72px;
    border-radius: 12px;
}

/* ── Empty state ────────────────────────────────────────────────────────────── */
.rsv-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    text-align: center;
    color: var(--rsv-muted);
    gap: 8px;
}

.rsv-empty i { font-size: 32px; opacity: .4; }
.rsv-empty p { font-size: 14px; margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════ */
/* CALENDAR — Base                                                          */
/* ══════════════════════════════════════════════════════════════════════════ */
#calendar .fc-toolbar h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--rsv-text);
}

#calendar .fc-button {
    background: #fff;
    border: 1px solid var(--rsv-line);
    color: var(--rsv-text);
    text-shadow: none;
    box-shadow: none;
    border-radius: 8px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    margin-left: 4px;
}

#calendar .fc-state-active,
#calendar .fc-state-down,
#calendar .fc-button:focus,
#calendar .fc-button:active {
    background: var(--rsv-primary);
    border-color: var(--rsv-primary-dark);
    color: #1F2405;
    outline: none;
    box-shadow: none;
}

#calendar .fc-today { background: rgba(168,184,51,.08); }
/* Vista MES: highlight con verde lima al seleccionar */
#calendar .fc-day-grid .fc-highlight {
    background: rgba(168,184,51,.28) !important;
    border: 2px dashed #7A9A10 !important;
    border-radius: 6px;
}

/* Vistas AGENDA (semana/día): NO pintar columna completa,
   el slot fantasma .rsv-helper-slot ya muestra la selección */
#calendar .fc-time-grid .fc-highlight,
#calendar .fc-time-grid .fc-highlight-container,
#calendar .fc-time-grid .fc-bgevent {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#calendar .fc-helper {
    background: rgba(168,184,51,.22) !important;
    border: 2px dashed #7A9A10 !important;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(122,154,16,.25);
    opacity: 1 !important;
    z-index: 5 !important;
}

#calendar .fc-helper .fc-content {
    color: #3A4A05;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
}

#calendar .fc-helper .fc-time {
    color: #3A4A05;
    font-weight: 800;
}

.rsv-select-indicator {
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(168,184,51,.22);
    border: 2px dashed #7A9A10;
    border-radius: 6px;
    z-index: 3;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #3A4A05;
    font-family: 'SFMono-Regular', Consolas, monospace;
    letter-spacing: .03em;
    transition: opacity .15s ease;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* CALENDAR — Evento base (wrapper transparente)                            */
/* ══════════════════════════════════════════════════════════════════════════ */
#calendar .fc-event {
    border: 0 !important;
    border-radius: 0;
    padding: 0;
    margin: 0 2px 2px 2px !important;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1 !important;
    background: transparent !important;
    box-shadow: none;
    overflow: visible;
    line-height: 1;
    transition: none;
}

#calendar .fc-event:hover {
    transform: none;
    box-shadow: none;
}

#calendar .fc-highlight-container { z-index: 0 !important; }
#calendar .fc-bgevent-container   { z-index: 0 !important; }

#calendar .fc-past {
    background: #f5f5f0;
    opacity: .6;
}

#calendar .fc-day.fc-past {
    background: #f0f0ea;
}

#calendar .fc-time-grid .fc-content-skeleton {
    padding: 0;
}

.fc-time-grid-event .rsv-chip {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* CHIP — Unidad visual de cada reservación (SIEMPRE legible, sin compact)  */
/* ══════════════════════════════════════════════════════════════════════════ */
.rsv-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    transition: transform .1s ease, box-shadow .1s ease;
    cursor: pointer;
    min-height: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    animation: rsv-chip-in .2s ease both;
}

.rsv-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    z-index: 10;
}

@keyframes rsv-chip-in {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Chip estado: Reservada ────────────────────────────────────────────────── */
.rsv-chip--reservada {
    background: linear-gradient(135deg, #F8E29A 0%, #F0D060 100%);
    border: 1px solid #C4A520;
    color: #5C4400;
}

.rsv-chip--reservada .rsv-chip__dot {
    background: #D4A017;
}

.rsv-chip--reservada .rsv-chip__avatar {
    background: rgba(196,165,32,.2);
    color: #5C4400;
    border: 1px solid rgba(196,165,32,.35);
}

/* ── Chip estado: Cancelada ────────────────────────────────────────────────── */
.rsv-chip--cancelada {
    background: linear-gradient(135deg, #F5D0CC 0%, #E88070 100%);
    border: 1px solid #C0453A;
    color: #5A1A14;
    opacity: .7;
}

.rsv-chip--cancelada .rsv-chip__dot {
    background: #C0392B;
}

.rsv-chip--cancelada .rsv-chip__avatar {
    background: rgba(192,57,43,.15);
    color: #5A1A14;
    border: 1px solid rgba(192,57,43,.2);
}

/* ── Chip estado: Expirada ─────────────────────────────────────────────── */
.rsv-chip--expirada {
    background: linear-gradient(135deg, #D4C5E8 0%, #B8A5D4 100%);
    border: 1px solid #8B6FB0;
    color: #3D2960;
    opacity: .9;
}

.rsv-chip--expirada .rsv-chip__dot {
    background: #6B4A95;
}

.rsv-chip--expirada .rsv-chip__avatar {
    background: rgba(107,74,149,.2);
    color: #3D2960;
    border: 1px solid rgba(107,74,149,.3);
}

/* ── Dot leyenda / popover ─────────────────────────────────────────────── */
.rsv-dot-expired               { background: #6B4A95; }
.rsv-pop-item__dot--expirada   { background: #6B4A95; }

/* ── Status bar (modal detalle) ────────────────────────────────────────── */
.rsv-status-bar-expirada {
    background: linear-gradient(135deg, #ECE4F5 0%, #D4C5E833 100%);
    border: 1px solid #B8A5D4;
}
.rsv-status-dot-expirada   { background: #6B4A95; }
.rsv-status-label-expirada { color: #3D2960; }

/* ── Badge en listado ──────────────────────────────────────────────────── */
.rsv-estado-expirada { background: var(--rsv-expired-bg); color: #3D2960; }

/* ── Tooltip ───────────────────────────────────────────────────────────── */
.rsv-tooltip-top__estado--expirada { background: var(--rsv-expired-bg); color: #3D2960; }

/* ── Elementos internos del chip ──────────────────────────────────────────── */
.rsv-chip__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rsv-chip__avatar {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0;
}

.rsv-chip__code {
    font-size: 10px;
    font-weight: 800;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    letter-spacing: .02em;
    flex-shrink: 0;
}

.rsv-chip__name {
    font-size: 10px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: .85;
}

.rsv-chip__time {
    font-size: 9px;
    font-weight: 600;
    opacity: .7;
    flex-shrink: 0;
    margin-left: auto;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* VISTA MES — Chips reducidos (sin avatar ni nombre, solo dot+code+time)   */
/* ══════════════════════════════════════════════════════════════════════════ */
.fc-month-view .rsv-chip {
    padding: 2px 6px;
    min-height: 20px;
    gap: 4px;
    border-radius: 5px;
    margin-bottom: 1px !important;
}

.fc-month-view .rsv-chip .rsv-chip__avatar { display: none; }
.fc-month-view .rsv-chip .rsv-chip__name   { display: none; }

.fc-month-view .rsv-chip .rsv-chip__code { font-size: 9px; }
.fc-month-view .rsv-chip .rsv-chip__dot  { width: 6px; height: 6px; }
.fc-month-view .rsv-chip .rsv-chip__time { font-size: 9px; }

/* ── "+N más" nativo de FullCalendar (vista mes) ───────────────── */
.fc-month-view a.fc-more {
    display: inline-block;
    margin: 2px 4px;
    padding: 2px 8px;
    border-radius: 5px;
    background: #fff;
    border: 1px dashed var(--rsv-primary-dark);
    color: var(--rsv-primary-dark) !important;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .15s ease;
}

.fc-month-view a.fc-more:hover {
    background: var(--rsv-primary);
    border-style: solid;
    color: #1F2405 !important;
    text-decoration: none !important;
}

/* Popover nativo de FC con la lista completa del día */
.fc-popover {
    border: 1px solid var(--rsv-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.14) !important;
    overflow: hidden;
}

.fc-popover .fc-header {
    background: linear-gradient(135deg, #F3F7DD 0%, #E7EDD1 100%) !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid var(--rsv-line);
}

.fc-popover .fc-header .fc-title {
    font-weight: 800;
    color: var(--rsv-text);
    font-size: 13px;
}

.fc-popover .fc-header .fc-close {
    color: var(--rsv-muted);
    opacity: .7;
}

.fc-popover .fc-body {
    padding: 6px;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* OVERFLOW PILL — Base (vista mes)                                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.rsv-overflow-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 8px;
    margin: 0 2px 2px 2px;
    border-radius: 6px;
    background: linear-gradient(135deg, #E7EDD1 0%, #D6DEB8 100%);
    border: 1px solid #B8C48A;
    font-size: 10px;
    font-weight: 800;
    color: var(--rsv-primary-dark);
    cursor: pointer;
    transition: all .15s ease;
    min-height: 20px;
    letter-spacing: .02em;
}

.rsv-overflow-pill:hover {
    background: var(--rsv-primary);
    border-color: var(--rsv-primary-dark);
    color: #1F2405;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(162,178,9,.3);
}

.rsv-overflow-pill i { font-size: 8px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/* OVERFLOW PILL — Variante para vistas agenda (posición absolute en celda) */
/* ══════════════════════════════════════════════════════════════════════════ */
.rsv-overflow-pill--agenda {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 5px;
    background: linear-gradient(135deg, #E7EDD1 0%, #D6DEB8 100%);
    border: 1px solid #B8C48A;
    font-size: 10px;
    font-weight: 800;
    color: var(--rsv-primary-dark);
    cursor: pointer;
    transition: all .15s ease;
    letter-spacing: .02em;
}

.rsv-overflow-pill--agenda:hover {
    background: var(--rsv-primary);
    border-color: var(--rsv-primary-dark);
    color: #1F2405;
}

.rsv-overflow-pill--agenda i { font-size: 8px; }

/* ══════════════════════════════════════════════════════════════════════════ */
/* OVERFLOW POPOVER                                                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.rsv-overflow-popover {
    position: fixed;
    z-index: 1070;
    background: #fff;
    border: 1px solid var(--rsv-line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.03);
    min-width: 260px;
    max-width: 320px;
    max-height: 360px;
    display: none;
    overflow: hidden;
}

.rsv-overflow-popover.active { display: block; }

.rsv-overflow-popover__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, #F3F7DD 0%, #E7EDD1 100%);
    border-bottom: 1px solid var(--rsv-line);
}

.rsv-overflow-popover__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--rsv-text);
}

.rsv-overflow-popover__count {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--rsv-primary);
    color: #1F2405;
}

.rsv-overflow-popover__close {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--rsv-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--rsv-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all .12s;
}

.rsv-overflow-popover__close:hover {
    background: var(--rsv-busy-bg);
    border-color: var(--rsv-busy-border);
    color: #5A1A14;
}

.rsv-overflow-popover__body {
    padding: 8px;
    max-height: 280px;
    overflow-y: auto;
}

.rsv-overflow-popover__body::-webkit-scrollbar { width: 5px; }
.rsv-overflow-popover__body::-webkit-scrollbar-track { background: transparent; }
.rsv-overflow-popover__body::-webkit-scrollbar-thumb { background: var(--rsv-line); border-radius: 999px; }

.rsv-pop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .1s;
}

.rsv-pop-item:hover { background: var(--rsv-bg); }

.rsv-pop-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rsv-pop-item__dot--reservada { background: #7A9A10; }
.rsv-pop-item__dot--cancelada { background: #C0392B; }

.rsv-pop-item__info { flex: 1; min-width: 0; }

.rsv-pop-item__code {
    font-size: 10px;
    font-weight: 800;
    font-family: 'SFMono-Regular', Consolas, monospace;
    color: var(--rsv-primary-dark);
    letter-spacing: .02em;
}

.rsv-pop-item__client {
    font-size: 11px;
    font-weight: 600;
    color: var(--rsv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rsv-pop-item__time {
    font-size: 10px;
    font-weight: 600;
    color: var(--rsv-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* BOTONES                                                                  */
/* ══════════════════════════════════════════════════════════════════════════ */
.btn-rsv {
    background: var(--rsv-primary);
    border-color: var(--rsv-primary-dark);
    color: #1F2405;
    font-weight: 700;
    border-radius: 10px;
    padding: .55rem 1.1rem;
    font-size: 14px;
}

.btn-rsv:hover, .btn-rsv:focus {
    background: var(--rsv-primary-dark);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* MODAL                                                                    */
/* ══════════════════════════════════════════════════════════════════════════ */
.modal-content {
    border: 0;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
    overflow: hidden;
}

.modal-backdrop.show { opacity: .35; }

.rsv-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #F3F7DD 0%, #E7EDD1 100%);
    border-bottom: 1px solid var(--rsv-line);
    position: relative;
}

.rsv-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--rsv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1F2405;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(162,178,9,.3);
}

.rsv-modal-header-text h5 {
    font-size: 18px;
    font-weight: 800;
    color: var(--rsv-text);
    margin: 0 0 2px;
}

.rsv-modal-header-text p {
    font-size: 13px;
    color: var(--rsv-muted);
    margin: 0;
}

.rsv-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid var(--rsv-line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--rsv-muted);
    cursor: pointer;
    transition: all .15s;
    padding: 0;
    line-height: 1;
}

.rsv-modal-close:hover {
    background: var(--rsv-busy-bg);
    border-color: var(--rsv-busy-border);
    color: #5A1A14;
}

.modal-body { padding: 24px 28px; }

.rsv-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: #FAFBF6;
    border-top: 1px solid var(--rsv-line);
}

.rsv-modal-footer .btn-outline-secondary {
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    padding: .5rem 1.2rem;
}

.rsv-summary-card {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--rsv-bg);
    border: 1px solid var(--rsv-line);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
}

.rsv-summary-item {
    flex: 1 1 33%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-right: 1px solid var(--rsv-line);
    border-bottom: 1px solid var(--rsv-line);
    min-width: 150px;
}

.rsv-summary-item:last-child { border-right: 0; }

.rsv-summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--rsv-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--rsv-primary-dark);
    flex-shrink: 0;
}

.rsv-summary-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--rsv-muted);
    margin-bottom: 1px;
}

.rsv-summary-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--rsv-text);
    line-height: 1.2;
}

@media (max-width: 576px) {
    .rsv-summary-item { flex: 1 1 50%; }
}

.rsv-form-section { margin-bottom: 18px; }

.rsv-form-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rsv-primary-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rsv-form-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rsv-line);
}

.rsv-input-wrap { position: relative; }

.rsv-input-wrap .rsv-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--rsv-muted);
    pointer-events: none;
    z-index: 2;
}

.rsv-input-wrap textarea ~ .rsv-input-icon {
    top: 16px;
    transform: none;
}

.rsv-input-wrap input,
.rsv-input-wrap textarea {
    padding-left: 42px !important;
    border-radius: 10px !important;
    border: 1px solid var(--rsv-line) !important;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
}

.rsv-input-wrap select.rsv-select {
    padding-left: 42px !important;
    border-radius: 10px !important;
    border: 1px solid var(--rsv-line) !important;
    font-size: 14px;
    transition: border-color .15s, box-shadow .15s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23727B5C'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 36px !important;
    cursor: pointer;
}

.rsv-input-wrap input:focus,
.rsv-input-wrap textarea:focus,
.rsv-input-wrap select.rsv-select:focus {
    border-color: var(--rsv-primary) !important;
    box-shadow: 0 0 0 3px rgba(162,178,9,.12) !important;
}

.rsv-error-box {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.rsv-error-box i { font-size: 16px; flex-shrink: 0; }
.rsv-error-box.active { display: flex; }

.rsv-search-wrap { position: relative; }

.rsv-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--rsv-line);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1060;
    display: none;
    padding: 6px;
}

.rsv-search-dropdown.active { display: block; }

.rsv-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s;
    text-decoration: none;
    color: var(--rsv-text);
}

.rsv-search-item:hover {
    background: var(--rsv-bg);
    text-decoration: none;
}

.rsv-search-item-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--rsv-primary-soft);
    border: 1px solid #C9D88B;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rsv-primary-dark);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.rsv-search-item-body { flex: 1; min-width: 0; }

.rsv-search-item-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--rsv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rsv-search-item-name strong {
    color: var(--rsv-primary-dark);
    background: rgba(162,178,9,.12);
    padding: 0 2px;
    border-radius: 3px;
}

.rsv-search-item-code {
    font-size: 11px;
    color: var(--rsv-muted);
    font-family: 'SFMono-Regular', Consolas, monospace;
    margin-top: 2px;
}

.rsv-search-item-code strong {
    color: var(--rsv-primary-dark);
    background: rgba(162,178,9,.12);
    padding: 0 2px;
    border-radius: 3px;
}

.rsv-search-empty {
    padding: 16px;
    text-align: center;
    color: var(--rsv-muted);
    font-size: 13px;
}

.rsv-search-loading {
    padding: 14px;
    text-align: center;
    color: var(--rsv-muted);
    font-size: 13px;
}

.rsv-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .rsv-detail-grid { grid-template-columns: 1fr; }
}

.rsv-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--rsv-bg);
    border: 1px solid var(--rsv-line);
    border-radius: 12px;
}

.rsv-detail-item.rsv-detail-full { grid-column: 1 / -1; }

.rsv-detail-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--rsv-line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--rsv-primary-dark);
    flex-shrink: 0;
    margin-top: 1px;
}

.rsv-detail-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rsv-muted);
    margin-bottom: 2px;
}

.rsv-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--rsv-text);
    word-break: break-word;
}

.rsv-detail-value a { color: var(--rsv-primary-dark); text-decoration: none; }
.rsv-detail-value a:hover { text-decoration: underline; }

.rsv-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.rsv-status-bar-reservada {
    background: linear-gradient(135deg, #F3F7DD 0%, #E7EDD1 100%);
    border: 1px solid #C9D88B;
}

.rsv-status-bar-cancelada {
    background: linear-gradient(135deg, #FEF2F2 0%, #FECACA33 100%);
    border: 1px solid #FECACA;
}

.rsv-status-bar-left { display: flex; align-items: center; gap: 10px; }

.rsv-status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.rsv-status-dot-reservada { background: #7A9A10; }
.rsv-status-dot-cancelada { background: #C0392B; }

.rsv-status-label { font-size: 13px; font-weight: 700; }
.rsv-status-label-reservada { color: #3A4A05; }
.rsv-status-label-cancelada { color: #991B1B; }

.rsv-codigo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--rsv-primary-soft);
    border: 1px solid #C9D88B;
    font-size: 12px;
    font-weight: 800;
    color: var(--rsv-primary-dark);
    letter-spacing: .05em;
    font-family: 'SFMono-Regular', Consolas, monospace;
}

.rsv-estado-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .03em;
}
.rsv-estado-reservada { background: var(--rsv-reserved-bg); color: #5C4400; }
.rsv-estado-cancelada { background: var(--rsv-busy-bg); color: #5A1A14; }

.rsv-pasada-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f5f5f0;
    border: 1px solid #e0e0d8;
    font-size: 13px;
    color: var(--rsv-muted);
    margin-top: 14px;
}

.rsv-pasada-notice i { font-size: 14px; }

@media (max-width: 991px) {
    .rsv-legend { justify-content: flex-start; margin-top: 12px; }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* TOOLTIP FLOTANTE                                                         */
/* ══════════════════════════════════════════════════════════════════════════ */
.rsv-tooltip {
    position: fixed;
    z-index: 1080;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s ease, transform .12s ease;
    max-width: 280px;
    transform: translateY(4px);
}

.rsv-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.rsv-tooltip-inner {
    background: #fff;
    border: 1px solid var(--rsv-line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.02);
    padding: 0;
    font-size: 13px;
    color: var(--rsv-text);
    overflow: hidden;
}

.rsv-tooltip-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #F3F7DD 0%, #E7EDD1 100%);
    border-bottom: 1px solid var(--rsv-line);
}

.rsv-tooltip-top__badge {
    padding: 3px 8px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #C9D88B;
    font-size: 10px;
    font-weight: 800;
    font-family: 'SFMono-Regular', Consolas, monospace;
    color: var(--rsv-primary-dark);
}

.rsv-tooltip-top__estado {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.rsv-tooltip-top__estado--reservada { background: var(--rsv-reserved-bg); color: #5C4400; }
.rsv-tooltip-top__estado--cancelada { background: var(--rsv-busy-bg); color: #5A1A14; }

.rsv-tooltip-body { padding: 10px 14px; }

.rsv-tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
}

.rsv-tooltip-row i {
    width: 14px;
    text-align: center;
    font-size: 11px;
    color: var(--rsv-primary-dark);
    flex-shrink: 0;
}

.rsv-tooltip-row span { font-size: 12px; color: var(--rsv-text); }

.rsv-tooltip-row .rsv-tooltip-label {
    font-weight: 700;
    color: var(--rsv-muted);
    min-width: 56px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE — Vista semanal en pantallas pequeñas                         */
/* ══════════════════════════════════════════════════════════════════════════ */

/* ── Indicador visual de scroll horizontal ────────────────────────────── */
.rsv-scroll-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: var(--rsv-primary-soft);
    border: 1px solid #C9D88B;
    font-size: 12px;
    font-weight: 600;
    color: var(--rsv-primary-dark);
}

.rsv-scroll-hint i { font-size: 14px; }

/* ── Móviles (<768px): scroll horizontal + toolbar apilada ────────────── */
@media (max-width: 767px) {
    .rsv-scroll-hint {
        display: flex;
    }

    /* ── Scroll horizontal SIN bloquear taps ──────────────────────── */
    /* El wrapper scrollable va en un div padre, NO en .fc directo    */
    .rsv-calendar-scroll-wrap {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }

    .rsv-calendar-scroll-wrap .fc-view-container {
        min-width: 620px;
    }

    /* Asegurar que las celdas reciben taps */
    .rsv-calendar-scroll-wrap .fc-view-container,
    .rsv-calendar-scroll-wrap .fc-view-container * {
        touch-action: manipulation;
    }

    /* Las celdas seleccionables necesitan z-index sobre el bg */
    #calendar .fc-body .fc-widget-content {
        position: relative;
        z-index: 1;
    }

    /* Toolbar: apilar en dos líneas */
    #calendar .fc-toolbar {
        flex-wrap: wrap;
        gap: 8px;
    }

    #calendar .fc-toolbar .fc-left,
    #calendar .fc-toolbar .fc-right {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    #calendar .fc-toolbar .fc-center {
        order: -1;
        width: 100%;
        text-align: center;
    }

    #calendar .fc-toolbar .fc-center h2 {
        font-size: 16px;
    }

    #calendar .fc-button {
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .rsv-chip {
        padding: 3px 6px;
        gap: 4px;
        min-height: 22px;
    }

    .rsv-chip__code { font-size: 9px; }
    .rsv-chip__name { max-width: 50px; }
    .rsv-chip__time { font-size: 8px; }
    .rsv-chip__avatar { width: 16px; height: 16px; font-size: 8px; }
}

/* ── Tablets (768-991): ajuste fino ─────────────────────────────────── */
@media (min-width: 768px) and (max-width: 991px) {
    .rsv-chip__name {
        max-width: 60px;
    }
}

/* ── Pantallas muy pequeñas (<576px): ocultar nombre ─────────────────── */
@media (max-width: 575px) {
    .rsv-calendar-scroll-wrap .fc-view-container {
        min-width: 580px;
    }

    .rsv-chip .rsv-chip__name {
        display: none;
    }
}
/* ── Celda seleccionada persistente (solo vista mes) ──────────────────── */
#calendar .fc-day-grid .fc-day.rsv-day-active {
    background: rgba(168,184,51,.22) !important;
}

/* En vistas agenda: solo fondo sutil, sin borde */
#calendar .fc-time-grid .fc-day.rsv-day-active {
    background: rgba(168,184,51,.10) !important;
    box-shadow: none;
}

/* Highlight de rango en vista mes (multi-day): mismo borde que el día activo */
#calendar .fc-day-grid .fc-day.rsv-day-range {
    background: rgba(168,184,51,.18) !important;
    opacity: 1 !important;
}
/* ── Helper fantasma de selección (slot que se arrastra) ───────────── */
#calendar .fc-event.rsv-helper-slot {
    background: rgba(168,184,51,.22) !important;
    border: 2px dashed #7A9A10 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(122,154,16,.25) !important;
    padding: 0 !important;
    margin: 0 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#calendar .fc-event.rsv-helper-slot .fc-content,
#calendar .fc-event.rsv-helper-slot .fc-time,
#calendar .fc-event.rsv-helper-slot .fc-title {
    color: #3A4A05 !important;
    font-weight: 800 !important;
    background: transparent !important;
    text-align: center;
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════════════════
   reserva-mesa.css
   ──────────────────────────────────────────────────────────────────────────
   Estilos de la card que se muestra al hacer clic en .table-reserved
   (panel lateral del POS).
   ══════════════════════════════════════════════════════════════════════════ */


/* ── Card de reservación ─────────────────────────────────────────────────── */
.rsv-mesa-wrapper { padding: 0 12px; }

.rsv-mesa-header {
    position: relative;
    background: linear-gradient(135deg, #A2B209 0%, #879504 100%);
    color: #fff;
    border-radius: 16px 16px 0 0;
    padding: 18px 20px 16px;
    box-shadow: 0 4px 14px rgba(162,178,9,.25);
}

.rsv-mesa-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rsv-mesa-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rsv-mesa-header__badge i { font-size: 8px; }

.rsv-mesa-header__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255,255,255,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rsv-mesa-header__codigo {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.rsv-mesa-header__sub {
    font-size: 11px;
    font-weight: 600;
    opacity: .85;
    margin: 2px 0 0;
    letter-spacing: .03em;
}

/* ── Cuerpo de la card ───────────────────────────────────────────────────── */
.rsv-mesa-body {
    background: #fff;
    border: 1px solid #E7EDD1;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    padding: 16px 18px 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

/* ── Bloque cliente destacado ────────────────────────────────────────────── */
.rsv-mesa-cliente {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #F3F7DD 0%, #FAFBF6 100%);
    border: 1px solid #D6DEB8;
    border-radius: 12px;
    margin-bottom: 14px;
}

.rsv-mesa-cliente__avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #A2B209 0%, #879504 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(162,178,9,.3);
}

.rsv-mesa-cliente__body { flex: 1; min-width: 0; }

.rsv-mesa-cliente__name {
    font-size: 14px;
    font-weight: 800;
    color: #27310C;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.rsv-mesa-cliente__id {
    font-size: 11px;
    font-weight: 600;
    color: #727B5C;
    font-family: 'SFMono-Regular', Consolas, monospace;
    margin: 2px 0 0;
}

/* ── Grid de datos ───────────────────────────────────────────────────────── */
.rsv-mesa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.rsv-mesa-grid__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    background: #FAFBF6;
    border: 1px solid #E7EDD1;
    border-radius: 10px;
}

.rsv-mesa-grid__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #E7EDD1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #879504;
    font-size: 12px;
    flex-shrink: 0;
}

.rsv-mesa-grid__text {
    min-width: 0;
    flex: 1;
}

.rsv-mesa-grid__label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #727B5C;
    margin: 0;
}

.rsv-mesa-grid__value {
    font-size: 12px;
    font-weight: 700;
    color: #27310C;
    margin: 1px 0 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rsv-mesa-grid__item--full { grid-column: 1 / -1; }

/* ── Botones de acción ───────────────────────────────────────────────────── */
.rsv-mesa-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 6px;
}

.rsv-mesa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    position: relative;
    overflow: hidden;
}

.rsv-mesa-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.rsv-mesa-btn:active { transform: translateY(0); }

.rsv-mesa-btn__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(6px);
    color: #fff;
}

.rsv-mesa-btn__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.18);
}

/* ── Variantes de botón ──────────────────────────────────────────────────── */
.rsv-mesa-btn--cancel {
    background: linear-gradient(135deg, #E88070 0%, #C0453A 100%);
    box-shadow: 0 6px 16px rgba(192,69,58,.25);
}

.rsv-mesa-btn--cancel:hover {
    box-shadow: 0 8px 22px rgba(192,69,58,.35);
    filter: brightness(1.05);
}

.rsv-mesa-btn--ocupar {
    background: linear-gradient(135deg, #A2B209 0%, #6F7C04 100%);
    box-shadow: 0 6px 16px rgba(162,178,9,.3);
}

.rsv-mesa-btn--ocupar:hover {
    box-shadow: 0 8px 22px rgba(162,178,9,.4);
    filter: brightness(1.05);
}