/* Modern Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-item {
    min-width: 280px;
    max-width: 380px;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    pointer-events: auto;
    animation: toast-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    cursor: default;
    overflow: hidden;
    position: relative;
}

/* Icons */
.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-content {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
}

/* Types */
.toast-success {
    border-left: 5px solid #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(15, 15, 15, 0.95));
}
.toast-success .toast-icon { color: #10b981; }

.toast-error {
    border-left: 5px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(15, 15, 15, 0.95));
}
.toast-error .toast-icon { color: #ef4444; }

.toast-info {
    border-left: 5px solid #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(15, 15, 15, 0.95));
}
.toast-info .toast-icon { color: #3b82f6; }

/* Progress Bar Anim */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    transform-origin: left;
    animation: toast-progress-bar 3s linear forwards;
}

.toast-success .toast-progress { background: #10b981; }
.toast-error .toast-progress { background: #ef4444; }
.toast-info .toast-progress { background: #3b82f6; }

/* Close Button */
.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.toast-close:hover { color: #fff; }

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes toast-progress-bar {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.toast-item.exit {
    animation: toast-out 0.3s ease forwards;
}
