.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    z-index: 1021;
    opacity: 1;
}

.notification {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s ease, height 0.3s ease, margin-bottom 0.3s ease, padding 0.3s ease;
    opacity: 0;
    transform: translateX(100%);
    height: auto;
    color: #fff;
    margin-bottom: 10px;
}

.notification.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.notification.slide-out {
    transform: translateX(100%);
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 20px;
}

.notification-icon i {
    font-size: 24px;
}

.notification-message {
    flex: 1;
}

.notification-description {
    font-size: 14px;
    line-height: 1.4;
}

.notification-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    padding: 5px;
    opacity: 0.7;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.notification-close:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Specific notification types */
.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #F44336;
}

.notification.warning {
    background-color: #FF9800;
    color: #000;
}

.notification.warning .notification-close {
    color: #000;
}

.notification.info {
    background-color: #2196F3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notification-container {
        width: 100%;
        right: 0;
        align-items: center;
        padding: 0 10px;
    }

    .notification {
        width: 100%;
        max-width: 95%;
        margin-right: 0;
        margin-left: 0;
    }
}