.machine-intervention {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    animation: machineSlideIn 0.4s ease-out;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes machineSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.machine-intervention-content p {
    margin: 0 0 16px 0;
    color: #1f2937;
    font-size: 15px;
    line-height: 1.5;
}

.machine-intervention-buttons {
    display: flex;
    gap: 8px;
}

.machine-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.machine-btn-accept {
    background: #10b981;
    color: white;
}

.machine-btn-accept:hover {
    background: #059669;
}

.machine-btn-dismiss {
    background: #f3f4f6;
    color: #6b7280;
}

.machine-btn-dismiss:hover {
    background: #e5e7eb;
}

@media (max-width: 480px) {
    .machine-intervention {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
}