/* ==========================================================
   Bello Oriente - Calendario moderno para el formulario de reserva
   Usa la misma paleta aqua/gold del panel administrativo.
   ========================================================== */
:root {
    --bc-aqua: #0e5e63;
    --bc-aqua-dark: #0a4a4e;
    --bc-aqua-light: #e6f0f0;
    --bc-gold: #c9a227;
    --bc-gray: #8a9a9a;
}

.bo-cal-wrap {
    position: relative;
}

.bo-cal-wrap .uk-form-icon[data-uk-icon="icon: calendar"] {
    cursor: pointer;
    z-index: 5;
}

.bo-cal-wrap input[readonly] {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.06);
}

.bo-cal-popover {
    display: none;
    position: fixed;
    width: 300px;
    max-width: 90vw;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(10, 30, 30, 0.22);
    z-index: 9999;
    padding: 14px;
    color: #333;
    font-family: inherit;
    -webkit-user-select: none;
    user-select: none;
    animation: bo-cal-fade .15s ease-out;
}

.bo-cal-popover.is-open {
    display: block;
}

@keyframes bo-cal-fade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bo-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bo-cal-title {
    font-weight: 700;
    color: var(--bc-aqua-dark);
    text-transform: capitalize;
    font-size: 14px;
}

.bo-cal-nav {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bc-aqua-light);
    color: var(--bc-aqua-dark);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: background .15s ease;
}

.bo-cal-nav:hover {
    background: var(--bc-aqua);
    color: #fff;
}

.bo-cal-weekdays,
.bo-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.bo-cal-weekdays div {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--bc-gray);
    text-transform: uppercase;
    padding-bottom: 4px;
}

.bo-cal-day {
    text-align: center;
    font-size: 13px;
    padding: 7px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
}

.bo-cal-day:hover:not(.is-disabled):not(.is-empty) {
    background: var(--bc-aqua-light);
}

.bo-cal-day.is-empty {
    cursor: default;
}

.bo-cal-day.is-disabled {
    color: #ccc;
    cursor: not-allowed;
}

.bo-cal-day.is-today {
    font-weight: 700;
    color: var(--bc-aqua);
}

.bo-cal-day.is-selected {
    background: var(--bc-aqua);
    color: #fff;
    font-weight: 700;
}

.bo-cal-day.is-selected.is-today {
    color: #fff;
}

.bo-cal-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    text-align: center;
}

.bo-cal-today-btn {
    border: 1px solid var(--bc-gold);
    background: #fff;
    color: var(--bc-aqua-dark);
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.bo-cal-today-btn:hover {
    background: var(--bc-gold);
    color: #fff;
}
