/* Notification Badges */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff3b30;
    /* Vivid Red */
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    font-weight: bold;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Position relative for parent links to hold the badge */
header nav ul li a {
    position: relative;
}

/* Toast Notifications */
.toast-notification {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast-notification.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

.toast-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.toast-message {
    margin-right: 15px;
    font-weight: 500;
}

.toast-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: #aaa;
}

.toast-close:hover {
    color: white;
}

/* Mobile responsive toast */
@media (max-width: 600px) {
    .toast-notification {
        width: 90%;
        left: 5%;
        transform: none;
    }
}