/* Toast Notifications - Sistema de notificaciones personalizado */
.tc-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    width: auto;
}

.tc-toast {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    animation: slideIn 0.3s ease-out;
    border-left: 4px solid;
}

.tc-toast.success {
    border-left-color: #4db896;
}

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

.tc-toast.info {
    border-left-color: #4a8fb8;
}

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

.tc-toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tc-toast.success .tc-toast-icon {
    color: #4db896;
}

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

.tc-toast.info .tc-toast-icon {
    color: #4a8fb8;
}

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

.tc-toast-content {
    flex: 1;
}

.tc-toast-message {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
    margin: 0;
}

.tc-toast-close {
    background: transparent;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    transition: color 0.2s;
}

.tc-toast-close:hover {
    color: #4a5568;
}

@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;
    }
}

.tc-toast.hiding {
    animation: slideOut 0.3s ease-in forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tc-toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .tc-toast {
        min-width: auto;
        width: 100%;
    }
}
