/* Container */
.bansos-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* Item */
.notification-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    position: relative;
    font-size: 13px;
    pointer-events: auto;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Avatar */
.notification-item img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

/* Content */
.notification-content {
    flex: 1;
    color: #1a1a1a;
}

/* Name */
.notification-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

/* Amount */
.notification-amount {
    color: #16a34a;
    font-size: 12px;
    font-weight: 500;
}

/* Close button */
.notification-close {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 14px;
    cursor: pointer;
    color: #999;
}

.notification-close:hover {
    color: #333;
}

/* Progress bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #16a34a;
    width: 100%;
    animation: progressBar linear forwards;
}

/* Animasi masuk (dari kanan) */
@keyframes slideIn {
    from {
        transform: translateX(60px) translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

/* Animasi keluar (ke kanan) */
@keyframes slideOut {
    to {
        transform: translateX(60px);
        opacity: 0;
    }
}

/* Progress animasi */
@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}