
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 90%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    z-index: 1060;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s forwards;
}

.notification.dark {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #495057;
}

.notification.light {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
}

.notification .progress-bar {
    height: 3px;
    transition: width 0.05s linear;
}

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

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