/* Shake Animation for Guest Restrictions */
@keyframes guestShake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.guest-shake-animation {
    animation: guestShake 0.4s ease-in-out !important;
    border-color: #ef4444 !important; /* Red border */
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.5) !important; /* Light red glow */
}

/* Specific styling for shaking elements if they don't have borders usually (like custom checkboxes) */
.filter-checkbox.guest-shake-animation input[type="checkbox"] + span::before {
    border-color: #ef4444 !important;
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.5) !important;
}

/* Tooltip for Guest Alert */
.guest-alert-tooltip {
    position: absolute;
    background-color: #ef4444;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    z-index: 999999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
}

.guest-alert-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.guest-alert-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: #ef4444 transparent transparent transparent;
}
