/* ============================================================
   VIG1 – Teremszín jelmagyarázat (room color legend)
   A helyszínválasztó és a FullCalendar header közé kerül.
   Stílus: a calendar-header toolbar mintájára.
   ============================================================ */

#vig1-room-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 14px;
    padding: 8px 12px;
    margin-bottom: 10px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Egy sor = dot + terem neve */
#vig1-room-legend .vig1-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    line-height: 1.4;
}

/* Színes kör */
#vig1-room-legend .vig1-legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

/* Terem neve */
#vig1-room-legend .vig1-legend-name {
    /* örökli a .vig1-legend-item stílusát */
}

/* ── Reszponzív (mobil) ─────────────────────────────────────── */
@media (max-width: 640px) {
    #vig1-room-legend {
        gap: 5px 10px;
        padding: 7px 10px;
    }

    #vig1-room-legend .vig1-legend-item {
        font-size: 11px;
        gap: 5px;
    }

    #vig1-room-legend .vig1-legend-dot {
        width: 9px;
        height: 9px;
    }
}
