/* logEvents.css */
.log-events {
    width: 220px;
    height: 50px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    position: fixed; /* Changed to fixed for universal use */
    left: 50%;
    top: 4%;
    transform: translateX(-50%); /* Center horizontally */
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    text-align: center;
    padding: 10px;
    z-index: 1000; /* Ensure it appears above other content */
}

.show {
    display: flex;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.hide {
    animation: fadeOut 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px) translateX(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
    to {
        opacity: 0;
        transform: translateY(-20px) translateX(-50%);
    }
}