/**
 * Sileo-inspired Toast Notifications Styles
 */

.sileo-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.sileo-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    min-width: 320px;
    max-width: 420px;
    pointer-events: auto;
    transform: translateX(calc(100% + 40px));
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.sileo-toast-hide {
    transform: translateX(calc(100% + 40px));
    opacity: 0;
}

.sileo-toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.sileo-toast-content {
    flex: 1;
    min-width: 0;
}

.sileo-toast-message {
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    font-weight: 500;
}

.sileo-toast-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    padding: 0;
}

.sileo-toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

/* Tipos de toast */
.sileo-toast-success {
    border-left: 3px solid #10b981;
}

.sileo-toast-success .sileo-toast-icon {
    color: #10b981;
}

.sileo-toast-error {
    border-left: 3px solid #ef4444;
}

.sileo-toast-error .sileo-toast-icon {
    color: #ef4444;
}

.sileo-toast-warning {
    border-left: 3px solid #f59e0b;
}

.sileo-toast-warning .sileo-toast-icon {
    color: #f59e0b;
}

.sileo-toast-info {
    border-left: 3px solid #3b82f6;
}

.sileo-toast-info .sileo-toast-icon {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 640px) {
    .sileo-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .sileo-toast {
        min-width: auto;
        max-width: none;
    }
}
