.ddm-attesa-ricambi-panel {
    margin: 12px 0 0;
    padding: 14px;
    border: 1px solid #fdba74;
    border-radius: 10px;
    background: #fff7ed;
    grid-column: 1 / -1;
}

.ddm-attesa-ricambi-panel h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #c2410c;
}

.ddm-ar-hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: #9a3412;
    line-height: 1.4;
}

.ddm-ar-ordine {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    background: #fff;
}

.ddm-ar-ordine:last-child {
    margin-bottom: 10px;
}

.ddm-ar-ordine-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.ddm-ar-ordine-head strong {
    font-size: 13px;
    color: #9a3412;
}

.ddm-ar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
}

.ddm-ar-grid label,
.ddm-ar-ordinato > span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.ddm-ar-grid input[type="text"] {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.ddm-ar-si-no {
    display: flex;
    gap: 16px;
    margin-top: 6px;
}

.ddm-ar-si-no label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
}

.ddm-ar-si-no input {
    width: 16px;
    height: 16px;
    accent-color: #ea580c;
    cursor: pointer;
}

.ddm-ar-add,
.ddm-ar-remove {
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.ddm-ar-add {
    border: 1px dashed #ea580c;
    background: #fff;
    color: #c2410c;
    padding: 8px 12px;
    font-size: 13px;
}

.ddm-ar-add:hover {
    background: #ffedd5;
}

.ddm-ar-remove {
    border: 0;
    background: transparent;
    color: #b91c1c;
    font-size: 12px;
    padding: 0;
}

.ddm-ar-remove:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ddm-ar-grid {
        grid-template-columns: 1fr;
    }
}
