/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-size: 14px;
    font-weight: 600;
    max-width: 320px;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 10px;
    
    animation: slideIn 0.3s ease;
    transition: all 0.3s ease;
}

.toast-success {
    background: #e6ffed;
    color: #1a5e2a;
    border-left: 4px solid #4ade80;
}

.toast-error {
    background: var(--primary);
    color: #fff;
    border-left: 4px solid #c75840;
}

.toast-info {
    background: var(--surface);
    color: var(--text);
    border-left: 4px solid var(--accent-blue);
    border: 1px solid var(--border);
}

/* ============================================
   TOAST ANIMATIONS
   ============================================ */

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ============================================
   TOAST ICONS
   ============================================ */

.toast::before {
    content: '';
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.toast-success::before {
    content: '✓';
}

.toast-error::before {
    content: '✕';
}

.toast-info::before {
    content: 'ℹ';
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 600px) {
    .toast {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        animation: slideInMobile 0.3s ease;
    }
    
    @keyframes slideInMobile {
        from {
            transform: translateY(100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOutMobile {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(100px);
            opacity: 0;
        }
    }
}