/**
 * Alerta de unidades disponibles en la ficha (WPilot Bookings › Integraciones › YITH Booking ›
 * Unidades disponibles), entre las fechas y los selectores de hora.
 *
 * Para adaptarla al tema basta con cambiar las variables. Los colores por defecto (ámbar
 * translúcido) sirven en temas claros y oscuros.
 */

.wpbf-units-left {
    --wpbf-units-bg: rgba(245, 158, 11, 0.14);   /* Fondo */
    --wpbf-units-accent: #f59e0b;                /* Borde izquierdo e icono */
    --wpbf-units-text: inherit;                  /* Texto */

    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 16px;
    padding: 10px 14px;
    border-left: 4px solid var(--wpbf-units-accent);
    border-radius: 6px;
    background-color: var(--wpbf-units-bg);
    color: var(--wpbf-units-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* Icono «!» en un círculo, sin imágenes. */
.wpbf-units-left::before {
    content: "!";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--wpbf-units-accent);
    color: #111;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.wpbf-units-left:empty {
    display: none;
}
