.iot-module-sentence-reordering { margin-bottom: 30px; font-size: 15px; color: #333; }

.iot-sr-zone-wrap {
    width: 100%;
    display: block; /* Bỏ flex để chiếm toàn bộ chiều ngang */
}

.iot-sr-zone {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    background: #f8fafc;
    border: 2px dashed #94a3b8;
    border-radius: 8px;
    min-height: 60px;
    align-items: center;
    transition: 0.3s;
    width: 100%; /* Cố định 100% chiều ngang */
    box-sizing: border-box;
}

.iot-sr-item {
    background: #fff;
    border: 2px solid #94a3b8;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: grab;
    font-weight: bold;
    color: #1e293b;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    user-select: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.iot-sr-item:active { cursor: grabbing; border-color: #2563EB; box-shadow: 0 4px 8px rgba(37,99,235,0.2); transform: scale(1.05); z-index: 10; }
.iot-sr-item.sortable-ghost { opacity: 0.3; background: #e2e8f0; }

.iot-sr-item.iot-sr-correct { border-color: #16a34a; background: #dcfce7; color: #155724; pointer-events: none; box-shadow: none; }
.iot-sr-item.iot-sr-wrong { border-color: #dc2626; background: #fee2e2; color: #7f1d1d; pointer-events: none; box-shadow: none; text-decoration: line-through;}

.iot-sr-correct-wrap {
    margin-top: 15px;
    background: #fffbeb;
    border: 1px dashed #f59e0b;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    color: #b45309;
    width: 100%; /* Cố định 100% chiều ngang */
    box-sizing: border-box;
}
.iot-sr-correct-sentence { font-weight: bold; color: #16a34a; font-size: 15px; display: block; margin-top: 5px; }