/* ===== TOAST NOTIFICATIONS (SOCIAL PROOF) ===== */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInLeft 0.4s ease, fadeOut 0.4s ease 4.6s;
    border-left: 4px solid #10a37f;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.toast:hover {
    transform: translateX(-5px);
}

.toast-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10a37f 0%, #0d8c6d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    text-transform: uppercase;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.toast-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.toast-badge {
    background: #10a37f;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.toast-time {
    font-size: 11px;
    color: #999;
    margin-left: auto;
}

.toast-message {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.toast-icon {
    font-size: 16px;
    margin-right: 4px;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.toast:hover .toast-close {
    opacity: 1;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .toast-container {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }

    .toast {
        padding: 12px 14px;
    }

    .toast-avatar {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .toast-name {
        font-size: 13px;
    }

    .toast-message {
        font-size: 12px;
    }
}