/* toast.css - Toast Notifications System */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10500;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.crm-toast {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    pointer-events: auto;
}

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

.crm-toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.crm-toast-icon {
    font-size: 20px;
}

.crm-toast-content {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Modalità scura per toast se attiva */
body.dark-mode .crm-toast {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

body.dark-mode .crm-toast-content {
    color: #eee;
}
