/* Toast Notification Styles */

.toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #3498db;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

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

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.toast-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

/* Toast types */
.toast-info {
    border-left-color: #3498db;
}

.toast-info .toast-icon {
    color: #3498db;
}

.toast-success {
    border-left-color: #27ae60;
}

.toast-success .toast-icon {
    color: #27ae60;
}

.toast-warning {
    border-left-color: #f39c12;
}

.toast-warning .toast-icon {
    color: #f39c12;
}

.toast-error {
    border-left-color: #e74c3c;
}

.toast-error .toast-icon {
    color: #e74c3c;
}

.toast-download {
    border-left-color: #9b59b6;
}

.toast-download .toast-icon {
    color: #9b59b6;
}

/* Progress bar inside toast */
.toast-progress {
    margin-top: 8px;
    height: 4px;
    background: #ecf0f1;
    border-radius: 2px;
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    background: currentColor;
    transition: width 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        transform: translateY(-100px);
    }
    
    .toast.show {
        transform: translateY(0);
    }
}
