@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.alert {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #4CAF50; /* Green background */
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000; /* Ensure it's on top of other content */
    animation: slideIn 0.5s ease-out; /* Animation for sliding in */
}

.alert.hidden {
    display: none;
}

.alert-text {
    margin-right: 10px;
}

.alert-link {
    color: #ffeb3b; /* Yellow color for link */
    text-decoration: underline;
    font-weight: bold;
}

.alert-link:hover {
    color:  #1972b6; /* White color on hover */
}

.alert-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}
