.toast-notifications-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    transition: top 0.3s ease, right 0.3s ease;
    pointer-events: none;
}

.toast-notification {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(41, 69, 143, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 10px 15px 10px 40px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.5s ease-out forwards, fadeOut 0.5s ease-out 4.5s forwards;
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    pointer-events: auto;
}

.notification-icon {
    position: absolute;
    left: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: white;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-icon img {
    max-width: 100%;
    max-height: 100%;
}

.notification-content {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Mobile styles - centered notification */
@media (max-width: 767px) {
    .toast-notifications-container {
        right: 0;
        left: 0;
        margin: 0 auto;
        align-items: center;
    }

    .toast-notification {
        max-width: 90%;
        animation: slideInTop 0.5s ease-out forwards, fadeOut 0.5s ease-out 4.5s forwards;
    }

    @keyframes slideInTop {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .toast-notifications-container {
        top: 120px;
        max-width: 350px;
        transition: top 0.3s ease;
        right: 20px;
        left: auto;
        margin: 0;
        align-items: flex-end;
    }

    .toast-notification {
        padding: 12px 20px 12px 50px;
        animation: slideInRight 0.5s ease-out forwards, fadeOut 0.5s ease-out 4.5s forwards;
    }

    .notification-icon {
        width: 35px;
        height: 35px;
    }

    .notification-content {
        font-size: 1rem;
    }
}
